Plugin emma v0.1
extends abstract-coverage
Overview
This module provides coverage report using emma framework.
Emma library and instrumentation classes (classes used for coverage report) will be prepended at the begining of compile.test.classpath and lib.test.classpath.
Parameters
The following property values can be changed to tune the behavior of this plugin.
Required parameters must be defined upon import, or the build will fail.
| Parameter | Required? | Description | Default |
|---|---|---|---|
| emma.overrides.file | No | ${target.coverage.report}/emma-overrides.properties | |
| emma.metadata.path | No | location of emma metadata file | ${target.coverage.report}/coverage.em |
| emma.datafile.path | No | location of emma coverage data file | ${target.coverage.report}/coverage.ec |
Build Phases
This plugin adds targets to each of the following build phases:
- validate
-
- init
- process-classes
-
- instrument
- report
-
- report
Extra Targets
This plugin defines some extra Ant targets not attached to any build phase:
- emma: generate emma covera report
- doit