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:
- hudson.model.ModelObject
public final class MethodReport
- extends AggregatedReport<ClassReport,MethodReport,SourceFileReport>
- Author:
- Kohsuke Kawaguchi, David Carver, 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, printRatioCell, printRatioTable, setAllCovTypes, setCoverage, setMaxCoveredBranch, setMaxCoveredClazz, setMaxCoveredComplexity, setMaxCoveredInstruction, setMaxCoveredLine, setMaxCoveredMethod, setMaxMissedBranch, setMaxMissedClazz, setMaxMissedComplexity, setMaxMissedInstruction, setMaxMissedLine, setMaxMissedMethod, toString |
desc
public String desc
lineNo
public String lineNo
sourceFilePath
public String sourceFilePath
MethodReport
public MethodReport()
getSourceFilePath
public String getSourceFilePath()
setSourceFilePath
public void setSourceFilePath(String sourceFilePath)
setDesc
public void setDesc(String desc)
getDesc
public String getDesc(String desc)
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName in interface hudson.model.ModelObject- Overrides:
getDisplayName in class AbstractReport<ClassReport,MethodReport>
readFile
public void readFile(String filePath)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
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 class CoverageObject<MethodReport>
add
public void add(SourceFileReport child)
- Overrides:
add in class AggregatedReport<ClassReport,MethodReport,SourceFileReport>
setSrcFileInfo
public void setSrcFileInfo(org.jacoco.core.analysis.IMethodCoverage methodCov,
String sourceFilePath)
printHighlightedSrcFile
public String printHighlightedSrcFile()
Copyright © 2004-2013 Hudson. All Rights Reserved.