Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/cobertura.html|width=700|height=250|frameborder=0}
{color:#333333}Your browser does not support iframes.{color}{iframe}

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.31.4

Cobertura

1.9.4.11.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.

2.5.1

Installation

  1. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  2. Restart the SonarQube server

Usage

See Code Coverage by Unit Tests for Java Project tutorial.

Note

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.

Change Log

JIRA Issues
anonymoustrue
titleVersion 1.4
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=19333&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000