Cobertura Plugin


The Cobertura tool is a free and easy to use source code test coverage analyser. It helps you to discover where your source-code lacks in test coverage.

Check a sample of the coverage report and the checking report.

For more information regarding Cobertura check out the project homepage.

Important Notes

Cobertura requires compiling with debug on, which is the Maven default. If running maven-cobertura-plugin yields no results, start by checking the setting of maven.compile.debug.


To use the plugin:

  1. Install it per the Installing instructions.
  2. To have the cobertura reports generated as part of the site gen, add it to the reports section: