Versions Compared

Key

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

Description / Features

Get code coverage for Java project with Atlassian Clover.

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

License Key and Maven Clover Plugin

From the settings page, the version of the Maven Clover plugin to be used and the license key can be set.

By uploading the license key (clover 1 or clover 2) into SonarQube, you will benefit from a centralized configuration.

If the Clover plugin is defined in the pom.xml of your project, SonarQube will use the version defined in the pom with its attached configuration.

Unit Tests and Code Coverage Reports

See the Code Coverage by Unit Tests for Java Project tutorial.

Advanced Parameters

Key

Description

Default value

sonar.java.target

Target java version of the source code.

1.5

Known Limitations

Change Log

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

 

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

 

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