org.jacoco.core.analysis
Interface IPackageCoverage

All Superinterfaces:
ICoverageNode

public interface IPackageCoverage
extends ICoverageNode

Coverage data of a Java package containing classes and source files. The name of this node is the package name in VM notation (slash separated). The name of the default package is the empty string.

See Also:
IClassCoverage, ISourceFileCoverage

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jacoco.core.analysis.ICoverageNode
ICoverageNode.CounterEntity, ICoverageNode.ElementType
 
Method Summary
 Collection<IClassCoverage> getClasses()
          Returns all classes contained in this package.
 Collection<ISourceFileCoverage> getSourceFiles()
          Returns all source files in this package.
 
Methods inherited from interface org.jacoco.core.analysis.ICoverageNode
containsCode, getBranchCounter, getClassCounter, getComplexityCounter, getCounter, getElementType, getInstructionCounter, getLineCounter, getMethodCounter, getName, getPlainCopy
 

Method Detail

getClasses

Collection<IClassCoverage> getClasses()
Returns all classes contained in this package.

Returns:
all classes

getSourceFiles

Collection<ISourceFileCoverage> getSourceFiles()
Returns all source files in this package.

Returns:
all source files


Copyright © 2009–2024 Mountainminds GmbH & Co. KG. All rights reserved.