cobertura-report — generate coverage reports
Contents
Description
cobertura-report generates coverage reports from the source code directories and calculates the
cyclomatic code complexity of each class. The HTML reports are also made of annotated versions of each
source file, showing which lines of code were exercised.
Name
cobertura-report — generate coverage reports
Options
--datafilefile
Specify the name of the file containing metadata about your classes. Default value:
"./cobertura.ser".
--basedirdir
Specify a directory containing source code. All files listed after this are assumed to be
underneath this directory. This should only be used if you want to include only a few specific
files underneath a source tree and exclude all other files.
--destinationdir
Specify the output directory for the report.
--formatxml|html
The type of report you want to generate. Default value: html.
--encodingencoding
Specify the encoding used to read the source. See javadocs for java.nio.charset.Charset for
more details.
See Also
junit(1), cobertura-instrument(1), cobertura-check(1), cobertura-merge(1).
Synopsis
cobertura-report [--datafilefile] --destination dir [--formathtml|xml] [--encodingencoding]
directory [--basedirdir]
