Package org.jacoco.core.analysis
Interface IPackageCoverage
- All Superinterfaces:
ICoverageNode
- All Known Implementing Classes:
PackageCoverageImpl
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:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.jacoco.core.analysis.ICoverageNode
ICoverageNode.CounterEntity, ICoverageNode.ElementType
-
Method Summary
Modifier and TypeMethodDescriptionReturns all classes contained in this package.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 Details
-
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
-