RefactorFirst icon indicating copy to clipboard operation
RefactorFirst copied to clipboard

Incorporate JaCoCo / PIT coverage report output

Open jimbethancourt opened this issue 4 years ago • 0 comments
trafficstars

Incorporate JaCoCo coverage into the table as a column and the color of the balls in the graph if a JaCoCo coverage report is present when analysis is performed.

https://www.jacoco.org/jacoco/trunk/doc/examples/java/ReportGenerator.java may provide a decent starting point. JaCoCo Javadoc is available at https://www.jacoco.org/jacoco/trunk/doc/api/index.html

Looks like there are multiple libraries that have been written for this purpose, but I'm not sure how many are available on Maven Central

Repo License Active? Notes
https://github.com/jenkinsci/code-coverage-api-plugin MIT Yes Not in Maven Central - will need to extract needed code
https://github.com/kyklospi/parse-jacoco-report None No Can't use b/c no license
https://github.com/tavvasubbareddy/JacocoUtils None No Can't use b/c no license
https://github.com/Otanikotani/jacoco-parser MIT No

jimbethancourt avatar May 26 '21 01:05 jimbethancourt