public class PackageCoverageImpl extends CoverageNodeImpl implements IPackageCoverage
IPackageCoverage
.ICoverageNode.CounterEntity, ICoverageNode.ElementType
branchCounter, classCounter, complexityCounter, instructionCounter, lineCounter, methodCounter
Constructor and Description |
---|
PackageCoverageImpl(String name,
Collection<IClassCoverage> classes,
Collection<ISourceFileCoverage> sourceFiles)
Creates package node instance for a package with the given name.
|
Modifier and Type | Method and Description |
---|---|
Collection<IClassCoverage> |
getClasses()
Returns all classes contained in this package.
|
Collection<ISourceFileCoverage> |
getSourceFiles()
Returns all source files in this package.
|
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy, increment, increment, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy
public PackageCoverageImpl(String name, Collection<IClassCoverage> classes, Collection<ISourceFileCoverage> sourceFiles)
name
- vm name of the packageclasses
- collection of all classes in this packagesourceFiles
- collection of all source files in this packagepublic Collection<IClassCoverage> getClasses()
IPackageCoverage
getClasses
in interface IPackageCoverage
public Collection<ISourceFileCoverage> getSourceFiles()
IPackageCoverage
getSourceFiles
in interface IPackageCoverage
Copyright © 2022. All rights reserved.