analysis-model
analysis-model copied to clipboard
[JENKINS-72887] Add coverity parser
Add support for Coverity JSON reports.
- [x] Add Coverity parser adapter using violations-lib library.
- [x] Link to Jira issue: https://issues.jenkins.io/browse/JENKINS-72887
- [ ] Add a small test case that reads a report and verifies the content (Example can be taken from https://github.com/tomasbjerre/violations-lib/blob/6c14711cba4dccaa5191ed648cb6013af9affb8d/src/test/java/se/bjurr/violations/lib/CoverityTest.java)
- [ ] Register the parser in the Parser registry
- [ ] Add URL, HELP, ICON if available.
Thanks for starting this PR!
In order to finish this PR a couple of more things are required. I will add them to the PR task list.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 90.79%. Comparing base (
3c75b1b) to head (2b927cc). Report is 2 commits behind head on main.
Additional details and impacted files
@@ Coverage Diff @@
## main #1040 +/- ##
============================================
+ Coverage 89.78% 90.79% +1.00%
- Complexity 2246 2316 +70
============================================
Files 352 354 +2
Lines 6520 6526 +6
Branches 674 674
============================================
+ Hits 5854 5925 +71
+ Misses 470 405 -65
Partials 196 196
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.