hudson.plugins.jacoco.report
Class CoverageReport
java.lang.Object
hudson.plugins.jacoco.model.CoverageObject<SELF>
hudson.plugins.jacoco.report.AbstractReport<PARENT,SELF>
hudson.plugins.jacoco.report.AggregatedReport<CoverageReport,CoverageReport,PackageReport>
hudson.plugins.jacoco.report.CoverageReport
- All Implemented Interfaces:
- hudson.model.ModelObject
public final class CoverageReport
- extends AggregatedReport<CoverageReport,CoverageReport,PackageReport>
Root object of the coverage report.
- Author:
- Kohsuke Kawaguchi, Ognjen Bubalo
| Fields inherited from class hudson.plugins.jacoco.model.CoverageObject |
branch, clazz, complexity, instruction, line, maxBranch, maxClazz, maxComplexity, maxCoveredBranch, maxCoveredClazz, maxCoveredComplexity, maxCoveredInstruction, maxCoveredLine, maxCoveredMethod, maxInstruction, maxLine, maxMethod, maxMissedBranch, maxMissedClazz, maxMissedComplexity, maxMissedInstruction, maxMissedLine, maxMissedMethod, method |
| Methods inherited from class hudson.plugins.jacoco.model.CoverageObject |
doGraph, getApi, getBranchCoverage, getClassCoverage, getComplexityScore, getInstructionCoverage, getLineCoverage, getMaxCoveredBranch, getMaxCoveredClazz, getMaxCoveredComplexity, getMaxCoveredInstruction, getMaxCoveredLine, getMaxCoveredMethod, getMaxMissedBranch, getMaxMissedClazz, getMaxMissedComplexity, getMaxMissedInstruction, getMaxMissedLine, getMaxMissedMethod, getMethodCoverage, hasClassCoverage, hasLineCoverage, isFailed, printFourCoverageColumns, printRatioCell, setAllCovTypes, setCoverage, setMaxCoveredBranch, setMaxCoveredClazz, setMaxCoveredComplexity, setMaxCoveredInstruction, setMaxCoveredLine, setMaxCoveredMethod, setMaxMissedBranch, setMaxMissedClazz, setMaxMissedComplexity, setMaxMissedInstruction, setMaxMissedLine, setMaxMissedMethod, toString |
CoverageReport
public CoverageReport(JacocoBuildAction action,
ExecutionFileLoader executionFileLoader)
throws IOException
- Loads the exec files using JaCoCo API. Creates the reporting objects and the report tree.
- Parameters:
action - reports -
- Throws:
IOException
printRatioTable
protected void printRatioTable(Coverage ratio,
StringBuilder buf)
- Overrides:
printRatioTable in class CoverageObject<CoverageReport>
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 class AbstractReport<CoverageReport,CoverageReport>
- Returns:
- null if no earlier record was found.
getBuild
public hudson.model.AbstractBuild<?,?> getBuild()
- Description copied from class:
CoverageObject
- Gets the build object that owns the whole coverage report tree.
- Overrides:
getBuild in class AbstractReport<CoverageReport,CoverageReport>
Copyright © 2004-2013 Hudson. All Rights Reserved.