Package org.jacoco.core.analysis
Coverage calculation and analysis. The coverage information is calculated
with an Analyzer instance from class files
(target) and
execution data
(actual).
The CoverageBuilder creates a hierarchy of
ICoverageNode instances with the following
types:
+-- Group (optional) +-- Bundle +-- Package +-- Source File +-- Class +-- Method
-
Interface Summary Interface Description IBundleCoverage Coverage data of a bundle.IClassCoverage Coverage data of a single class containing methods.ICounter A counter holds the missed and the covered number of particular items like classes, methods, branches or instructions.ICoverageNode Interface for hierarchical coverage data nodes with different coverage counters.ICoverageVisitor Interface for coverage data output as a stream ofIClassCoverageinstances.ILine The instruction and branch coverage of a single source line is described by this interface.IMethodCoverage Coverage data of a single method.IPackageCoverage Coverage data of a Java package containing classes and source files.ISourceFileCoverage Coverage data of a single source file.ISourceNode Interface for coverage nodes that have individual source lines like methods, classes and source files. -
Class Summary Class Description Analyzer AnAnalyzerinstance processes a set of Java class files and calculates coverage data for them.CounterComparator Collection of comparators to compareICounterobjects by different criteria.CoverageBuilder Builder for hierarchicalICoverageNodestructures from singleIClassCoveragenodes.CoverageNodeImpl Base implementation for coverage data nodes.NodeComparator Comparator to compareICoverageNodeobjects by different counter criteria. -
Enum Summary Enum Description ICounter.CounterValue Different values provided by a counter.ICoverageNode.CounterEntity Different counter types supported by JaCoCo.ICoverageNode.ElementType Type of a Java element represented by aICoverageNodeinstance.