Name |
Sonar Emma Plugin |
Authors |
Freddy Mallet, Olivier Gaudin, SonarSource |
Homepage |
|
Jira |
http://jira.codehaus.org/browse/SONARPLUGINS/component/13740
|
Most Recent Version |
0.9 |
Availability |
Sonar 1.6 |
State |
Under development |
License |
LGPL v3 |
Download sources |
http://svn.codehaus.org/sonar-plugins/trunk/sonar-plugin-emma/ |
Download jar |
sonar-plugin-emma-0.9.jar |
Compatibility with Sonar
Plugin versions |
1.4 |
1.5 |
1.6 |
|---|---|---|---|
0.9 |
|
|
|
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
- Stop Sonar Web server
- Place the jar into the /extensions/plugins directory
- Restart Sonar Web server
- Log in Sonar as the administrator
- Go to Configuration -> Settings -> General
- Change the value of the "Code coverage plugin" input text to "emma, clover, cobertura"
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 coverage information.

