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 #1681

Merged
merged 3 commits into from
Oct 21, 2024

Use formatted strings more widely

2102a80
Select commit
Loading
Failed to load commit list.
Merged

Use Java 17 language features #1681

Use formatted strings more widely
2102a80
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Oct 21, 2024

Line Coverage: 80.41% (+0.14%), Branch Coverage: 65.91% (-4.52%)

Summary for modified lines

  • 111 lines have been modified
  • 19 lines are not covered
  • 20 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) 97.87% (138/141) 93.87% (291/310) 82.99% (1351/1628) 79.81% (5381/6742) 69.71% (2490/3572) 79.85% (24389/30544)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.00% +0.00% +0.12% ⬆️ +0.09% ⬆️ +0.20% ⬆️ +0.06% ⬆️
🐾 Modified files 100.00% (1/1) 100.00% (6/6) 100.00% (20/20) 91.36% (74/81) 85.98% (460/535) 80.28% (2507/3123) 70.43% (1272/1806) 80.64% (12024/14910)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a -0.15% ⬇️ -0.06% ⬇️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (6/6) 90.00% (18/20) n/a n/a 80.41% (78/97) 65.91% (87/132) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a +0.14% ⬆️ -4.52% ⬇️ n/a
🐾 Indirect changes 100.00% (1/1) 50.00% (2/4) 57.14% (4/7) n/a n/a 61.90% (13/21) 88.89% (8/9) n/a

Annotations

Check warning on line 433 in src/main/java/hudson/plugins/git/GitStatus.java

See this annotation in the file changed.

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

Partially covered line

Line 433 is only partially covered, 2 branches are missing

Check warning on line 435 in src/main/java/hudson/plugins/git/GitStatus.java

See this annotation in the file changed.

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

Partially covered line

Line 435 is only partially covered, one branch is missing

Check warning on line 788 in src/main/java/hudson/plugins/git/GitSCM.java

See this annotation in the file changed.

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

Partially covered line

Line 788 is only partially covered, one branch is missing

Check warning on line 1179 in src/main/java/hudson/plugins/git/GitSCM.java

See this annotation in the file changed.

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

Partially covered line

Line 1179 is only partially covered, one branch is missing

Check warning on line 1419 in src/main/java/hudson/plugins/git/GitSCM.java

See this annotation in the file changed.

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

Partially covered line

Line 1419 is only partially covered, one branch is missing

Check warning on line 60 in src/main/java/hudson/plugins/git/GitRevisionBuildParameters.java

See this annotation in the file changed.

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

Not covered lines

Lines 58-60 are not covered by tests

Check warning on line 159 in src/main/java/hudson/plugins/git/UserRemoteConfig.java

See this annotation in the file changed.

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

Not covered lines

Lines 158-159 are not covered by tests

Check warning on line 122 in src/main/java/hudson/plugins/git/UserRemoteConfig.java

See this annotation in the file changed.

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

Partially covered line

Line 122 is only partially covered, one branch is missing

Check warning on line 202 in src/main/java/hudson/plugins/git/UserRemoteConfig.java

See this annotation in the file changed.

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

Partially covered line

Line 202 is only partially covered, one branch is missing

Check warning on line 29 in src/main/java/hudson/plugins/git/GitBranchSpecifierColumn.java

See this annotation in the file changed.

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

Not covered line

Line 29 is not covered by tests

Check warning on line 112 in src/main/java/jenkins/plugins/git/traits/GitSCMExtensionTraitDescriptor.java

See this annotation in the file changed.

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

Partially covered line

Line 112 is only partially covered, one branch is missing

Check warning on line 447 in src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java

See this annotation in the file changed.

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

Not covered line

Line 447 is not covered by tests

Check warning on line 462 in src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java

See this annotation in the file changed.

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

Not covered lines

Lines 461-462 are not covered by tests

Check warning on line 444 in src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java

See this annotation in the file changed.

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

Partially covered line

Line 444 is only partially covered, one branch is missing

Check warning on line 459 in src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java

See this annotation in the file changed.

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

Partially covered line

Line 459 is only partially covered, one branch is missing

Check warning on line 1256 in src/main/java/jenkins/plugins/git/AbstractGitSCMSource.java

See this annotation in the file changed.

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

Partially covered line

Line 1256 is only partially covered, one branch is missing

Check warning on line 215 in src/main/java/jenkins/plugins/git/GitSCMFileSystem.java

See this annotation in the file changed.

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

Partially covered line

Line 215 is only partially covered, one branch is missing

Check warning on line 261 in src/main/java/jenkins/plugins/git/GitSCMFileSystem.java

See this annotation in the file changed.

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

Partially covered line

Line 261 is only partially covered, one branch is missing

Check warning on line 262 in src/main/java/jenkins/plugins/git/GitSCMFileSystem.java

See this annotation in the file changed.

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

Partially covered line

Line 262 is only partially covered, one branch is missing

Check warning on line 268 in src/main/java/jenkins/plugins/git/GitSCMFileSystem.java

See this annotation in the file changed.

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

Partially covered line

Line 268 is only partially covered, one branch is missing

Check warning on line 371 in src/main/java/jenkins/plugins/git/GitSCMSource.java

See this annotation in the file changed.

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

Not covered line

Line 371 is not covered by tests

Check warning on line 585 in src/main/java/jenkins/plugins/git/GitSCMSource.java

See this annotation in the file changed.

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

Not covered lines

Lines 433-585 are not covered by tests

Check warning on line 648 in src/main/java/jenkins/plugins/git/GitSCMSource.java

See this annotation in the file changed.

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

Not covered line

Line 648 is not covered by tests

Check warning on line 333 in src/main/java/jenkins/plugins/git/GitSCMSource.java

See this annotation in the file changed.

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

Partially covered line

Line 333 is only partially covered, one branch is missing

Check warning on line 370 in src/main/java/jenkins/plugins/git/GitSCMSource.java

See this annotation in the file changed.

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

Partially covered line

Line 370 is only partially covered, one branch is missing