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

Compatibility matrix

Plugin

1.0.1

emma-maven-plugin

1.0-alpha-2

emma

2.0.5312

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.

To reuse reports already generated :
As it is possible for surefire and Cobertura, already generated reports from Emma is possible. reportPath should indicate the directory where the .ec and the .em are generated.

Known limitations

Branch coverage is not calculated as such notion does not exist in Emma.

Changelog

Loading

Release 1.0.1 (2 issues)


Loading

Release 1.0 (4 issues)


Loading

Release 0.3 (3 issues)


Loading

Release 0.2 (3 issues)


Loading

Release 0.1 (3 issues)

  • No labels