Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Description / Feature

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

SonarQube Java Plugin

1.1
1.21.3

Cobertura

1.9.4.11.9.4.11.9.4.1
cobertura-maven-plugin2.5.12.5.12.5.1

Since version 1.4, the Cobertura is no longer part of the Java Ecosystem. It is now an independent plugin.

Usage

See Code Coverage by Unit Tests for Java Project tutorial.

Icon

In case 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.

  • No labels