Skip to content

avoid some NPE on generateSnippet #192

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

Merged
merged 1 commit into from
Feb 7, 2025

- added nullpointer checks

382f093
Select commit
Loading
Failed to load commit list.
Merged

avoid some NPE on generateSnippet #192

- added nullpointer checks
382f093
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Dec 2, 2024

Line Coverage: 0.00% (-2.46%), Branch Coverage: 0.00% (+0.00%)

Summary for modified lines

  • 13 lines have been modified
  • 6 lines are not covered
  • 3 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) 50.00% (2/4) 46.15% (12/26) 23.73% (14/59) 8.77% (25/285) 4.20% (56/1332) 1.20% (5/418) 3.29% (176/5351)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.00% +0.00% +0.00% -0.02% ⬇️ -0.02% ⬇️ -0.01% ⬇️
🐾 Modified files 100.00% (1/1) 100.00% (1/1) 33.33% (1/3) 16.67% (1/6) 3.00% (3/100) 2.46% (15/610) 0.00% (0/204) 2.09% (49/2342)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a -0.02% ⬇️ +0.00% n/a
🐾 Modified code lines 0.00% (0/1) 0.00% (0/1) 0.00% (0/3) n/a n/a 0.00% (0/6) 0.00% (0/6) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a -2.46% ⬇️ +0.00% n/a

Annotations

Check warning on line 398 in src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JobConfigMapping.java

See this annotation in the file changed.

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

Not covered lines

Lines 397-398 are not covered by tests

Check warning on line 158 in src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/TestToIssueMapping.java

See this annotation in the file changed.

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

Not covered lines

Lines 157-158 are not covered by tests

Check warning on line 799 in src/main/java/org/jenkinsci/plugins/JiraTestResultReporter/JiraTestDataPublisher.java

See this annotation in the file changed.

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

Not covered lines

Lines 798-799 are not covered by tests