IBundleCoverage, ICoverageNodepublic class BundleCoverageImpl extends CoverageNodeImpl implements IBundleCoverage
IBundleCoverage.ICoverageNode.CounterEntity, ICoverageNode.ElementTypebranchCounter, classCounter, complexityCounter, instructionCounter, lineCounter, methodCounter| Constructor | Description |
|---|---|
BundleCoverageImpl(java.lang.String name,
java.util.Collection<IClassCoverage> classes,
java.util.Collection<ISourceFileCoverage> sourcefiles) |
Creates a new instance of a bundle with the given name.
|
BundleCoverageImpl(java.lang.String name,
java.util.Collection<IPackageCoverage> packages) |
Creates a new instance of a bundle with the given name.
|
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Collection<IPackageCoverage> |
getPackages() |
Returns all packages contained in this bundle.
|
getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy, increment, increment, toStringgetBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopypublic BundleCoverageImpl(java.lang.String name,
java.util.Collection<IPackageCoverage> packages)
name - name of this bundlepackages - collection of all packages contained in this bundlepublic BundleCoverageImpl(java.lang.String name,
java.util.Collection<IClassCoverage> classes,
java.util.Collection<ISourceFileCoverage> sourcefiles)
name - name of this bundleclasses - all classes in this bundlesourcefiles - all source files in this bundlepublic java.util.Collection<IPackageCoverage> getPackages()
IBundleCoveragegetPackages in interface IBundleCoverageCopyright © 2018. All rights reserved.