org.jacoco.core.internal.analysis
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
public class SourceFileCoverageImpl
- extends SourceNodeImpl
- implements ISourceFileCoverage
Implementation of ISourceFileCoverage.
|
Method Summary |
String |
getPackageName()
Returns the VM name of the package the source file belongs to. |
| Methods inherited from class org.jacoco.core.analysis.CoverageNodeImpl |
containsCode, getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy, increment, increment, toString |
| Methods inherited from interface org.jacoco.core.analysis.ICoverageNode |
containsCode, getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy |
SourceFileCoverageImpl
public SourceFileCoverageImpl(String name,
String packagename)
- Creates a source file data object with the given parameters.
- Parameters:
name - name of the source filepackagename - vm name of the package the source file belongs to
getPackageName
public String getPackageName()
- Description copied from interface:
ISourceFileCoverage
- Returns the VM name of the package the source file belongs to.
- Specified by:
getPackageName in interface ISourceFileCoverage
- Returns:
- package name
Copyright © 2009–2021 Mountainminds GmbH & Co. KG. All rights reserved.