hudson.plugins.jacoco.report
Class MethodReport

java.lang.Object
  extended by hudson.plugins.jacoco.model.CoverageObject<SELF>
      extended by hudson.plugins.jacoco.report.AbstractReport<PARENT,SELF>
          extended by hudson.plugins.jacoco.report.AggregatedReport<ClassReport,MethodReport,SourceFileReport>
              extended by 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

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
MethodReport()
           
 
Method Summary
 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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodReport

public MethodReport()
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 class CoverageObject<MethodReport>

add

public void add(SourceFileReport child)
Overrides:
add in class AggregatedReport<ClassReport,MethodReport,SourceFileReport>

hasClassCoverage

public boolean hasClassCoverage()
Overrides:
hasClassCoverage in class CoverageObject<MethodReport>

setSrcFileInfo

public void setSrcFileInfo(org.jacoco.core.analysis.IMethodCoverage methodCov)

printHighlightedSrcFile

public void printHighlightedSrcFile(Writer output)


Copyright © 2004-2014 Hudson. All Rights Reserved.