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
- Install the Emma plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
- 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 |
|
|
SONARPLUGINS-2401 | Support the property sonar.java.coveragePlugin |
|
|
|
SONARPLUGINS-2368 | Upgrade to Sonar 3.0 API |
|
| Release 1.2.1 (1 issues) | |||
|---|---|---|---|
| Type | Key | Summary | Priority |
|
|
SONARPLUGINS-1318 | The name of the Emma .ec report file is hardcoded and must be "coverage-0.ec" |
|
| Release 1.1 (2 issues) | |||
|---|---|---|---|
| Type | Key | Summary | Priority |
|
|
SONARPLUGINS-1090 | Sonar Emma Plugin reporting 0.0% coverage |
|
|
|
SONARPLUGINS-736 | Update to EMMA 2.1 |
|
| Release 1.0.1 (2 issues) | |||
|---|---|---|---|
| Type | Key | Summary | Priority |
|
|
SONARPLUGINS-810 | Change plugin key to comply with standards |
|
|
|
SONARPLUGINS-673 | Migrate to sonar-dev-maven-plugin from sonar-dev-mojo for integration tests |
|
| Release 0.1 (3 issues) | |||
|---|---|---|---|
| Type | Key | Summary | Priority |
|
|
SONARPLUGINS-42 | Add source exclusion management |
|
|
|
SONARPLUGINS-38 | Use existing XML reports if present |
|
|
|
SONARPLUGINS-30 | Support for Emma Code Coverage |
|

