Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with not showing code coverage metrics #692

Merged
merged 1 commit into from
Aug 23, 2024

Do not create Collectors for each Job.

27d3385
Select commit
Loading
Failed to load commit list.
Merged

Fix issues with not showing code coverage metrics #692

Do not create Collectors for each Job.
27d3385
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Aug 23, 2024 in 0s

Line Coverage: 81.82% (-14.02%), Branch Coverage: 50.00% (-25.00%)

Summary for modified lines

  • 21 lines have been modified
  • 2 lines are not covered
  • 1 line is covered only partially

Overview by baseline

Quality Gates Summary

No active quality gates.

Details

Project coverage details

Module Coverage Package Coverage File Coverage Class Coverage Method Coverage Line Coverage Branch Coverage Instruction Coverage
🐾 Overall project 100.00% (1/1) 100.00% (13/13) 97.94% (95/97) 97.14% (102/105) 90.40% (480/531) 84.62% (1387/1639) 73.65% (341/463) 85.06% (6008/7063)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.00% +0.00% +0.02% ⬆️ -0.10% ⬇️ -0.43% ⬇️ -0.05% ⬇️
🐾 Modified files 100.00% (1/1) 100.00% (1/1) 100.00% (1/1) 100.00% (1/1) 100.00% (9/9) 95.83% (46/48) 75.00% (9/12) 99.41% (336/338)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a -4.17% ⬇️ -16.67% ⬇️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (1/1) 100.00% (1/1) n/a n/a 81.82% (9/11) 50.00% (3/6) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a -14.02% ⬇️ -25.00% ⬇️ n/a

Annotations

Check warning on line 81 in src/main/java/org/jenkinsci/plugins/prometheus/CodeCoverageCollector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 81 is not covered by tests

Check warning on line 86 in src/main/java/org/jenkinsci/plugins/prometheus/CodeCoverageCollector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 86 is not covered by tests

Check warning on line 80 in src/main/java/org/jenkinsci/plugins/prometheus/CodeCoverageCollector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 80 is only partially covered, 2 branches are missing

Check warning on line 85 in src/main/java/org/jenkinsci/plugins/prometheus/CodeCoverageCollector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 85 is only partially covered, one branch is missing