ICoverageNode
, ISourceFileCoverage
, ISourceNode
public class SourceFileCoverageImpl extends SourceNodeImpl implements ISourceFileCoverage
ISourceFileCoverage
.ICoverageNode.CounterEntity, ICoverageNode.ElementType
branchCounter, classCounter, complexityCounter, instructionCounter, lineCounter, methodCounter
UNKNOWN_LINE
Constructor | Description |
---|---|
SourceFileCoverageImpl(java.lang.String name,
java.lang.String packagename) |
Creates a source file data object with the given parameters.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getPackageName() |
Returns the VM name of the package the source file belongs to.
|
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy, increment, increment, toString
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy
getFirstLine, getLastLine, getLine
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
ensureCapacity, getFirstLine, getLastLine, getLine, increment, increment
public SourceFileCoverageImpl(java.lang.String name, java.lang.String packagename)
name
- name of the source filepackagename
- vm name of the package the source file belongs topublic java.lang.String getPackageName()
ISourceFileCoverage
getPackageName
in interface ISourceFileCoverage
Copyright © 2018. All rights reserved.