Class CoverageReport
- java.lang.Object
-
- com.vectorcast.plugins.vectorcastcoverage.CoverageObject<SELF>
-
- com.vectorcast.plugins.vectorcastcoverage.AbstractReport<PARENT,SELF>
-
- com.vectorcast.plugins.vectorcastcoverage.AggregatedReport<CoverageReport,CoverageReport,EnvironmentReport>
-
- com.vectorcast.plugins.vectorcastcoverage.CoverageReport
-
- All Implemented Interfaces:
ModelObject
public final class CoverageReport extends AggregatedReport<CoverageReport,CoverageReport,EnvironmentReport>
Root object of the coverage report.- Author:
- Kohsuke Kawaguchi
-
-
Constructor Summary
Constructors Constructor Description CoverageReport(VectorCASTBuildAction action, File xmlReport)
CoverageReport(VectorCASTBuildAction action, InputStream... xmlReports)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Run<?,?>
getBuild()
Gets the build object that owns the whole coverage report tree.CoverageReport
getPreviousResult()
Gets the corresponding coverage report object in the previous run that has the record.-
Methods inherited from class com.vectorcast.plugins.vectorcastcoverage.AggregatedReport
add, getChildren, getDynamic, hasChildren, hasChildrenBasisPathCoverage, hasChildrenBranchCoverage, hasChildrenFunctionCallCoverage, hasChildrenFunctionCoverage, hasChildrenMCDCCoverage, hasChildrenStatementCoverage, setFailed, setParent
-
Methods inherited from class com.vectorcast.plugins.vectorcastcoverage.AbstractReport
addCombinedCoverage, addCoverage, getDisplayName, getName, getParent, setName
-
Methods inherited from class com.vectorcast.plugins.vectorcastcoverage.CoverageObject
doGraph, getApi, getBasisPathCoverage, getBranchCoverage, getComplexity, getFunctionCallCoverage, getFunctionCoverage, getMaxHistory, getMaxHistoryFreestyleJob, getMaxHistoryPipelineJob, getMCDCCoverage, getStatementCoverage, hasBasisPathCoverage, hasBranchCoverage, hasComplexity, hasCoverage, hasFunctionCallCoverage, hasFunctionCoverage, hasMCDCCoverage, hasStatementCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable
-
-
-
-
Constructor Detail
-
CoverageReport
public CoverageReport(VectorCASTBuildAction action, InputStream... xmlReports) throws IOException
- Throws:
IOException
-
CoverageReport
public CoverageReport(VectorCASTBuildAction action, File xmlReport) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getPreviousResult
public CoverageReport getPreviousResult()
Description copied from class:CoverageObject
Gets the corresponding coverage report object in the previous run that has the record.- Overrides:
getPreviousResult
in classAbstractReport<CoverageReport,CoverageReport>
- Returns:
- null if no earlier record was found.
-
getBuild
public Run<?,?> getBuild()
Description copied from class:CoverageObject
Gets the build object that owns the whole coverage report tree.- Overrides:
getBuild
in classAbstractReport<CoverageReport,CoverageReport>
- Returns:
- the run instance
-
-