Property: | report.units | Default: | instr | Tools affected: | <emmajava>/emmarun, <report>/report | Description: | During coverage report generation, this property
selects either weighted (instr ) or
unweighted (count ) coverage
metrics. See Report units. for
more details. |
|
Property: | report.depth | Default: | report.depth is set to
method and overridden for the plain-text
report type:
| Tools affected: | <emmajava>/emmarun, <report>/report | Description: | During coverage report generation, this
property selects the report depth level covered by the
report. Valid values (in order of increasing level of
detail) are all ,
package , source ,
class , and method . See
Report depth. for more details.
|
|
Property: | report.columns | Default: | report.columns is set
to name,class,method,block,line and
overridden for the plain-text report type:
report.txt.columns : class,method,block,line,name
| Tools affected: | <emmajava>/emmarun, <report>/report | Description: | During coverage report generation, this
property specifies which coverage metrics and in which
left-to-right order to render in the report output (the
XML report is an exception because it is not columnar:
instead, the column order is used for top-to-bottom XML
element rendering). Valid
column ids are the item name and various types of coverage: name ,
class (class coverage),
method (method coverage),
block (block coverage), and
line (line coverage). Coverage types that are not available
for a given item type and debug info level are
automatically ignored. It is perfectly legal so use only a
subset of all possible metrics (e.g., reporting both
block and line coverages is somewhat of an overkill). |
|
Property: | report.sort | Default: | +block,+name,+method,+class | Tools affected: | <emmajava>/emmarun, <report>/report | Description: | During coverage report generation, this
property specifies how to sort data by coverage
metrics: which metrics to sort by, sort directions, and
sort order. It should be set to a comma-separated list
of metric ids (name , class , method ,
block , and line ), with
each metric id prefixed with “+” for ascending or “-” for
descending sort direction. Multiple sorts are applied in the
left-to-right order of the metric ids as specified by
this property. It is perfectly legal to sort only a subset of
all possible metrics/columns. |
|
Property: | report.metrics | Default: | method:70,block:80,line:80,class:100 | Tools affected: | <emmajava>/emmarun, <report>/report | Description: | During coverage report generation, this
property specifies how to highlight data that fails
minimum coverage requirements (only applies to
plain-text and HTML reports). It should be set to a
comma-separated list of metric id-value pairs, with the
value being the minimum required coverage percentage
(separated by a colon). Metrics ids are name , class , method ,
block , and line . It is not necessary to specify
the required percentage for every metric used in a given
report. |
|
Property: | report.out.file | Default: | report.out.file is not
set and is instead overridden for all report types:
report.txt.out.file : coverage.txt report.html.out.file : coverage/index.html report.xml.out.file : coverage.xml
| Tools affected: | <emmajava>/emmarun, <report>/report | Description: | During coverage report generation, this
property can be used to override the default locations
for the output files. When a relative pathname is
specified, it is resolved relative to the current
JRE directory (user.dir system
property). Note that the HTML report generator creates
secondary HTML files beyond the report home page
file. These files will be put in a subdirectory that is
a sibling of the home page file and it thus makes
sense to have at least one subdirectory level specified for
report.html.out.file (as is the case
with the default value). EMMA will create any
intermediate output directories as needed. Output files are
always overwritten. |
|
Property: | report.out.encoding | Default: | report.out.encoding
defaults to the JRE file.encoding
system property and is overridden for the HTML and XML report types:
report.html.out.encoding : ISO-8859-1 report.xml.out.encoding : UTF-8
| Tools affected: | <emmajava>/emmarun, <report>/report | Description: | During coverage report generation, this
property can be set to customize the character encoding
used for the output files. Default values provided by EMMA should
be adequate in most situations. |
|