Package hudson.plugins.clover.results
Class PackageCoverage
- java.lang.Object
-
- hudson.plugins.clover.results.AbstractCloverMetrics
-
- hudson.plugins.clover.results.AbstractClassAggregatedMetrics
-
- hudson.plugins.clover.results.AbstractFileAggregatedMetrics
-
- hudson.plugins.clover.results.PackageCoverage
-
public class PackageCoverage extends AbstractFileAggregatedMetrics
Clover Coverage results for a specific package.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
PackageCoverage.FilePathMapper
-
Constructor Summary
Constructors Constructor Description PackageCoverage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addFileCoverage(FileCoverage result)
ClassCoverage
findClassCoverage(String name)
FileCoverage
findFileCoverage(String name)
List<FileCoverage>
getChildren()
Object
getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
List<FileCoverage>
getFileCoverages()
AbstractCloverMetrics
getPreviousResult()
void
setOwner(Run<?,?> owner)
-
Methods inherited from class hudson.plugins.clover.results.AbstractFileAggregatedMetrics
getFiles, setFiles
-
Methods inherited from class hudson.plugins.clover.results.AbstractClassAggregatedMetrics
getClasses, getLoc, getNcloc, setClasses, setLoc, setNcloc
-
Methods inherited from class hudson.plugins.clover.results.AbstractCloverMetrics
getConditionalCoverage, getConditionals, getCoveredconditionals, getCoveredelements, getCoveredmethods, getCoveredstatements, getElementCoverage, getElements, getMethodCoverage, getMethods, getName, getOwner, getPreviousCloverBuildAction, getStatementCoverage, getStatements, getTrendGraph, setConditionals, setCoveredconditionals, setCoveredelements, setCoveredmethods, setCoveredstatements, setElements, setMethods, setName, setStatements
-
-
-
-
Method Detail
-
getChildren
public List<FileCoverage> getChildren()
-
addFileCoverage
public boolean addFileCoverage(FileCoverage result)
-
getFileCoverages
public List<FileCoverage> getFileCoverages()
-
findFileCoverage
public FileCoverage findFileCoverage(String name)
- Specified by:
findFileCoverage
in classAbstractFileAggregatedMetrics
-
findClassCoverage
public ClassCoverage findClassCoverage(String name)
- Specified by:
findClassCoverage
in classAbstractClassAggregatedMetrics
-
getDynamic
public Object getDynamic(String token, org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
-
getPreviousResult
public AbstractCloverMetrics getPreviousResult()
- Specified by:
getPreviousResult
in classAbstractCloverMetrics
-
setOwner
public void setOwner(Run<?,?> owner)
- Overrides:
setOwner
in classAbstractCloverMetrics
-
-