All Classes Interface Summary Class Summary Enum Summary Exception Summary
| Class |
Description |
| AbstractAgentMojo |
Base class for preparing a property pointing to the JaCoCo runtime agent that
can be passed as a VM argument to the application under test.
|
| AbstractCoverageTask |
Base class for all coverage tasks that require agent options
|
| AbstractGroupVisitor |
Internal base visitor to calculate group counter summaries for hierarchical
reports.
|
| AbstractJacocoMojo |
Base class for JaCoCo Mojos.
|
| AbstractMatcher |
|
| AbstractReportMojo |
Base class for creating a code coverage report for tests of a single project
in multiple formats (HTML, XML, and CSV).
|
| AbstractRuntime |
|
| Agent |
The agent manages the life cycle of JaCoCo runtime.
|
| AgentITMojo |
Same as prepare-agent, but provides default values suitable for
integration-tests:
bound to pre-integration-test phase
different destFile
|
| AgentJar |
API to access the agent JAR file as a resource.
|
| AgentModule |
An isolated class loader and distinct module to encapsulate JaCoCo runtime
classes.
|
| AgentMojo |
Prepares a property pointing to the JaCoCo runtime agent that can be passed
as a VM argument to the application under test.
|
| AgentOptions |
Utility to create and parse options for the runtime agent.
|
| AgentOptions.OutputMode |
|
| AgentTask |
Ant task that will unpack the coverage agent jar and generate the JVM options
required to use it
|
| AllCommands |
List of all available commands.
|
| Analyzer |
An Analyzer instance processes a set of Java class files and
calculates coverage data for them.
|
| AnnotationGeneratedFilter |
Filters classes and methods annotated with
runtime visible and
invisible annotation whose
simple name contains Generated.
|
| AntFilesLocator |
Source locator based on Ant file resources.
|
| AntResourcesLocator |
Source file locator based on Ant resources.
|
| AssertFilter |
Filters code that is generated for an assert statement.
|
| AssertFilter.Matcher |
|
| BarColumn |
Column with a graphical bar that represents the total amount of items in with
length, and the coverage ratio with a red/green sections.
|
| BridgeFilter |
Filters bridge methods.
|
| BundleChecker |
Internal class to check a list of rules against a IBundleCoverage
instance.
|
| BundleCoverageImpl |
|
| BundlePage |
Page showing coverage information for a bundle.
|
| CheckMojo |
Checks that the code coverage metrics are being met.
|
| ClassAnalyzer |
Analyzes the structure of a class.
|
| ClassCoverageImpl |
|
| ClassFieldProbeArrayStrategy |
The strategy for regular classes adds a static field to hold the probe array
and a static initialization method requesting the probe array from the
runtime.
|
| ClassFileDumper |
Internal dumper for class files.
|
| ClassInfo |
The classinfo command.
|
| ClassInstrumenter |
Adapter that instruments a class for coverage tracing.
|
| ClassPage |
Page showing coverage information for a class as a table of methods.
|
| ClassProbesAdapter |
A ClassVisitor that calculates probes for every
method.
|
| ClassProbesVisitor |
A ClassVisitor with additional methods to get probe insertion
information for each method
|
| ClassRowWriter |
Writer for rows in the CVS report representing the summary data of a single
class.
|
| Command |
Common interface for all commands.
|
| CommandHandler |
OptionHandler which uses CommandParser internally to provide
help context also for sub-commands.
|
| CommandLineSupport |
Internal utility to parse and create command lines arguments.
|
| CommandParser |
Parser which remembers the parsed command to have additional context
information to produce help output.
|
| CompactDataInput |
Additional data input methods for compact storage of data structures.
|
| CompactDataOutput |
Additional data output methods for compact storage of data structures.
|
| CondyProbeArrayStrategy |
This strategy for Java 11+ class files uses ConstantDynamic to hold
the probe array and adds bootstrap method requesting the probe array from the
runtime.
|
| ConfigLoader |
Internal utility to load runtime configuration from a classpath resource and
from system properties.
|
| ContentTypeDetector |
Detector for content types of binary streams based on a magic headers.
|
| CounterColumn |
Column that prints the counter values of entities for each item and a summary
in the footer.
|
| CounterComparator |
Collection of comparators to compare ICounter objects by different
criteria.
|
| CounterImpl |
|
| CounterImpl.Fix |
Immutable version of the counter.
|
| CounterImpl.Var |
Mutable version of the counter.
|
| CoverageBuilder |
|
| CoverageNodeImpl |
Base implementation for coverage data nodes.
|
| CoverageTask |
Container task to run Java/JUnit tasks with the JaCoCo agent jar.
|
| CoverageTask.TaskEnhancer |
The task enhancer is responsible for potentially reconfiguring a task to
support running with code coverage enabled
|
| CoverageTransformer |
Class file transformer to instrument classes for code coverage analysis.
|
| CRC64 |
CRC64 checksum calculator based on the polynom specified in ISO 3309.
|
| CSVFormatter |
Report formatter that will create a single CSV file.
|
| CSVGroupHandler |
Report visitor that handles coverage information for groups.
|
| DelimitedWriter |
Helper class for writing out CSV or tab delimited files.
|
| DirectorySourceFileLocator |
Locator for source files that picks source files from a given directory in
the file system.
|
| Dump |
The dump command.
|
| DumpMojo |
Request a dump over TCP/IP from a JaCoCo agent running in
tcpserver mode.
|
| DumpTask |
Ant task for remotely controlling an application that is running with the
tcpserver output mode
|
| DuplicateFrameEliminator |
Eliminates consecutive stackmap frame definitions which causes ASM to create
invalid class files.
|
| ElementIndex |
An index over all report pages that allows queries according to certain
criteria.
|
| EnumEmptyConstructorFilter |
Filters empty enum constructors.
|
| EnumEmptyConstructorFilter.Matcher |
|
| EnumFilter |
Filters methods values and valueOf that compiler
creates for enums.
|
| ExecDumpClient |
A client for remote execution data dumps.
|
| ExecFileLoader |
|
| ExecInfo |
The execinfo command.
|
| ExecutionData |
Execution data for a single Java class.
|
| ExecutionDataReader |
Deserialization of execution data from binary streams.
|
| ExecutionDataStore |
In-memory data store for execution data.
|
| ExecutionDataWriter |
Serialization of execution data into binary streams.
|
| ExhaustiveSwitchFilter |
Filters default branch generated by compilers for exhaustive switch
expressions.
|
| ExhaustiveSwitchFilter.Matcher |
|
| FileFilter |
A file filter using includes/excludes patterns.
|
| FileMultiReportOutput |
|
| FileOutput |
Local only agent output that will write coverage data to the filesystem.
|
| Filters |
Filter that combines other filters.
|
| FinallyFilter |
Filters duplicates of finally blocks that compiler generates.
|
| FrameSnapshot |
IFrame implementation which creates snapshots from an AnalyzerAdapter
|
| GroupPage |
Page showing coverage information for a node that groups other nodes.
|
| HelpMojo |
Display help information on jacoco-maven-plugin.
Call mvn jacoco:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
|
| HTMLElement |
A XMLElement with utility methods to create XHTML documents.
|
| HTMLFormatter |
Formatter for coverage reports in multiple HTML pages.
|
| HTMLGroupVisitor |
Group visitor for HTML reports.
|
| IAgent |
Runtime API and MBean agent interface.
|
| IAgentOutput |
Common interface for different implementations that outputs execution data
dumps.
|
| IBundleCoverage |
Coverage data of a bundle.
|
| IClassCoverage |
Coverage data of a single class containing methods.
|
| IColumnRenderer |
Renderer for a single column of a coverage table.
|
| ICounter |
A counter holds the missed and the covered number of particular items like
classes, methods, branches or instructions.
|
| ICounter.CounterValue |
Different values provided by a counter.
|
| ICoverageNode |
Interface for hierarchical coverage data nodes with different coverage
counters.
|
| ICoverageNode.CounterEntity |
Different counter types supported by JaCoCo.
|
| ICoverageNode.ElementType |
|
| ICoverageVisitor |
Interface for coverage data output as a stream of IClassCoverage
instances.
|
| IExceptionLogger |
At several places exception might occur that should be reported.
|
| IExecutionDataAccessorGenerator |
The instrumented classes need a piece of code that obtains a
boolean[] instance from the runtime.
|
| IExecutionDataVisitor |
Interface for data output of collected execution data.
|
| IFilter |
Interface for filter implementations.
|
| IFilterContext |
Context information provided to filters.
|
| IFilterOutput |
Interface used by filters to mark filtered items.
|
| IFrame |
Representation of the current stackmap frame content.
|
| IHTMLReportContext |
Context and configuration information during creation of a HTML report.
|
| IIndexUpdate |
Every report page that should become part of the index must be added via this
interface.
|
| ILanguageNames |
Interface to create programming language specific names from VM names.
|
| ILine |
The instruction and branch coverage of a single source line is described by
this interface.
|
| ILinkable |
Abstraction for items that can be linked to in a report.
|
| IMethodCoverage |
Coverage data of a single method.
|
| IMultiReportOutput |
Interface to emit multiple binary files.
|
| IncompatibleExecDataVersionException |
Signals that execution data in an incompatible version was tried to read.
|
| InjectedClassRuntime |
IRuntime which defines a new class using
java.lang.invoke.MethodHandles.Lookup.defineClass introduced in Java
9.
|
| InjectedClassRuntime.Lookup |
Provides access to classes java.lang.invoke.MethodHandles and
java.lang.invoke.MethodHandles.Lookup introduced in Java 8.
|
| InputStreams |
Utilities for InputStreams.
|
| InputStreamSourceFileLocator |
|
| InstrSupport |
Constants and utilities for byte code instrumentation.
|
| Instruction |
Execution status of a single bytecode instruction internally used for
coverage analysis.
|
| InstructionsBuilder |
|
| InstructionsBuilder.Jump |
|
| Instrument |
The instrument command.
|
| Instrumenter |
Several APIs to instrument Java class definitions for coverage tracing.
|
| InstrumentMojo |
Performs offline instrumentation.
|
| InstrumentTask |
Task for offline instrumentation of class files.
|
| InterfaceFieldProbeArrayStrategy |
This strategy for Java 8 interfaces adds a static method requesting the probe
array from the runtime, a static field to hold the probe array and adds code
for its initialization into interface initialization method.
|
| IPackageCoverage |
Coverage data of a Java package containing classes and source files.
|
| IProbeArrayStrategy |
Strategies to retrieve the probe array instance for each method within a
type.
|
| IProbeIdGenerator |
Internal interface to create probe ids unique within a class.
|
| IProbeInserter |
Internal interface for insertion of probes into in the instruction sequence
of a method.
|
| IRemoteCommandVisitor |
Interface for remote commands to a coverage runtime.
|
| IReportGroupVisitor |
Output-Interface for hierarchical report structures.
|
| IReportVisitor |
Interface for all implementations to retrieve structured report data.
|
| IRuntime |
This interface represents a particular mechanism to collect execution
information in the target VM at runtime.
|
| ISessionInfoVisitor |
Interface for data output of collected session information.
|
| ISourceFileCoverage |
Coverage data of a single source file.
|
| ISourceFileLocator |
Interface to look-up source files that will be included with the report.
|
| ISourceNode |
Interface for coverage nodes that have individual source lines like methods,
classes and source files.
|
| ITableItem |
Interface for a item (row) in a coverage data table.
|
| IViolationsOutput |
Call-back interface which is used to report rule violations to.
|
| JaCoCo |
Static Meta information about JaCoCo.
|
| JavaNames |
Names for the Java language.
|
| JmxRegistration |
Access to JMX APIs are encapsulated in this class to allow the JaCoCo runtime
on platforms without JMX support (e.g Android).
|
| KotlinCoroutineFilter |
Filters branches that Kotlin compiler generates for coroutines.
|
| KotlinCoroutineFilter.Matcher |
|
| KotlinDefaultArgumentsFilter |
Filters branches that Kotlin compiler generates for default arguments.
|
| KotlinDefaultArgumentsFilter.Matcher |
|
| KotlinDefaultMethodsFilter |
Filters methods that Kotlin compiler generates for non-overridden
non-abstract methods of interfaces.
|
| KotlinDefaultMethodsFilter.Matcher |
|
| KotlinGeneratedFilter |
Filters methods generated by the Kotlin compiler.
|
| KotlinInlineFilter |
Filters out instructions that were inlined by Kotlin compiler.
|
| KotlinLateinitFilter |
Filters branch in bytecode that Kotlin compiler generates for reading from
lateinit properties.
|
| KotlinLateinitFilter.Matcher |
|
| KotlinNotNullOperatorFilter |
Filters branch in bytecode that Kotlin compiler generates for not-null
assertion operator.
|
| KotlinNotNullOperatorFilter.Matcher |
|
| KotlinUnsafeCastOperatorFilter |
Filters branch in bytecode that Kotlin compiler generates for "unsafe" cast
operator.
|
| KotlinUnsafeCastOperatorFilter.Matcher |
|
| KotlinWhenFilter |
Filters bytecode that Kotlin compiler generates for when
expressions which list all cases of enum or
sealed class, i.e.
|
| KotlinWhenFilter.Matcher |
|
| KotlinWhenStringFilter |
Filters bytecode that Kotlin compiler generates for when
expressions with a String.
|
| KotlinWhenStringFilter.Matcher |
|
| LabelColumn |
Column for the item label.
|
| LabelFlowAnalyzer |
Method visitor to collect flow related information about the Labels
within a class.
|
| LabelInfo |
Data container that is attached to Label.info objects to store flow
and instrumentation specific information.
|
| Limit |
Descriptor for a limit which is given by a Rule.
|
| LineImpl |
|
| LineImpl.Fix |
Immutable version.
|
| LineImpl.Var |
Mutable version.
|
| LocalProbeArrayStrategy |
The strategy for interfaces inlines the runtime access directly into the
methods as this is the only method without keeping reference within this
class.
|
| LoggerRuntime |
This IRuntime implementation uses the Java logging API to report
coverage data.
|
| Main |
Entry point for all command line operations.
|
| Merge |
The merge command.
|
| MergeMojo |
Mojo for merging a set of execution data files (*.exec) into a single file
|
| MergeTask |
Task for merging a set of execution data files (*.exec) into a single file
|
| MethodAnalyzer |
|
| MethodCoverageCalculator |
Calculates the filtered coverage of a single method.
|
| MethodCoverageImpl |
|
| MethodInstrumenter |
|
| MethodItem |
Table items representing a method.
|
| MethodProbesAdapter |
Adapter that creates additional visitor events for probes to be inserted into
a method.
|
| MethodProbesVisitor |
A MethodVisitor with additional methods to get probe insertion
information.
|
| MethodSanitizer |
This method visitor fixes two potential issues with Java byte code:
Remove JSR/RET instructions by inlining subroutines which are deprecated
since Java 6.
|
| ModifiedSystemClassRuntime |
This IRuntime implementation works with a modified system class.
|
| MultiGroupVisitor |
|
| MultiReportVisitor |
A report visitor that is composed from multiple other visitors.
|
| MultiSourceFileLocator |
|
| NodeComparator |
Comparator to compare ICoverageNode objects by different counter
criteria.
|
| NodePage<NodeType extends ICoverageNode> |
Report page that represents a coverage node.
|
| NoneOutput |
Output that does nothing.
|
| NoneProbeArrayStrategy |
The strategy does not emit any code at all.
|
| NormalizedFileNames |
Internal utility to create normalized file names from string ids.
|
| Offline |
The API for classes instrumented in "offline" mode.
|
| OfflineInstrumentationAccessGenerator |
This implementation of IExecutionDataAccessorGenerator generate a
direct dependency to the JaCoCo runtime agent to initialize the runtime and
obtain probe arrays.
|
| Pack200Streams |
Internal wrapper for the weird Pack200 Java API to allow usage with streams.
|
| Pack200Streams.NoCloseInput |
|
| PackageCoverageImpl |
|
| PackagePage |
Page showing coverage information for a Java package.
|
| PackageSourcePage |
Page showing coverage information for a Java package.
|
| PercentageColumn |
Column that prints the coverage percentage for each item and the total
percentage in the footer.
|
| PreMain |
The agent which is referred as the Premain-Class.
|
| PrivateEmptyNoArgConstructorFilter |
Filters private empty constructors that do not have arguments.
|
| PrivateEmptyNoArgConstructorFilter.Matcher |
|
| ProbeArrayStrategyFactory |
Factory to find a suitable strategy to access the probe array for a given
class.
|
| ProbeCounter |
Internal class to remember the total number of probes required for a class.
|
| ProbeInserter |
Internal utility to add probes into the control flow of a method.
|
| RecordPatternFilter |
Filters code that is generated for record patterns.
|
| RecordPatternFilter.Matcher |
|
| RecordsFilter |
Filters methods toString, hashCode and
equals that compiler generates for records.
|
| RecordsFilter.Matcher |
|
| RemoteControlReader |
|
| RemoteControlWriter |
|
| Report |
The report command.
|
| ReportAggregateMojo |
Creates a structured code coverage report (HTML, XML, and CSV) from multiple
projects within reactor.
|
| ReportElement |
A XMLElement with utility methods to create JaCoCo XML reports.
|
| ReportFormat |
Configurable output formats for the report goals.
|
| ReportITMojo |
Same as report, but provides default values suitable for
integration-tests:
bound to report-integration phase
different dataFile
|
| ReportMojo |
Creates a code coverage report for tests of a single project in multiple
formats (HTML, XML, and CSV).
|
| ReportOutputFolder |
Logical representation of a folder in the output structure.
|
| ReportPage |
Base class for HTML page generators.
|
| ReportSupport |
Encapsulates the tasks to create reports for Maven projects.
|
| ReportTask |
Task for coverage report generation.
|
| ReportTask.GroupElement |
Container element for class file groups.
|
| ReportTask.SourceFilesElement |
The source files are specified in a resource collection with additional
attributes.
|
| Resources |
Static resource that are included with the coverage report and might be
referenced from created HTML pages.
|
| RestoreMojo |
Restores original classes as they were before offline instrumentation.
|
| RT |
Deprecated.
|
| RT |
Entry point to access the JaCoCo agent runtime.
|
| Rule |
A rule applies for a certain element type and can define any number of limits
for all elements of this type.
|
| RuleConfiguration |
Wrapper for Rule objects to allow Maven style includes/excludes lists
|
| RulesChecker |
Formatter which checks a set of given rules and reports violations to a
IViolationsOutput instance.
|
| RuntimeData |
Container for runtime execution and meta data.
|
| SessionInfo |
Data object describing a session which was the source of execution data.
|
| SessionInfoStore |
Container to collect and merge session SessionInfo objects.
|
| SessionsPage |
Page to display information about sessions covered by this report.
|
| SignatureRemover |
Support class to filter entries from JARs related to signatures.
|
| SortIndex<T> |
A index on a list of items sorted with a given Comparator.
|
| SourceFileCoverageImpl |
|
| SourceFileItem |
Table items representing a source file which cannot be linked.
|
| SourceFilePage |
Page showing the content of a source file with numbered and highlighted
source lines.
|
| SourceHighlighter |
Creates a highlighted output of a source file.
|
| SourceNodeImpl |
|
| StringPool |
Utility to normalize String instances in a way that if
equals() is true for two strings they will be
represented the same instance.
|
| StringSwitchFilter |
Filters code that is generated by ECJ for a switch statement
with a String and by Kotlin compiler 1.5 and above for a
when expression with a String.
|
| StringSwitchFilter.Matcher |
|
| StringSwitchJavacFilter |
Filters code that is generated by javac for a switch statement with a String.
|
| StringSwitchJavacFilter.Matcher |
|
| Styles |
Constants for styles defined by the report style sheet.
|
| SynchronizedFilter |
Filters code that is generated for synchronized statement.
|
| SynchronizedFilter.Matcher |
|
| SyntheticFilter |
Filters synthetic methods unless they represent bodies of lambda expressions.
|
| SystemPropertiesRuntime |
This IRuntime implementation makes the execution data available
through a special entry in the System.getProperties() hash table.
|
| Table |
|
| Table.Column |
|
| TableItemComparator |
Adapter to sort table items based on their coverage nodes.
|
| TablePage<NodeType extends ICoverageNode> |
Report page that contains a table of items linked to other pages.
|
| TcpClientOutput |
Output that connects to a TCP port.
|
| TcpConnection |
Handler for a single socket based remote connection.
|
| TcpServerOutput |
Output that opens TCP server socket.
|
| TryWithResourcesEcjFilter |
Filters code that ECJ generates for try-with-resources statement.
|
| TryWithResourcesEcjFilter.Matcher |
|
| TryWithResourcesJavac11Filter |
Filters code which is generated for try-with-resources statement by javac
starting from version 11.
|
| TryWithResourcesJavacFilter |
Filters code which is generated for try-with-resources statement by javac
versions from 7 to 10.
|
| TryWithResourcesJavacFilter.Matcher |
javac from JDK 7 and 8 generates bytecode that is equivalent to the
compilation of source code that is described in JLS
14.20.3.
|
| TryWithResourcesJavacFilter.Matcher.JavacPattern |
|
| Version |
The version command.
|
| WildcardMatcher |
Matches strings against glob like wildcard expressions where ?
matches any single character and * matches any number of any
character.
|
| XMLCoverageWriter |
Serializes coverage data as XML fragments.
|
| XmlDocumentation |
Internal utility to dump all command descriptions as XML.
|
| XMLElement |
Simple API to create well formed XML streams with minimal memory overhead.
|
| XMLFormatter |
Report formatter that creates a single XML file for a coverage session
|
| XMLGroupVisitor |
|
| ZipMultiReportOutput |
|