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

Use Java 17 language features where possible #396

Merged
merged 3 commits into from
Jan 27, 2025

Merge branch 'master' into require-jenkins-2.479

3dc6b53
Select commit
Loading
Failed to load commit list.
Merged

Use Java 17 language features where possible #396

Merge branch 'master' into require-jenkins-2.479
3dc6b53
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Jan 27, 2025

Line Coverage: 56.00% (-16.15%), Branch Coverage: 50.00% (-12.17%)

Summary for modified lines

  • 35 lines have been modified
  • 11 lines are not covered
  • 10 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% (9/9) 93.48% (43/46) 94.94% (75/79) 80.23% (276/344) 74.91% (809/1080) 63.44% (236/372) 73.14% (2952/4036)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.00% +0.00% +0.00% +0.07% ⬆️ +0.00% -0.07% ⬇️
🐾 Modified files 100.00% (1/1) 100.00% (4/4) 100.00% (10/10) 100.00% (19/19) 77.44% (103/133) 72.15% (399/553) 62.17% (143/230) 69.02% (1562/2263)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a +0.11% ⬆️ +0.00% n/a
🐾 Modified code lines 100.00% (1/1) 75.00% (3/4) 60.00% (6/10) n/a n/a 56.00% (14/25) 50.00% (13/26) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a -16.15% ⬇️ -12.17% ⬇️ n/a

Annotations

Check warning on line 72 in src/main/java/jenkins/advancedqueue/jobinclusion/strategy/ViewBasedJobInclusionStrategy.java

See this annotation in the file changed.

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

Not covered lines

Lines 71-72 are not covered by tests

Check warning on line 52 in src/main/java/jenkins/advancedqueue/jobinclusion/strategy/FolderPropertyLoader.java

See this annotation in the file changed.

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

Partially covered line

Line 52 is only partially covered, one branch is missing

Check warning on line 128 in src/main/java/jenkins/advancedqueue/jobinclusion/strategy/PropertyBasedJobInclusionStrategy.java

See this annotation in the file changed.

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

Partially covered line

Line 128 is only partially covered, one branch is missing

Check warning on line 109 in src/main/java/jenkins/advancedqueue/sorter/AdvancedQueueSorter.java

See this annotation in the file changed.

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

Not covered lines

Lines 95-109 are not covered by tests

Check warning on line 165 in src/main/java/jenkins/advancedqueue/sorter/ItemInfo.java

See this annotation in the file changed.

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

Not covered line

Line 165 is not covered by tests

Check warning on line 54 in src/main/java/jenkins/advancedqueue/priority/strategy/JobPropertyStrategy.java

See this annotation in the file changed.

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

Partially covered line

Line 54 is only partially covered, one branch is missing

Check warning on line 171 in src/main/java/jenkins/advancedqueue/JobGroup.java

See this annotation in the file changed.

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

Not covered lines

Lines 170-171 are not covered by tests

Check warning on line 28 in src/main/java/jenkins/advancedqueue/PriorityConfigurationPlaceholderTaskHelper.java

See this annotation in the file changed.

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

Not covered line

Line 28 is not covered by tests

Check warning on line 275 in src/main/java/jenkins/advancedqueue/PriorityConfiguration.java

See this annotation in the file changed.

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

Not covered lines

Lines 274-275 are not covered by tests