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

[JENKINS-73172] Reuse credentials object reference through scans to avoid frequent duplicated lookups #787

Merged
merged 16 commits into from
Oct 16, 2024

[JENKINS-73172] Infer ID from credentials object if not null for cons…

5c29094
Select commit
Loading
Failed to load commit list.
Merged

[JENKINS-73172] Reuse credentials object reference through scans to avoid frequent duplicated lookups #787

[JENKINS-73172] Infer ID from credentials object if not null for cons…
5c29094
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Oct 16, 2024 in 0s

Line Coverage: 40.00% (-17.64%), Branch Coverage: 41.67% (-11.08%)

Summary for modified lines

  • 100 lines have been modified
  • 27 lines are not covered
  • 6 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% (1/1) 86.36% (57/66) 86.16% (137/159) 68.45% (590/862) 56.24% (2726/4847) 46.25% (1080/2335) 55.70% (11505/20657)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.00% +0.00% -0.28% ⬇️ -0.29% ⬇️ -0.37% ⬇️ -0.18% ⬇️
🐾 Modified files 100.00% (1/1) 100.00% (1/1) 83.33% (5/6) 85.71% (30/35) 70.26% (189/269) 57.64% (1453/2521) 52.75% (691/1310) 57.36% (6462/11266)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a -0.55% ⬇️ -0.72% ⬇️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (1/1) 83.33% (5/6) n/a n/a 40.00% (18/45) 41.67% (5/12) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a -17.64% ⬇️ -11.08% ⬇️ n/a
🐾 Indirect changes 0.00% (0/1) 0.00% (0/1) 0.00% (0/1) n/a n/a 0.00% (0/17) 0.00% (0/8) n/a

Annotations

Check warning on line 335 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

See this annotation in the file changed.

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

Not covered lines

Lines 333-335 are not covered by tests

Check warning on line 648 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

See this annotation in the file changed.

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

Not covered lines

Lines 628-648 are not covered by tests

Check warning on line 1807 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

See this annotation in the file changed.

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

Not covered lines

Lines 1311-1807 are not covered by tests

Check warning on line 2940 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

See this annotation in the file changed.

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

Not covered lines

Lines 2876-2940 are not covered by tests

Check warning on line 385 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

See this annotation in the file changed.

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

Partially covered line

Line 385 is only partially covered, one branch is missing

Check warning on line 1009 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSource.java

See this annotation in the file changed.

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

Partially covered line

Line 1009 is only partially covered, one branch is missing

Check warning on line 1991 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.java

See this annotation in the file changed.

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

Not covered lines

Lines 1651-1991 are not covered by tests

Check warning on line 261 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMNavigator.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, 3 branches are missing

Check warning on line 210 in src/main/java/org/jenkinsci/plugins/github_branch_source/SSHCheckoutTrait.java

See this annotation in the file changed.

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

Not covered lines

Lines 193-210 are not covered by tests

Check warning on line 129 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMSourceBuilder.java

See this annotation in the file changed.

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

Not covered lines

Lines 101-129 are not covered by tests

Check warning on line 230 in src/main/java/org/jenkinsci/plugins/github_branch_source/GitHubSCMBuilder.java

See this annotation in the file changed.

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

Not covered lines

Lines 225-230 are not covered by tests