This plugin allows you to capture code coverage report from [CodeCover](http://codecover.org/). Jenkins will generate the trend report of coverage. ### Jenkins Configuration 1.- Enable recording CodeCover coverage report, and configure it. ![](docs/images/codecover_jenkins.png) ## Usage with ANT 1.- Make sure you include the CodeCover ant jars in your classpath, and the CodeCover taskdef: ``` syntaxhighlighter-pre ``` 2.- Then, the code you want to cover needs to be instrumented ``` syntaxhighlighter-pre ``` 3.- If you need non-instrumented code (like your unit tests), move them to the instrumented folder so they are compiled together ``` syntaxhighlighter-pre ``` 4.- The instrumented code needs to be compiled ``` syntaxhighlighter-pre ``` 5.- Run the compiled, instrumented code ``` syntaxhighlighter-pre ``` 5a.- If you're using JUnit, the following method of running instrumented is used. ``` syntaxhighlighter-pre ``` 6.- Analyze the code. ``` syntaxhighlighter-pre ``` ## Change Log #### Version 1.0 - Initial Release