Skip to content

Add Jenkins health metrics (#998)

ci.jenkins.io / Code Coverage succeeded Dec 16, 2024 in 0s

Line Coverage: 78.07% (-0.98%), Branch Coverage: 30.23% (-22.28%)

Summary for modified lines

  • 357 lines have been modified
  • 41 lines are not covered
  • 5 lines are 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% (26/26) 89.51% (128/143) 81.73% (170/208) 57.82% (909/1572) 64.66% (3704/5728) 47.64% (890/1868) 61.29% (15911/25961)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.07% ⬆️ +0.09% ⬆️ -0.08% ⬇️ +0.50% ⬆️ -0.40% ⬇️ +0.63% ⬆️
🐾 Modified files 100.00% (1/1) 100.00% (4/4) 100.00% (5/5) 77.78% (7/9) 63.51% (47/74) 79.05% (434/549) 52.51% (115/219) 77.56% (2821/3637)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a +3.41% ⬆️ -3.45% ⬇️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (4/4) 100.00% (5/5) n/a n/a 78.07% (146/187) 30.23% (13/43) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a -0.98% ⬇️ -22.28% ⬇️ n/a
🐾 Indirect changes 100.00% (1/1) 100.00% (1/1) 100.00% (1/1) n/a n/a 100.00% (1/1) n/a n/a

Annotations

Check warning on line 88 in src/main/java/io/jenkins/plugins/opentelemetry/init/JenkinsExecutorMonitoringInitializer.java

See this annotation in the file changed.

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

Not covered line

Line 88 is not covered by tests

Check warning on line 100 in src/main/java/io/jenkins/plugins/opentelemetry/init/JenkinsExecutorMonitoringInitializer.java

See this annotation in the file changed.

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

Not covered line

Line 100 is not covered by tests

Check warning on line 80 in src/main/java/io/jenkins/plugins/opentelemetry/init/JenkinsExecutorMonitoringInitializer.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, one branch is missing

Check warning on line 85 in src/main/java/io/jenkins/plugins/opentelemetry/init/JenkinsExecutorMonitoringInitializer.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

Check warning on line 97 in src/main/java/io/jenkins/plugins/opentelemetry/init/JenkinsExecutorMonitoringInitializer.java

See this annotation in the file changed.

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

Partially covered line

Line 97 is only partially covered, one branch is missing

Check warning on line 77 in src/main/java/io/jenkins/plugins/opentelemetry/init/PluginMonitoringInitializer.java

See this annotation in the file changed.

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

Not covered line

Line 77 is not covered by tests

Check warning on line 80 in src/main/java/io/jenkins/plugins/opentelemetry/init/PluginMonitoringInitializer.java

See this annotation in the file changed.

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

Not covered line

Line 80 is not covered by tests

Check warning on line 74 in src/main/java/io/jenkins/plugins/opentelemetry/init/PluginMonitoringInitializer.java

See this annotation in the file changed.

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

Partially covered line

Line 74 is only partially covered, one branch is missing

Check warning on line 79 in src/main/java/io/jenkins/plugins/opentelemetry/init/PluginMonitoringInitializer.java

See this annotation in the file changed.

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

Partially covered line

Line 79 is only partially covered, one branch is missing

Check warning on line 226 in src/main/java/io/jenkins/plugins/opentelemetry/servlet/StaplerInstrumentationServletFilter.java

See this annotation in the file changed.

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

Not covered lines

Lines 167-226 are not covered by tests

Check warning on line 238 in src/main/java/io/jenkins/plugins/opentelemetry/servlet/StaplerInstrumentationServletFilter.java

See this annotation in the file changed.

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

Not covered lines

Lines 237-238 are not covered by tests

Check warning on line 246 in src/main/java/io/jenkins/plugins/opentelemetry/servlet/StaplerInstrumentationServletFilter.java

See this annotation in the file changed.

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

Not covered line

Line 246 is not covered by tests

Check warning on line 259 in src/main/java/io/jenkins/plugins/opentelemetry/servlet/StaplerInstrumentationServletFilter.java

See this annotation in the file changed.

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

Not covered lines

Lines 253-259 are not covered by tests

Check warning on line 148 in src/main/java/io/jenkins/plugins/opentelemetry/servlet/StaplerInstrumentationServletFilter.java

See this annotation in the file changed.

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

Partially covered line

Line 148 is only partially covered, 9 branches are missing

Check warning on line 119 in src/main/java/io/jenkins/plugins/opentelemetry/queue/MonitoringQueueListener.java

See this annotation in the file changed.

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

Not covered lines

Lines 102-119 are not covered by tests

Check warning on line 126 in src/main/java/io/jenkins/plugins/opentelemetry/queue/MonitoringQueueListener.java

See this annotation in the file changed.

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

Not covered line

Line 126 is not covered by tests

Check warning on line 125 in src/main/java/io/jenkins/plugins/opentelemetry/queue/MonitoringQueueListener.java

See this annotation in the file changed.

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

Partially covered line

Line 125 is only partially covered, one branch is missing

Check warning on line 154 in src/main/java/io/jenkins/plugins/opentelemetry/queue/MonitoringQueueListener.java

See this annotation in the file changed.

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

Partially covered line

Line 154 is only partially covered, one branch is missing