Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Get code coverage for Java project with Cobertura. The plugin is based on the cobertura-maven-plugin and so . Therefore, it can only be used to compute code coverage information on Maven projects.


See Code Coverage by Unit Tests for Java Project tutorial.


In case If the cobertura-maven-plugin is defined in the pom.xml of your project, SonarQube will use the version defined in the pom and can potentially not function properly.