hudson.plugins.jacoco.report
Class ClassReport

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<PackageReport,ClassReport,MethodReport>
              extended by hudson.plugins.jacoco.report.ClassReport
All Implemented Interfaces:
hudson.model.ModelObject

public final class ClassReport
extends AggregatedReport<PackageReport,ClassReport,MethodReport>

Author:
Kohsuke Kawaguchi

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
ClassReport()
           
 
Method Summary
 void add(MethodReport child)
           
 File getSourceFilePath()
          Read the source Java file for this class.
 void printHighlightedSrcFile(Writer output)
           
 void setName(String name)
           
 void setSrcFileInfo(org.jacoco.core.analysis.IClassCoverage classCov, String sourceFilePath)
           
 String toString()
           
 
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
 
Methods inherited from class hudson.plugins.jacoco.model.CoverageObject
doGraph, getApi, getBranchCoverage, getClassCoverage, getComplexityScore, getInstructionCoverage, getLineCoverage, getMaxBranch, getMaxClazz, getMaxComplexity, getMaxInstruction, getMaxLine, getMaxMethod, getMethodCoverage, hasClassCoverage, hasLineCoverage, isFailed, printFourCoverageColumns, printRatioCell, printRatioTable, setAllCovTypes, setCoverage, setMaxBranch, setMaxClazz, setMaxComplexity, setMaxInstruction, setMaxLine, setMaxMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassReport

public ClassReport()
Method Detail

setName

public void setName(String name)
Overrides:
setName in class AbstractReport<PackageReport,ClassReport>

add

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

setSrcFileInfo

public void setSrcFileInfo(org.jacoco.core.analysis.IClassCoverage classCov,
                           String sourceFilePath)

getSourceFilePath

public File getSourceFilePath()
Read the source Java file for this class.


printHighlightedSrcFile

public void printHighlightedSrcFile(Writer output)

toString

public String toString()
Overrides:
toString in class CoverageObject<ClassReport>


Copyright © 2004-2014 Hudson. All Rights Reserved.