Package hudson.plugins.jacoco.report
Class MethodReport
- java.lang.Object
-
- hudson.plugins.jacoco.model.CoverageObject<SELF>
-
- hudson.plugins.jacoco.report.AbstractReport<PARENT,SELF>
-
- hudson.plugins.jacoco.report.AggregatedReport<ClassReport,MethodReport,SourceFileReport>
-
- hudson.plugins.jacoco.report.MethodReport
-
- All Implemented Interfaces:
ModelObject
public final class MethodReport extends AggregatedReport<ClassReport,MethodReport,SourceFileReport>
- Author:
- Kohsuke Kawaguchi, David Carver, Ognjen Bubalo
-
-
Field Summary
-
Fields inherited from class hudson.plugins.jacoco.model.CoverageObject
branch, clazz, complexity, instruction, line, maxBranch, maxClazz, maxComplexity, maxInstruction, maxLine, maxMethod, method
-
-
Constructor Summary
Constructors Constructor Description MethodReport()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(SourceFileReport child)
boolean
hasClassCoverage()
String
printFourCoverageColumns()
Used in the view to print out four table columns with the coverage info.void
printHighlightedSrcFile(Writer output)
void
setSrcFileInfo(org.jacoco.core.analysis.IMethodCoverage methodCov)
-
Methods inherited from class hudson.plugins.jacoco.report.AggregatedReport
getChildren, getDynamic, hasChildren, hasChildrenClassCoverage, hasChildrenLineCoverage, setFailed, setParent
-
Methods inherited from class hudson.plugins.jacoco.report.AbstractReport
addCoverage, getBuild, getDisplayName, getName, getParent, getPreviousResult, sanitizeName, setName
-
Methods inherited from class hudson.plugins.jacoco.model.CoverageObject
doGraph, getApi, getBranchCoverage, getClassCoverage, getComplexityScore, getInstructionCoverage, getLineCoverage, getMaxBranch, getMaxClazz, getMaxComplexity, getMaxInstruction, getMaxLine, getMaxMethod, getMethodCoverage, hasLineCoverage, isFailed, printRatioCell, printRatioTable, setAllCovTypes, setCoverage, setMaxBranch, setMaxClazz, setMaxComplexity, setMaxInstruction, setMaxLine, setMaxMethod, toString
-
-
-
-
Method Detail
-
printFourCoverageColumns
public String printFourCoverageColumns()
Description copied from class:CoverageObject
Used in the view to print out four table columns with the coverage info.- Overrides:
printFourCoverageColumns
in classCoverageObject<MethodReport>
- Returns:
- HTML code.
-
add
public void add(SourceFileReport child)
- Overrides:
add
in classAggregatedReport<ClassReport,MethodReport,SourceFileReport>
-
hasClassCoverage
public boolean hasClassCoverage()
- Overrides:
hasClassCoverage
in classCoverageObject<MethodReport>
-
setSrcFileInfo
public void setSrcFileInfo(org.jacoco.core.analysis.IMethodCoverage methodCov)
-
printHighlightedSrcFile
public void printHighlightedSrcFile(Writer output)
-
-