Class SourceFileCoverageImpl
java.lang.Object
org.jacoco.core.analysis.CoverageNodeImpl
org.jacoco.core.internal.analysis.SourceNodeImpl
org.jacoco.core.internal.analysis.SourceFileCoverageImpl
- All Implemented Interfaces:
ICoverageNode, ISourceFileCoverage, ISourceNode
Implementation of
ISourceFileCoverage.-
Nested Class Summary
Nested classes/interfaces inherited from interface ICoverageNode
ICoverageNode.CounterEntity, ICoverageNode.ElementType -
Field Summary
FieldsFields inherited from class CoverageNodeImpl
branchCounter, classCounter, complexityCounter, instructionCounter, lineCounter, methodCounterFields inherited from interface ISourceNode
UNKNOWN_LINE -
Constructor Summary
ConstructorsConstructorDescriptionSourceFileCoverageImpl(String name, String packagename) Creates a source file data object with the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionReturns the VM name of the package the source file belongs to.Methods inherited from class SourceNodeImpl
ensureCapacity, getFirstLine, getLastLine, getLine, increment, incrementMethods inherited from class CoverageNodeImpl
containsCode, getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy, increment, increment, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface ICoverageNode
containsCode, getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopyMethods inherited from interface ISourceNode
getFirstLine, getLastLine, getLine
-
Field Details
-
packagename
-
-
Constructor Details
-
SourceFileCoverageImpl
-
-
Method Details
-
getPackageName
Description copied from interface:ISourceFileCoverageReturns the VM name of the package the source file belongs to.- Specified by:
getPackageNamein interfaceISourceFileCoverage- Returns:
- package name
-