erlang:coverage
Note:This goal should be used as a Maven report.
Full name:
eu.lindenbaum:maven-erlang-plugin:2.0.0:coverage
Description:
Generates a test coverage report with: project summary, showing the
number of functions, clauses executable lines and their test
coverage percentage. A module list with individual coverage reports
and an extensive source code report, with lines annotated in red or
green, showing the exact coverage.
ISSUE If a test purges or unloads a module to do coverage for,
the coverage compilation information will be gone and the coverage
report will fail.
Attributes:
- Requires a Maven 2.0 project to be executed.
- Invokes the execution of the lifecycle phase test prior to executing itself.
Optional Parameters
Name |
Type |
Since |
Description |
cookie |
String |
- |
The cookie to use for the java and the backend node.
|
erlCommand |
String |
- |
The erlang command used to start an erlang backend node. The path
must exist and the destination must be executable. If the given
command does not fullfill these requirements erl is
used (assuming the command is part of the hosts PATH).
The path must not contain any arguments.
|
silent |
boolean |
2.0 |
Setting this to true will supress the console output
and only generate the coverage report output HTML file. Default value is: false. |
Parameter Details
cookie:
The cookie to use for the java and the backend node.
- Type: java.lang.String
- Required: No
- Expression: ${cookie}
erlCommand:
The erlang command used to start an erlang backend node. The path
must exist and the destination must be executable. If the given
command does not fullfill these requirements erl is
used (assuming the command is part of the hosts PATH).
The path must not contain any arguments.
- Type: java.lang.String
- Required: No
- Expression: ${erlCommand}
silent:
Setting this to true will supress the console output
and only generate the coverage report output HTML file.
- Type: boolean
- Since: 2.0
- Required: No
- Expression: ${silent}
- Default: false