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

Compatibility Matrix

Plugin

1.0.1

1.1+

emma-maven-plugin

1.0-alpha-2

1.0-alpha-3

emma

2.0.5312

2.1.5320

Description / Features

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

Installation

  1. Install the Emma plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server

Usage

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

Supported report formats

Note that only reports of offline instrumentation are currently supported (*.ec and *.em files). XML or HTML formats are not.

Known Limitations

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

Change Log

Release 1.3 (2 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-2401 Support the property sonar.java.coveragePlugin Major
Improvement SONARPLUGINS-2368 Upgrade to Sonar 3.0 API Minor

 

Release 1.2.1 (1 issues)
Type Key Summary Priority
Bug SONARPLUGINS-1318 The name of the Emma .ec report file is hardcoded and must be "coverage-0.ec" Major

 

Release 1.2 (2 issues)
Type Key Summary Priority
Bug SONARPLUGINS-1208 Emma description for report file references and xml file in Sonar UI Trivial
Improvement SONARPLUGINS-1149 The Sonar Emma plugin can't be used with the Sonar Ant or Java runners Major

 

Release 1.1 (2 issues)
Type Key Summary Priority
Bug SONARPLUGINS-1090 Sonar Emma Plugin reporting 0.0% coverage Major
Improvement SONARPLUGINS-736 Update to EMMA 2.1 Major

 

Release 1.0.1 (2 issues)
Type Key Summary Priority
Task SONARPLUGINS-810 Change plugin key to comply with standards Major
Task SONARPLUGINS-673 Migrate to sonar-dev-maven-plugin from sonar-dev-mojo for integration tests Major

 

Release 1.0 (4 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-592 Make the plugin compatible with Sonar 2.2 Major
Improvement SONARPLUGINS-294 Make the plugin propagate metrics to all levels Major
Bug SONARPLUGINS-270 Switch of excluded/included sources for emma plugin Major
New Feature SONARPLUGINS-52 Display hits by line in sources Major

 

Release 0.3 (3 issues)
Type Key Summary Priority
Bug SONARPLUGINS-176 Add a check to only run on Java projects Major
Improvement SONARPLUGINS-152 Emma : add property sonar.emma.reportPath to project settings page Major
Task SONARPLUGINS-151 Emma : Upgrade to Sonar 1.10 API Major

 

Release 0.2 (3 issues)
Type Key Summary Priority
Bug SONARPLUGINS-83 Fix code coverage on multi-modules projects Major
Improvement SONARPLUGINS-61 Upgrade to Sonar 1.9 Major
Bug SONARPLUGINS-56 Property "sonar.emma.reportPath" is not correctly handle by the plugin Major

 

Release 0.1 (3 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-42 Add source exclusion management Major
Improvement SONARPLUGINS-38 Use existing XML reports if present Major
New Feature SONARPLUGINS-30 Support for Emma Code Coverage Trivial

Labels
  • None