Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{color:#333333}Your browser does not support iframes.{color}{iframe}

Description / Feature

It provides the ability to feed SonarQube with code coverage data coming from Cobertura.

Cobertura Plugin


Reports generated with Cobertura


  1. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  2. The default location of the XML Cobertura report is : target/site/cobertura/coverage.xml . You can change it in Configure in the Settings > General Settings > Java > Cobertura page
  3. Restart the SonarQube server


To launch Cobertura from Maven use this command: mvn cobertura:cobertura

For more on Cobertura, see its site.

See Code Coverage by Unit Tests for Java Project tutorial.

Documentation has been moved to [].