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 22 Next »

Compatibility matrix

Plugin

0.1

0.2

0.3

Sonar

1.7/1.8

1.9

1.10

Description / Features

Emma is an Open Source and robust code coverage tool. By default, Sonar is delivered with Cobertura and Clover plugins but if you prefer Emma you just have to install this plugin and go back to your favorite practice : the test driven development.

Usage & Installation

  1. Copy the jar into /extensions/plugins/ directory
  2. Restart Sonar Web server

To activate Emma on all projects :

  1. Log in as administrator
  2. Go to Configuration -> Settings -> General
  3. Set the property "Code coverage plugin" to "emma"

To activate Emma on selected projects :

  1. Add the property 'sonar.core.codeCoveragePlugin=emma' when executing the maven plugin. This can be set in pom.xml or in command line.

Known limitations

The XML report generated by Emma doesn't contain detailed information about the coverage of each line of code. So, when using this plugin, the "Coverage" tab in the Sonar source code viewer doesn't display coverageinformation.

Changelog

Release 0.3

Loading
T Key Summary Assignee Reporter P Status Resolution Created Updated Due
Bug SONARPLUGINS-176 Add a check to only run on Java projects Simon Brandhof Olivier Gaudin Major Closed Fixed Aug 12, 2009 Aug 28, 2009
Improvement SONARPLUGINS-152 Emma : add property sonar.emma.reportPath to project settings page Simon Brandhof Simon Brandhof Major Closed Fixed Jul 22, 2009 Aug 28, 2009
Task SONARPLUGINS-151 Emma : Upgrade to Sonar 1.10 API Simon Brandhof Simon Brandhof Major Closed Fixed Jul 21, 2009 Aug 28, 2009

Release 0.2

Loading
T Key Summary Assignee Reporter P Status Resolution Created Updated Due
Bug SONARPLUGINS-83 Fix code coverage on multi-modules projects Simon Brandhof Simon Brandhof Major Closed Fixed May 14, 2009 Jun 07, 2009
Improvement SONARPLUGINS-61 Upgrade to Sonar 1.9 Simon Brandhof Simon Brandhof Major Closed Fixed Apr 17, 2009 May 25, 2009
Bug SONARPLUGINS-56 Property "sonar.emma.reportPath" is not correctly handle by the plugin Simon Brandhof Freddy Mallet Major Closed Fixed Apr 09, 2009 May 25, 2009

  • No labels