org.apache.tools.ant.taskdefs.optional.sitraka

Class CovReport

public class CovReport extends CovBase

Runs the JProbe Coverage 3.0 snapshot merge utility.

UNKNOWN: name="jpcovreport" category="metrics"

Nested Class Summary
classCovReport.Reference
static classCovReport.ReportFormat
static classCovReport.ReportType
Constructor Summary
CovReport()
Method Summary
protected voidcheckOptions()
check for mandatory options
PathcreateCoveragepath()
CovReport.ReferencecreateReference()
Adds a set of classes whose coverage information will be checked against.
PathcreateSourcepath()
Adds a path to source files.
voidexecute()
protected String[]getParameters()
voidsetFilters(String values)
set the filters
voidsetFormat(CovReport.ReportFormat value)
set the format of the report: "html", "text", or "xml"
voidsetIncludesource(boolean value)
If true, include text of the source code lines.
voidsetPercent(Integer value)
A numeric value for the threshold for printing methods.
voidsetSnapshot(File value)
The name of the snapshot file that is the source to the report.
voidsetTofile(File value)
The name of the generated output file.
voidsetType(CovReport.ReportType value)
The type of report to be generated: "executive", "summary", "detailed" or "verydetailed".

Constructor Detail

CovReport

public CovReport()

Method Detail

checkOptions

protected void checkOptions()
check for mandatory options

createCoveragepath

public Path createCoveragepath()

UNKNOWN: needs to be removed ignore="true"

createReference

public CovReport.Reference createReference()
Adds a set of classes whose coverage information will be checked against.

createSourcepath

public Path createSourcepath()
Adds a path to source files.

execute

public void execute()

getParameters

protected String[] getParameters()

setFilters

public void setFilters(String values)
set the filters

UNKNOWN: ignore="true"

setFormat

public void setFormat(CovReport.ReportFormat value)
set the format of the report: "html", "text", or "xml"

setIncludesource

public void setIncludesource(boolean value)
If true, include text of the source code lines. Only applies to format="xml" and type="verydetailed"

setPercent

public void setPercent(Integer value)
A numeric value for the threshold for printing methods. Must be between 0 and 100.

setSnapshot

public void setSnapshot(File value)
The name of the snapshot file that is the source to the report.

setTofile

public void setTofile(File value)
The name of the generated output file.

setType

public void setType(CovReport.ReportType value)
The type of report to be generated: "executive", "summary", "detailed" or "verydetailed".
Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.