Package org.jacoco.core.analysis
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
-
ClassDescriptionAn
Analyzer
instance processes a set of Java class files and calculates coverage data for them.Collection of comparators to compareICounter
objects by different criteria.Builder for hierarchicalICoverageNode
structures from singleIClassCoverage
nodes.Base implementation for coverage data nodes.Coverage data of a bundle.Coverage data of a single class containing methods.A counter holds the missed and the covered number of particular items like classes, methods, branches or instructions.Different values provided by a counter.Interface for hierarchical coverage data nodes with different coverage counters.Different counter types supported by JaCoCo.Type of a Java element represented by aICoverageNode
instance.Interface for coverage data output as a stream ofIClassCoverage
instances.The instruction and branch coverage of a single source line is described by this interface.Coverage data of a single method.Coverage data of a Java package containing classes and source files.Coverage data of a single source file.Interface for coverage nodes that have individual source lines like methods, classes and source files.Comparator to compareICoverageNode
objects by different counter criteria.