public class PackageCoverageImpl extends CoverageNodeImpl implements IPackageCoverage
IPackageCoverage.ICoverageNode.CounterEntity, ICoverageNode.ElementTypebranchCounter, 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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopypublic 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()
IPackageCoveragegetClasses in interface IPackageCoveragepublic Collection<ISourceFileCoverage> getSourceFiles()
IPackageCoveragegetSourceFiles in interface IPackageCoverageCopyright © 2024. All rights reserved.