org.apache.tools.ant.taskdefs.optional.sitraka
Class CovReport
Runs the JProbe Coverage 3.0 snapshot merge utility.
execute , getDescription , getLocation , getOwningTarget , getRuntimeConfigurableWrapper , getTaskName , getTaskType , getWrapper , handleErrorFlush , handleErrorOutput , handleFlush , handleInput , handleOutput , init , isInvalid , log , log , maybeConfigure , perform , reconfigure , setDescription , setLocation , setOwningTarget , setRuntimeConfigurableWrapper , setTaskName , setTaskType |
CovReport
public CovReport()
Sole constructor.
checkOptions
protected void checkOptions()
throws BuildException
check for mandatory options
createCoveragepath
public Path createCoveragepath()
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()
throws BuildException
Called by the project to let the task do its work. This method may be
called more than once, if the task is invoked more than once.
For example,
if target1 and target2 both depend on target3, then running
"ant target1 target2" will run all tasks in target3 twice.
- execute in interface Task
getParameters
protected String[] getParameters()
setFilters
public void setFilters(String values)
set the filters
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 © 2000-2006 Apache Software Foundation. All Rights Reserved.