A B C D E F G H I J K L M N O P R S T U V W X Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- a(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'a' element.
- a(String, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'a' element.
- a(ILinkable, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a link to the given
ILinkable
. - AbstractCoverageTask - Class in org.jacoco.ant
-
Base class for all coverage tasks that require agent options
- AbstractCoverageTask() - Constructor for class org.jacoco.ant.AbstractCoverageTask
-
Create default agent options
- AbstractGroupVisitor - Class in org.jacoco.report.internal
-
Internal base visitor to calculate group counter summaries for hierarchical reports.
- AbstractGroupVisitor(String) - Constructor for class org.jacoco.report.internal.AbstractGroupVisitor
-
Creates a new group with the given name.
- AbstractRuntime - Class in org.jacoco.core.runtime
-
Base
IRuntime
implementation. - AbstractRuntime() - Constructor for class org.jacoco.core.runtime.AbstractRuntime
- accept(IExecutionDataVisitor) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Writes the content of the store to the given visitor interface.
- accept(ISessionInfoVisitor) - Method in class org.jacoco.core.data.SessionInfoStore
-
Writes all contained
SessionInfo
objects into the given visitor. - accept(MethodVisitor) - Method in interface org.jacoco.core.internal.flow.IFrame
-
Emits a frame event with the current content to the given visitor.
- accept(MethodNode, MethodVisitor) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- accept(MethodNode, MethodVisitor) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
-
This method can be overwritten to hook into the process of emitting the instructions of this method as
visitX()
events. - add(String, String, IColumnRenderer, boolean) - Method in class org.jacoco.report.internal.html.table.Table
-
Adds a new column with the given properties to the table.
- add(ISourceFileLocator) - Method in class org.jacoco.report.MultiSourceFileLocator
-
Adds the given locator.
- addBranch(boolean, int) - Method in class org.jacoco.core.internal.analysis.Instruction
-
Adds a branch to this instruction which execution status is directly derived from a probe.
- addBranch(Instruction, int) - Method in class org.jacoco.core.internal.analysis.Instruction
-
Adds a branch to this instruction which execution status is indirectly derived from the execution status of the target instruction.
- addClass(ILinkable, long) - Method in class org.jacoco.report.internal.html.index.ElementIndex
- addClass(ILinkable, long) - Method in interface org.jacoco.report.internal.html.index.IIndexUpdate
-
Adds a class to the index.
- addConfigured(ResourceCollection) - Method in class org.jacoco.ant.InstrumentTask
-
This task accepts any number of class file resources.
- addConfigured(ResourceCollection) - Method in class org.jacoco.ant.MergeTask
-
This task accepts any number of execution data resources.
- addItem(ITableItem) - Method in class org.jacoco.report.internal.html.page.TablePage
-
Adds the given item to the table.
- addMembers(ClassVisitor, int) - Method in interface org.jacoco.core.internal.instr.IProbeArrayStrategy
-
Adds additional class members required by this strategy.
- addMethod(IMethodCoverage) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Add a method to this class.
- ADDRESS - Static variable in class org.jacoco.core.runtime.AgentOptions
-
The IP address or DNS name the tcpserver binds to or the tcpclient connects to.
- addTask(Task) - Method in class org.jacoco.ant.CoverageTask
-
Add child task to this container and reconfigure it to run with coverage enabled
- Agent - Class in org.jacoco.agent.rt.internal
-
The agent manages the life cycle of JaCoCo runtime.
- AgentJar - Class in org.jacoco.agent
-
API to access the agent JAR file as a resource.
- AgentOptions - Class in org.jacoco.core.runtime
-
Utility to create and parse options for the runtime agent.
- AgentOptions() - Constructor for class org.jacoco.core.runtime.AgentOptions
-
New instance with all values set to default.
- AgentOptions(String) - Constructor for class org.jacoco.core.runtime.AgentOptions
-
New instance parsed from the given option string.
- AgentOptions(Properties) - Constructor for class org.jacoco.core.runtime.AgentOptions
-
New instance read from the given
Properties
object. - AgentOptions.OutputMode - Enum in org.jacoco.core.runtime
-
Possible values for
AgentOptions.OUTPUT
. - AgentTask - Class in org.jacoco.ant
-
Ant task that will unpack the coverage agent jar and generate the JVM options required to use it
- AgentTask() - Constructor for class org.jacoco.ant.AgentTask
- all() - Static method in class org.jacoco.core.internal.analysis.filter.Filters
-
Creates filter that combines all other filters.
- analyzeAll(File) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes all class files contained in the given file or folder.
- analyzeAll(InputStream, String) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes all classes found in the given input stream.
- analyzeAll(String, File) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes all classes from the given class path.
- analyzeClass(byte[], String) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes the class definition from a given in-memory buffer.
- analyzeClass(InputStream, String) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes the class definition from a given input stream.
- analyzeClass(ClassReader) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes the class given as a ASM reader.
- Analyzer - Class in org.jacoco.core.analysis
-
An
Analyzer
instance processes a set of Java class files and calculates coverage data for them. - Analyzer(ExecutionDataStore, ICoverageVisitor) - Constructor for class org.jacoco.core.analysis.Analyzer
-
Creates a new analyzer reporting to the given output.
- AnnotationGeneratedFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters classes and methods annotated with
runtime visible
andinvisible
annotation whose simple name containsGenerated
. - AnnotationGeneratedFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.AnnotationGeneratedFilter
- APPEND - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether execution data should be appended to the output file.
- ASM_API_VERSION - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
ASM API version
- assertCompatibility(long, String, int) - Method in class org.jacoco.core.data.ExecutionData
-
Asserts that this execution data object is compatible with the given parameters.
- assertNotInstrumented(String, String) - Static method in class org.jacoco.core.internal.instr.InstrSupport
-
Ensures that the given member does not correspond to a internal member created by the instrumentation process.
- attr(String, int) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds an attribute to this element.
- attr(String, long) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds an attribute to this element.
- attr(String, String) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds an attribute to this element.
B
- BAR - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table cells for a graphical bar
- BarColumn - Class in org.jacoco.report.internal.html.table
-
Column with a graphical bar that represents the total amount of items in with length, and the coverage ratio with a red/green sections.
- BarColumn(ICoverageNode.CounterEntity, Locale) - Constructor for class org.jacoco.report.internal.html.table.BarColumn
-
Creates a new column that is based on the
ICounter
for the given entity. - BLOCK_CMDDUMP - Static variable in class org.jacoco.core.runtime.RemoteControlWriter
-
Block identifier for dump command
- BLOCK_CMDOK - Static variable in class org.jacoco.core.runtime.RemoteControlWriter
-
Block identifier to confirm successful command execution.
- BLOCK_EXECUTIONDATA - Static variable in class org.jacoco.core.data.ExecutionDataWriter
-
Block identifier for execution data of a single class.
- BLOCK_HEADER - Static variable in class org.jacoco.core.data.ExecutionDataWriter
-
Block identifier for file headers.
- BLOCK_SESSIONINFO - Static variable in class org.jacoco.core.data.ExecutionDataWriter
-
Block identifier for session information.
- body() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'body' element.
- BRANCH - org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Counter for branches
- BRANCH_FULLY_COVERED - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Part of source code where branches are fully covered
- BRANCH_NOT_COVERED - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Part of source code where branches are not covered
- BRANCH_PARTLY_COVERED - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Part of source code where branches are partly covered
- branchCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
-
Counter for branches.
- branches - Variable in class org.jacoco.core.internal.analysis.LineImpl
-
branch counter
- BREADCRUMB - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Breadcrumb bar
- BUNDLE - org.jacoco.core.analysis.ICoverageNode.ElementType
-
Bundle of Packages
- BundleCoverageImpl - Class in org.jacoco.core.internal.analysis
-
Implementation of
IBundleCoverage
. - BundleCoverageImpl(String, Collection<IClassCoverage>, Collection<ISourceFileCoverage>) - Constructor for class org.jacoco.core.internal.analysis.BundleCoverageImpl
-
Creates a new instance of a bundle with the given name.
- BundleCoverageImpl(String, Collection<IPackageCoverage>) - Constructor for class org.jacoco.core.internal.analysis.BundleCoverageImpl
-
Creates a new instance of a bundle with the given name.
- BundlePage - Class in org.jacoco.report.internal.html.page
-
Page showing coverage information for a bundle.
- BundlePage(IBundleCoverage, ReportPage, ISourceFileLocator, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.BundlePage
-
Creates a new visitor in the given context.
C
- CheckFormatterElement() - Constructor for class org.jacoco.ant.ReportTask.CheckFormatterElement
- CLASS - org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Counter for classes
- CLASS - org.jacoco.core.analysis.ICoverageNode.ElementType
-
Class
- ClassAnalyzer - Class in org.jacoco.core.internal.analysis
-
Analyzes the structure of a class.
- ClassAnalyzer(ClassCoverageImpl, boolean[], StringPool) - Constructor for class org.jacoco.core.internal.analysis.ClassAnalyzer
-
Creates a new analyzer that builds coverage data for a class.
- classCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
-
Counter for classes.
- ClassCoverageImpl - Class in org.jacoco.core.internal.analysis
-
Implementation of
IClassCoverage
. - ClassCoverageImpl(String, long, boolean) - Constructor for class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Creates a class coverage data object with the given parameters.
- CLASSDUMPDIR - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies where the agent dumps all class files it encounters.
- classElement(IClassCoverage) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'class' element.
- CLASSFILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
-
File type Java class
- classId(byte[]) - Static method in class org.jacoco.core.internal.data.CRC64
-
Calculates class identifier for the given class bytes.
- ClassInstrumenter - Class in org.jacoco.core.internal.instr
-
Adapter that instruments a class for coverage tracing.
- ClassInstrumenter(IProbeArrayStrategy, ClassVisitor) - Constructor for class org.jacoco.core.internal.instr.ClassInstrumenter
-
Emits a instrumented version of this class to the given class visitor.
- ClassPage - Class in org.jacoco.report.internal.html.page
-
Page showing coverage information for a class as a table of methods.
- ClassPage(IClassCoverage, ReportPage, ILinkable, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.ClassPage
-
Creates a new visitor in the given context.
- ClassProbesAdapter - Class in org.jacoco.core.internal.flow
-
A
ClassVisitor
that calculates probes for every method. - ClassProbesAdapter(ClassProbesVisitor, boolean) - Constructor for class org.jacoco.core.internal.flow.ClassProbesAdapter
-
Creates a new adapter that delegates to the given visitor.
- ClassProbesVisitor - Class in org.jacoco.core.internal.flow
-
A
ClassVisitor
with additional methods to get probe insertion information for each method - ClassProbesVisitor() - Constructor for class org.jacoco.core.internal.flow.ClassProbesVisitor
-
New visitor instance without delegate visitor.
- ClassProbesVisitor(ClassVisitor) - Constructor for class org.jacoco.core.internal.flow.ClassProbesVisitor
-
New visitor instance that delegates to the given visitor.
- classReaderFor(byte[]) - Static method in class org.jacoco.core.internal.instr.InstrSupport
-
Creates a
ClassReader
instance for given bytes of class even if its version not yet supported by ASM. - close() - Method in class org.jacoco.report.FileMultiReportOutput
- close() - Method in interface org.jacoco.report.IMultiReportOutput
-
Closes the underlying resource container.
- close() - Method in class org.jacoco.report.internal.xml.XMLElement
-
Closes this element if it has not been closed before.
- close() - Method in class org.jacoco.report.ZipMultiReportOutput
- code() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'code' element.
- collect(IExecutionDataVisitor, ISessionInfoVisitor, boolean) - Method in class org.jacoco.core.runtime.RuntimeData
-
Collects the current execution data and writes it to the given
IExecutionDataVisitor
object. - com.vladium.emma.rt - package com.vladium.emma.rt
-
Compatibility API for EMMA runtime.
- combine(String...) - Static method in class org.jacoco.report.internal.html.resources.Styles
-
Returns a combined style from the given styles.
- CompactDataInput - Class in org.jacoco.core.internal.data
-
Additional data input methods for compact storage of data structures.
- CompactDataInput(InputStream) - Constructor for class org.jacoco.core.internal.data.CompactDataInput
-
Creates a new
CompactDataInput
that uses the specified underlying input stream. - CompactDataOutput - Class in org.jacoco.core.internal.data
-
Additional data output methods for compact storage of data structures.
- CompactDataOutput(OutputStream) - Constructor for class org.jacoco.core.internal.data.CompactDataOutput
-
Creates a new
CompactDataOutput
instance that writes data to the specified underlying output stream - compare(ICounter, ICounter) - Method in class org.jacoco.core.analysis.CounterComparator
- compare(ICoverageNode, ICoverageNode) - Method in class org.jacoco.core.analysis.NodeComparator
- compareTo(SessionInfo) - Method in class org.jacoco.core.data.SessionInfo
- COMPLEXITY - org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Counter for cyclomatic complexity
- complexityCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
-
Counter for complexity.
- contains(String) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Checks whether execution data for classes with the given name are contained in the store.
- containsCode() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- containsCode() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Checks whether this node contains code relevant for code coverage.
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.BundlePage
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.ClassPage
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Creates the actual content of the page.
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.SessionsPage
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.SourceFilePage
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.TablePage
- ContentTypeDetector - Class in org.jacoco.core.internal
-
Detector for content types of binary streams based on a magic headers.
- ContentTypeDetector(InputStream) - Constructor for class org.jacoco.core.internal.ContentTypeDetector
-
Creates a new detector based on the given input.
- context - Variable in class org.jacoco.report.internal.html.page.ReportPage
-
context for this report
- copyResources() - Method in class org.jacoco.report.internal.html.resources.Resources
-
Copies all static resources into the report.
- counter(ICoverageNode.CounterEntity, ICounter) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'counter' element.
- COUNTER_0_0 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
-
Constant for Counter with 0/0 values.
- COUNTER_0_1 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
-
Constant for Counter with 0/1 values.
- COUNTER_1_0 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
-
Constant for Counter with 1/0 values.
- CounterColumn - Class in org.jacoco.report.internal.html.table
-
Column that prints the counter values of entities for each item and a summary in the footer.
- CounterColumn(ICoverageNode.CounterEntity, Locale, Comparator<ICoverageNode>) - Constructor for class org.jacoco.report.internal.html.table.CounterColumn
-
Creates a new column that is based on the
ICounter
for the given entity. - CounterComparator - Class in org.jacoco.core.analysis
-
Collection of comparators to compare
ICounter
objects by different criteria. - CounterImpl - Class in org.jacoco.core.internal.analysis
-
ICounter
implementations. - CounterImpl(int, int) - Constructor for class org.jacoco.core.internal.analysis.CounterImpl
-
Creates a new instance with the given numbers.
- CoverageBuilder - Class in org.jacoco.core.analysis
-
Builder for hierarchical
ICoverageNode
structures from singleIClassCoverage
nodes. - CoverageBuilder() - Constructor for class org.jacoco.core.analysis.CoverageBuilder
-
Create a new builder.
- CoverageNodeImpl - Class in org.jacoco.core.analysis
-
Base implementation for coverage data nodes.
- CoverageNodeImpl(ICoverageNode.ElementType, String) - Constructor for class org.jacoco.core.analysis.CoverageNodeImpl
-
Creates a new coverage data node.
- COVERAGETABLE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Coverage table
- CoverageTask - Class in org.jacoco.ant
-
Container task to run Java/JUnit tasks with the JaCoCo agent jar.
- CoverageTask() - Constructor for class org.jacoco.ant.CoverageTask
-
Creates a new default coverage task
- CoverageTransformer - Class in org.jacoco.agent.rt.internal
-
Class file transformer to instrument classes for code coverage analysis.
- CoverageTransformer(IRuntime, AgentOptions, IExceptionLogger) - Constructor for class org.jacoco.agent.rt.internal.CoverageTransformer
-
New transformer with the given delegates.
- covered - Variable in class org.jacoco.core.internal.analysis.CounterImpl
-
number of covered items
- COVEREDCOUNT - org.jacoco.core.analysis.ICounter.CounterValue
-
Number of covered items
- COVEREDITEMS - Static variable in class org.jacoco.core.analysis.CounterComparator
-
Compares the absolute number of covered items.
- COVEREDRATIO - org.jacoco.core.analysis.ICounter.CounterValue
-
Ratio of covered to total items
- COVEREDRATIO - Static variable in class org.jacoco.core.analysis.CounterComparator
-
Compares the ratio of covered items.
- CRC64 - Class in org.jacoco.core.internal.data
-
CRC64 checksum calculator based on the polynom specified in ISO 3309.
- createCheck() - Method in class org.jacoco.ant.ReportTask
-
Creates a new coverage check element.
- createClassfiles() - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Returns the nested resource collection for class files.
- createCsv() - Method in class org.jacoco.ant.ReportTask
-
Creates a new CSV report element.
- createExecutiondata() - Method in class org.jacoco.ant.ReportTask
-
Returns the nested resource collection for execution data files.
- createFile(String) - Method in class org.jacoco.report.FileMultiReportOutput
- createFile(String) - Method in interface org.jacoco.report.IMultiReportOutput
-
Creates a file at the given local path.
- createFile(String) - Method in class org.jacoco.report.internal.ReportOutputFolder
-
Creates a new file in this folder with the given local name.
- createFile(String) - Method in class org.jacoco.report.ZipMultiReportOutput
- createFor(long, ClassReader, IExecutionDataAccessorGenerator) - Static method in class org.jacoco.core.internal.instr.ProbeArrayStrategyFactory
-
Creates a suitable strategy instance for the class described by the given reader.
- createFor(Instrumentation, String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
Creates a new
ModifiedSystemClassRuntime
using the given class as the data container. - createFor(Instrumentation, String, String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
Creates a new
ModifiedSystemClassRuntime
using the given class as the data container. - createGroup() - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Creates a new child group.
- createHtml() - Method in class org.jacoco.ant.ReportTask
-
Creates a new HTML report element.
- createLimit() - Method in class org.jacoco.report.check.Rule
-
Creates and adds a new
Limit
. - createRandomId() - Static method in class org.jacoco.core.runtime.AbstractRuntime
-
Creates a random session identifier.
- createRule() - Method in class org.jacoco.ant.ReportTask.CheckFormatterElement
-
Creates and adds a new rule.
- createServerSocket(AgentOptions) - Method in class org.jacoco.agent.rt.internal.output.TcpServerOutput
-
Open a server socket based on the given configuration.
- createSocket(AgentOptions) - Method in class org.jacoco.agent.rt.internal.output.TcpClientOutput
-
Open a socket based on the given configuration.
- createSourcefiles() - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Returns the nested resource collection for source files.
- createStructure() - Method in class org.jacoco.ant.ReportTask
-
Returns the root group element that defines the report structure.
- createVisitor() - Method in class org.jacoco.ant.ReportTask.CheckFormatterElement
- createVisitor() - Method in class org.jacoco.ant.ReportTask.CSVFormatterElement
- createVisitor() - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
- createVisitor() - Method in class org.jacoco.ant.ReportTask.XMLFormatterElement
- createVisitor(OutputStream) - Method in class org.jacoco.report.csv.CSVFormatter
-
Creates a new visitor to write a report to the given stream.
- createVisitor(OutputStream) - Method in class org.jacoco.report.xml.XMLFormatter
-
Creates a new visitor to write a report to the given stream.
- createVisitor(IViolationsOutput) - Method in class org.jacoco.report.check.RulesChecker
-
Creates a new visitor to process the configured checks.
- createVisitor(IMultiReportOutput) - Method in class org.jacoco.report.html.HTMLFormatter
-
Creates a new visitor to write a report to the given output.
- createXml() - Method in class org.jacoco.ant.ReportTask
-
Creates a new XML report element.
- CSVFormatter - Class in org.jacoco.report.csv
-
Report formatter that will create a single CSV file.
- CSVFormatter() - Constructor for class org.jacoco.report.csv.CSVFormatter
- CSVFormatterElement() - Constructor for class org.jacoco.ant.ReportTask.CSVFormatterElement
- CTR1 - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table cells for the first column of a counter
- CTR2 - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table cells for the second column of a counter
D
- data - Variable in class org.jacoco.core.runtime.AbstractRuntime
-
access to the runtime data
- DATAFIELD_ACC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Access modifiers of the field that stores coverage information of a class.
- DATAFIELD_DESC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Data type of the field that stores coverage information for a class (
boolean[]
). - DATAFIELD_INTF_ACC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Access modifiers of the field that stores coverage information of a Java 8 interface.
- DATAFIELD_NAME - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Name of the field that stores coverage information of a class.
- DEFAULT_ADDRESS - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Default value for the "address" agent option.
- DEFAULT_DESTFILE - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Default value for the "destfile" agent option.
- DEFAULT_PORT - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Default value for the "port" agent option.
- DESTFILE - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies the output file for execution data.
- DirectorySourceFileLocator - Class in org.jacoco.report
-
Locator for source files that picks source files from a given directory in the file system.
- DirectorySourceFileLocator(File, String, int) - Constructor for class org.jacoco.report.DirectorySourceFileLocator
-
Creates a new locator that searches for source files in the given directory.
- div(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'div' element.
- DOWN - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table header for column sorted downwards
- dump(boolean) - Method in interface org.jacoco.agent.rt.IAgent
-
Triggers a dump of the current execution data through the configured output.
- dump(boolean) - Method in class org.jacoco.agent.rt.internal.Agent
- dump(String, int) - Method in class org.jacoco.core.tools.ExecDumpClient
-
Requests a dump from the given end-point.
- dump(InetAddress, int) - Method in class org.jacoco.core.tools.ExecDumpClient
-
Requests a dump from the given end-point.
- dumpCoverageData(File, boolean) - Static method in class com.vladium.emma.rt.RT
-
Deprecated.Writes the current execution data to the given file in JaCoCo execution data format.
- dumpCoverageData(File, boolean, boolean) - Static method in class com.vladium.emma.rt.RT
-
Deprecated.Writes the current execution data to the given file in JaCoCo execution data format.
- DUMPONEXIT - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether the agent will automatically dump coverage data on VM exit.
- DumpTask - Class in org.jacoco.ant
-
Ant task for remotely controlling an application that is running with the tcpserver output mode
- DumpTask() - Constructor for class org.jacoco.ant.DumpTask
E
- EL_BUNDLE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Bundle element
- EL_CLASS - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Class element
- EL_GROUP - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Group element
- EL_METHOD - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Method element
- EL_PACKAGE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Package element
- EL_REPORT - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Report element
- EL_SESSION - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Sessions element
- EL_SOURCE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Source file element
- element - Variable in class org.jacoco.report.internal.xml.XMLGroupVisitor
-
XML element of this group
- element(String) - Method in class org.jacoco.report.internal.html.HTMLElement
- element(String) - Method in class org.jacoco.report.internal.xml.ReportElement
- element(String) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Creates a new child element for this element.
- ElementIndex - Class in org.jacoco.report.internal.html.index
-
An index over all report pages that allows queries according to certain criteria.
- ElementIndex(ReportOutputFolder) - Constructor for class org.jacoco.report.internal.html.index.ElementIndex
-
Creates a new empty index for a HTML report.
- EMPTY - Static variable in interface org.jacoco.core.analysis.ICounter
-
Status flag for no items (value is 0x00).
- EMPTY - Static variable in class org.jacoco.core.internal.analysis.LineImpl
-
Empty line without instructions or branches.
- ensureCapacity(int, int) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
-
Make sure that the internal buffer can keep lines from first to last.
- EnumEmptyConstructorFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters empty enum constructors.
- EnumEmptyConstructorFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.EnumEmptyConstructorFilter
- EnumFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters methods
values
andvalueOf
that compiler creates for enums. - EnumFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.EnumFilter
- equals(Object) - Method in class org.jacoco.core.internal.analysis.CounterImpl
- equals(Object) - Method in class org.jacoco.core.internal.analysis.LineImpl
- equals(Object) - Method in class org.jacoco.core.runtime.RuntimeData
-
In violation of the regular semantic of
Object.equals(Object)
this implementation is used as the interface to the execution data store. - EXCLCLASSLOADER - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Wildcard expression for class loaders names for classes that should be excluded from code coverage.
- EXCLUDES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Wildcard expression for class names that should be excluded from code coverage.
- ExecDumpClient - Class in org.jacoco.core.tools
-
A client for remote execution data dumps.
- ExecDumpClient() - Constructor for class org.jacoco.core.tools.ExecDumpClient
-
New instance with the defaults
dump==true
,reset==false
,retryCount==0
andretryDelay=1000
. - ExecFileLoader - Class in org.jacoco.core.tools
-
Convenience utility for loading *.exec files into a
ExecutionDataStore
and aSessionInfoStore
. - ExecFileLoader() - Constructor for class org.jacoco.core.tools.ExecFileLoader
-
New instance to combine session infos and execution data from multiple files.
- execute() - Method in class org.jacoco.ant.AgentTask
-
Unpacks a private copy of the JaCoCo agent and populates
property
with the JVM arguments required to use it. - execute() - Method in class org.jacoco.ant.CoverageTask
-
Executes subtask and performs any required cleanup
- execute() - Method in class org.jacoco.ant.DumpTask
- execute() - Method in class org.jacoco.ant.InstrumentTask
- execute() - Method in class org.jacoco.ant.MergeTask
- execute() - Method in class org.jacoco.ant.ReportTask
- ExecutionData - Class in org.jacoco.core.data
-
Execution data for a single Java class.
- ExecutionData(long, String, boolean[]) - Constructor for class org.jacoco.core.data.ExecutionData
-
Creates a new
ExecutionData
object with the given probe data. - ExecutionData(long, String, int) - Constructor for class org.jacoco.core.data.ExecutionData
-
Creates a new
ExecutionData
object with the given probe data length. - ExecutionDataReader - Class in org.jacoco.core.data
-
Deserialization of execution data from binary streams.
- ExecutionDataReader(InputStream) - Constructor for class org.jacoco.core.data.ExecutionDataReader
-
Creates a new reader based on the given input stream input.
- ExecutionDataStore - Class in org.jacoco.core.data
-
In-memory data store for execution data.
- ExecutionDataStore() - Constructor for class org.jacoco.core.data.ExecutionDataStore
- ExecutionDataWriter - Class in org.jacoco.core.data
-
Serialization of execution data into binary streams.
- ExecutionDataWriter(OutputStream) - Constructor for class org.jacoco.core.data.ExecutionDataWriter
-
Creates a new writer based on the given output stream.
- extractTo(File) - Static method in class org.jacoco.agent.AgentJar
-
Extract the JaCoCo agent JAR and put it into the specified location.
- extractToTempLocation() - Static method in class org.jacoco.agent.AgentJar
-
Extract the JaCoCo agent JAR and put it into a temporary location.
F
- file - org.jacoco.core.runtime.AgentOptions.OutputMode
-
Value for the
AgentOptions.OUTPUT
parameter: At VM termination execution data is written to the file specified byAgentOptions.DESTFILE
. - FileMultiReportOutput - Class in org.jacoco.report
-
Implementation of
IMultiReportOutput
that writes files directly to a given directory. - FileMultiReportOutput(File) - Constructor for class org.jacoco.report.FileMultiReportOutput
-
Creates a new instance for document output in the given base directory.
- FileOutput - Class in org.jacoco.agent.rt.internal.output
-
Local only agent output that will write coverage data to the filesystem.
- FileOutput() - Constructor for class org.jacoco.agent.rt.internal.output.FileOutput
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.AnnotationGeneratedFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.EnumEmptyConstructorFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.EnumFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.Filters
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.FinallyFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in interface org.jacoco.core.internal.analysis.filter.IFilter
-
This method is called for every method.
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinCoroutineFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinDefaultArgumentsFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinGeneratedFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinInlineFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinLateinitFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinNotNullOperatorFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinUnsafeCastOperatorFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinWhenFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.KotlinWhenStringFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.PrivateEmptyNoArgConstructorFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.StringSwitchEcjFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.StringSwitchJavacFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.SynchronizedFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.SyntheticFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.TryWithResourcesEcjFilter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.TryWithResourcesJavac11Filter
- filter(MethodNode, IFilterContext, IFilterOutput) - Method in class org.jacoco.core.internal.analysis.filter.TryWithResourcesJavacFilter
- filterEntry(String, InputStream, OutputStream) - Method in class org.jacoco.core.internal.instr.SignatureRemover
-
Filters the content of the entry with the provided name if necessary.
- Filters - Class in org.jacoco.core.internal.analysis.filter
-
Filter that combines other filters.
- FinallyFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters duplicates of finally blocks that compiler generates.
- FinallyFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.FinallyFilter
- flush() - Method in class org.jacoco.core.data.ExecutionDataWriter
-
Flushes the underlying stream.
- folder - Variable in class org.jacoco.report.internal.html.page.ReportPage
-
output folder for this node
- footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.BarColumn
- footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.CounterColumn
- footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in interface org.jacoco.report.internal.html.table.IColumnRenderer
-
Renders the footer for this column.
- footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.LabelColumn
- footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.PercentageColumn
- FOOTER - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Footer
- FORMAT_VERSION - Static variable in class org.jacoco.core.data.ExecutionDataWriter
-
File format version, will be incremented for each incompatible change.
- FULLY_COVERED - Static variable in interface org.jacoco.core.analysis.ICounter
-
Status flag when all items are covered (value is 0x02).
- FULLY_COVERED - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Part of source code where instructions are is fully covered
G
- generateAccessCall(long, String, int, MethodVisitor) - Static method in class org.jacoco.core.runtime.RuntimeData
-
Generates the code that calls a
RuntimeData
instance through the JRE API methodObject.equals(Object)
. - generateArgumentArray(long, String, int, MethodVisitor) - Static method in class org.jacoco.core.runtime.RuntimeData
-
Generates code that creates the argument array for the
RuntimeData.getProbes(Object[])
method. - generateDataAccessor(long, String, int, MethodVisitor) - Method in interface org.jacoco.core.runtime.IExecutionDataAccessorGenerator
-
This method generates the byte code required to obtain the coverage data structure for the class with the given id.
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.InjectedClassRuntime
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.LoggerRuntime
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.OfflineInstrumentationAccessGenerator
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
- get(long) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Returns the
ExecutionData
entry with the given id if it exists in this store. - get(Long, String, int) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Returns the coverage data for the class with the given identifier.
- get(String) - Method in class org.jacoco.core.internal.analysis.StringPool
-
Returns a normalized instance that is equal to the given
String
. - get(String[]) - Method in class org.jacoco.core.internal.analysis.StringPool
-
Returns a modified version of the array with all string slots normalized.
- getActualVersion() - Method in exception org.jacoco.core.data.IncompatibleExecDataVersionException
-
Gets the actual version found in the execution data.
- getAddress() - Method in class org.jacoco.core.runtime.AgentOptions
-
Gets the hostname or IP address to listen to when output is
tcpserver
or connect to when output istcpclient
- getAgent() - Static method in class org.jacoco.agent.rt.RT
-
Returns the agent instance of the JaCoCo runtime in this JVM.
- getAppend() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether the output should be appended to an existing file.
- getBranchCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getBranchCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for branches.
- getBranchCounter() - Method in interface org.jacoco.core.analysis.ILine
-
Returns the branches counter for this line.
- getBranchCounter() - Method in class org.jacoco.core.internal.analysis.Instruction
-
Returns the branch coverage counter of this instruction.
- getBranchCounter() - Method in class org.jacoco.core.internal.analysis.LineImpl
- getBundle(String) - Method in class org.jacoco.core.analysis.CoverageBuilder
-
Creates a bundle from all nodes currently contained in this bundle.
- getClassAnnotations() - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- getClassAnnotations() - Method in interface org.jacoco.core.internal.analysis.filter.IFilterContext
- getClassCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getClassCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for classes.
- getClassDumpDir() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the location of the directory where class files should be dumped to.
- getClasses() - Method in class org.jacoco.core.analysis.CoverageBuilder
-
Returns all class nodes currently contained in this builder.
- getClasses() - Method in interface org.jacoco.core.analysis.IPackageCoverage
-
Returns all classes contained in this package.
- getClasses() - Method in class org.jacoco.core.internal.analysis.PackageCoverageImpl
- getClassName() - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- getClassName() - Method in interface org.jacoco.core.internal.analysis.filter.IFilterContext
- getClassName(String, String, String, String[]) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific name of a class.
- getClassName(String, String, String, String[]) - Method in class org.jacoco.report.JavaNames
- getComparator() - Method in class org.jacoco.report.internal.html.table.BarColumn
- getComparator() - Method in class org.jacoco.report.internal.html.table.CounterColumn
- getComparator() - Method in interface org.jacoco.report.internal.html.table.IColumnRenderer
-
Returns the comparator to sort this table column.
- getComparator() - Method in class org.jacoco.report.internal.html.table.LabelColumn
- getComparator() - Method in class org.jacoco.report.internal.html.table.PercentageColumn
- getComplexityCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getComplexityCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for cyclomatic complexity.
- getContents() - Method in class org.jacoco.core.data.ExecutionDataStore
-
Returns a collection that represents current contents of the store.
- getCounter(ICoverageNode.CounterEntity) - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getCounter(ICoverageNode.CounterEntity) - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Generic access to the the counters.
- getCoveredCount() - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the count of covered items.
- getCoveredCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- getCoveredRatio() - Method in interface org.jacoco.core.analysis.ICounter
-
Calculates the ratio of covered to total count items.
- getCoveredRatio() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- getData() - Method in class org.jacoco.agent.rt.internal.Agent
-
Returns the runtime data object created by this agent
- getDesc() - Method in interface org.jacoco.core.analysis.IMethodCoverage
-
Returns the descriptor of the method.
- getDesc() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
- getDestfile() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the output file location.
- getDumpOnExit() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether coverage data should be dumped on exit.
- getDumpTimeStamp() - Method in class org.jacoco.core.data.SessionInfo
- getElement() - Method in class org.jacoco.report.check.Rule
- getElementStyle(ICoverageNode.ElementType) - Static method in class org.jacoco.report.internal.html.resources.Resources
-
Determines the style sheet class for the given element type.
- getElementType() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getElementType() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the type of element represented by this node.
- getEntity() - Method in class org.jacoco.report.check.Limit
- getExclClassloader() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the wildcard expression for excluded class loaders.
- getExcludes() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the wildcard expression for classes to exclude.
- getExcludes() - Method in class org.jacoco.report.check.Rule
- getExecutionData(boolean) - Method in interface org.jacoco.agent.rt.IAgent
-
Returns current execution data.
- getExecutionData(boolean) - Method in class org.jacoco.agent.rt.internal.Agent
- getExecutionData(Long, String, int) - Method in class org.jacoco.core.runtime.RuntimeData
-
Returns the coverage data for the class with the given identifier.
- getExecutionDataStore() - Method in class org.jacoco.core.tools.ExecFileLoader
-
Returns the execution data store with data for all loaded classes.
- getExpectedVersion() - Method in exception org.jacoco.core.data.IncompatibleExecDataVersionException
-
Gets the version expected in the execution data which can be read by this version of JaCoCo.
- getFileHeader() - Static method in class org.jacoco.core.data.ExecutionDataWriter
-
Returns the first bytes of a file that represents a valid execution data file.
- getFileName() - Method in class org.jacoco.report.internal.html.page.BundlePage
- getFileName() - Method in class org.jacoco.report.internal.html.page.ClassPage
- getFileName() - Method in class org.jacoco.report.internal.html.page.GroupPage
- getFileName() - Method in class org.jacoco.report.internal.html.page.PackagePage
- getFileName() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
- getFileName() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Specifies the local file name of this page.
- getFileName() - Method in class org.jacoco.report.internal.html.page.SessionsPage
- getFileName() - Method in class org.jacoco.report.internal.html.page.SourceFilePage
- getFirstLine() - Method in interface org.jacoco.core.analysis.ISourceNode
-
The number of the first line coverage information is available for.
- getFirstLine() - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
- getFooterText() - Method in class org.jacoco.report.html.HTMLFormatter
- getFooterText() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns a string of textual information to include in every page footer.
- getId() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the identifier for this class which is the CRC64 signature of the class definition.
- getId() - Method in class org.jacoco.core.data.ExecutionData
-
Return the unique identifier for this class.
- getId() - Method in class org.jacoco.core.data.SessionInfo
- getId() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- getInclBootstrapClasses() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether classes from the bootstrap classloader should be instrumented.
- getInclNoLocationClasses() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether classes without source location should be instrumented.
- getIncludes() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the wildcard expression for classes to include.
- getIncludes() - Method in class org.jacoco.report.check.Rule
- getIndexUpdate() - Method in class org.jacoco.report.html.HTMLFormatter
- getIndexUpdate() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the service for index updates.
- getInetAddress(String) - Method in class org.jacoco.agent.rt.internal.output.TcpServerOutput
-
Returns the
InetAddress
object to open the server socket on. - getInfos() - Method in class org.jacoco.core.data.SessionInfoStore
-
Returns all
SessionInfo
objects currently contained in the store. - getInputStream() - Method in class org.jacoco.core.internal.ContentTypeDetector
-
Returns an input stream instance to read the complete content (including the header) of the underlying stream.
- getInstance() - Static method in class org.jacoco.agent.rt.internal.Agent
-
Returns a global instance which is already started.
- getInstance(int, int) - Static method in class org.jacoco.core.internal.analysis.CounterImpl
-
Factory method to retrieve a counter with the given number of items.
- getInstance(ICounter) - Static method in class org.jacoco.core.internal.analysis.CounterImpl
-
Factory method to retrieve a clone of the given counter.
- getInstance(AgentOptions) - Static method in class org.jacoco.agent.rt.internal.Agent
-
Returns a global instance which is already started.
- getInstruction(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Returns the corresponding instruction for the given label if one has been defined.
- getInstructionCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getInstructionCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for byte code instructions.
- getInstructionCounter() - Method in interface org.jacoco.core.analysis.ILine
-
Returns the instruction counter for this line.
- getInstructionCounter() - Method in class org.jacoco.core.internal.analysis.Instruction
-
Returns the instruction coverage counter of this instruction.
- getInstructionCounter() - Method in class org.jacoco.core.internal.analysis.LineImpl
- getInterfaceNames() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the VM names of implemented/extended interfaces.
- getInterfaceNames() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- getIntermediateLabel(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Returns the intermediate label for the given label if one has been defined.
- getJmx() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether the agent exposes functionality via JMX.
- getLanguageNames() - Method in class org.jacoco.report.csv.CSVFormatter
-
Returns the language names call-back used in this report.
- getLanguageNames() - Method in class org.jacoco.report.html.HTMLFormatter
- getLanguageNames() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the language names call-back used in this report.
- getLastLine() - Method in interface org.jacoco.core.analysis.ISourceNode
-
The number of the last line coverage information is available for.
- getLastLine() - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
- getLaunchingArgument() - Method in class org.jacoco.ant.AbstractCoverageTask
-
Creates JVM argument to launch with the specified JaCoCo agent jar and the current options
- getLimits() - Method in class org.jacoco.report.check.Rule
- getLine() - Method in class org.jacoco.core.internal.analysis.Instruction
-
Returns the source line this instruction belongs to.
- getLine(int) - Method in interface org.jacoco.core.analysis.ISourceNode
-
Returns the line information for given line.
- getLine(int) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
- getLineCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getLineCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for lines.
- getLink(ReportOutputFolder) - Method in interface org.jacoco.report.internal.html.ILinkable
-
Returns a relative link to the item that works from the given base folder.
- getLink(ReportOutputFolder) - Method in class org.jacoco.report.internal.html.page.ReportPage
- getLink(ReportOutputFolder, String) - Method in class org.jacoco.report.internal.html.resources.Resources
-
Returns a relative link to a static resource.
- getLink(ReportOutputFolder, String) - Method in class org.jacoco.report.internal.ReportOutputFolder
-
Returns a link relative to a given base to a resource within this folder.
- getLinkLabel() - Method in interface org.jacoco.report.internal.html.ILinkable
-
Returns the display label used for the link.
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.ClassPage
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.NodePage
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.PackagePage
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.SessionsPage
- getLinkStyle() - Method in interface org.jacoco.report.internal.html.ILinkable
-
Optional style class to be associated with the link.
- getLinkStyle() - Method in class org.jacoco.report.internal.html.page.NodePage
- getLinkStyle() - Method in class org.jacoco.report.internal.html.page.SessionsPage
- getLinkToClass(long) - Method in class org.jacoco.report.internal.html.index.ElementIndex
-
Returns the link to the class with the given identifier if a corresponding page exists.
- getLocale() - Method in class org.jacoco.report.html.HTMLFormatter
- getLocale() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the locale used to format numbers and dates.
- getMaximum() - Method in class org.jacoco.report.check.Limit
- getMerged(String) - Method in class org.jacoco.core.data.SessionInfoStore
-
Returns a new session info with the given id that contains a merged version from all contained version.
- getMethodCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getMethodCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for methods.
- getMethodName(String, String, String, String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific name of a method.
- getMethodName(String, String, String, String) - Method in class org.jacoco.report.JavaNames
- getMethods() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the methods included in this class.
- getMethods() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- getMinimum() - Method in class org.jacoco.report.check.Limit
- getMissedCount() - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the count of missed items.
- getMissedCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- getMissedRatio() - Method in interface org.jacoco.core.analysis.ICounter
-
Calculates the ratio of missed to total count items.
- getMissedRatio() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- getName() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getName() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the name of this node.
- getName() - Method in class org.jacoco.core.data.ExecutionData
-
The VM name of the class.
- getNode() - Method in class org.jacoco.report.internal.html.page.NodePage
- getNode() - Method in interface org.jacoco.report.internal.html.table.ITableItem
-
Returns the corresponding node data.
- getNoMatchClasses() - Method in class org.jacoco.core.analysis.CoverageBuilder
-
Returns all classes for which execution data does not match.
- getOnload() - Method in class org.jacoco.report.internal.html.page.BundlePage
- getOnload() - Method in class org.jacoco.report.internal.html.page.ClassPage
- getOnload() - Method in class org.jacoco.report.internal.html.page.GroupPage
- getOnload() - Method in class org.jacoco.report.internal.html.page.PackagePage
- getOnload() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
- getOnload() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Returns the onload handler for this page.
- getOnload() - Method in class org.jacoco.report.internal.html.page.SourceFilePage
- getOutput() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the output mode
- getOutputEncoding() - Method in class org.jacoco.report.html.HTMLFormatter
- getOutputEncoding() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the encoding of the generated HTML documents.
- getPackageName() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the VM name of the package this class belongs to.
- getPackageName() - Method in interface org.jacoco.core.analysis.ISourceFileCoverage
-
Returns the VM name of the package the source file belongs to.
- getPackageName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- getPackageName() - Method in class org.jacoco.core.internal.analysis.SourceFileCoverageImpl
- getPackageName(String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific name of a package.
- getPackageName(String) - Method in class org.jacoco.report.JavaNames
- getPackages() - Method in interface org.jacoco.core.analysis.IBundleCoverage
-
Returns all packages contained in this bundle.
- getPackages() - Method in class org.jacoco.core.internal.analysis.BundleCoverageImpl
- getPage() - Method in class org.jacoco.report.internal.html.HTMLGroupVisitor
-
Returns the page rendered for this group.
- getPlainCopy() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- getPlainCopy() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Creates a plain copy of this node.
- getPort() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the port on which to listen to when the output is
tcpserver
or the port to connect to when output istcpclient
. - getProbeId(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Returns the assigned probe id.
- getProbes() - Method in class org.jacoco.core.data.ExecutionData
-
Returns the execution data probes.
- getProbes(long, String, int) - Static method in class org.jacoco.agent.rt.internal.Offline
-
API for offline instrumented classes.
- getProbes(Object[]) - Method in class org.jacoco.core.runtime.RuntimeData
-
Retrieves the execution probe array for a given class.
- getQualifiedClassName(String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific qualified name of a class.
- getQualifiedClassName(String) - Method in class org.jacoco.report.JavaNames
- getQualifiedMethodName(String, String, String, String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific fully qualified name of a method.
- getQualifiedMethodName(String, String, String, String) - Method in class org.jacoco.report.JavaNames
- getQuotedVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
-
Generate required quoted JVM argument based on current configuration and supplied agent jar location.
- getResource() - Static method in class org.jacoco.agent.AgentJar
-
Returns a URL pointing to the JAR file.
- getResourceAsStream() - Static method in class org.jacoco.agent.AgentJar
-
Returns the content of the JAR file as a stream.
- getResources() - Method in class org.jacoco.report.html.HTMLFormatter
- getResources() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the static resources used in this report.
- getSessionId() - Method in interface org.jacoco.agent.rt.IAgent
-
Returns current a session identifier.
- getSessionId() - Method in class org.jacoco.agent.rt.internal.Agent
- getSessionId() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the session identifier.
- getSessionId() - Method in class org.jacoco.core.runtime.RuntimeData
-
Get the current a session identifier for this runtime.
- getSessionInfoStore() - Method in class org.jacoco.core.tools.ExecFileLoader
-
Returns the session info store with all loaded sessions.
- getSessionsPage() - Method in class org.jacoco.report.html.HTMLFormatter
- getSessionsPage() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the link to the sessions page.
- getSignature() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the VM signature of the class.
- getSignature() - Method in interface org.jacoco.core.analysis.IMethodCoverage
-
Returns the generic signature of the method if defined.
- getSignature() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- getSignature() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
- getSourceDebugExtension() - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- getSourceDebugExtension() - Method in interface org.jacoco.core.internal.analysis.filter.IFilterContext
- getSourceFile(String, String) - Method in class org.jacoco.report.InputStreamSourceFileLocator
- getSourceFile(String, String) - Method in interface org.jacoco.report.ISourceFileLocator
-
Tries to locate the given source file and opens a reader with the appropriate encoding.
- getSourceFile(String, String) - Method in class org.jacoco.report.MultiSourceFileLocator
- getSourceFileName() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the optional name of the corresponding source file.
- getSourceFileName() - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- getSourceFileName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- getSourceFileName() - Method in interface org.jacoco.core.internal.analysis.filter.IFilterContext
- getSourceFiles() - Method in class org.jacoco.core.analysis.CoverageBuilder
-
Returns all source file nodes currently contained in this builder.
- getSourceFiles() - Method in interface org.jacoco.core.analysis.IPackageCoverage
-
Returns all source files in this package.
- getSourceFiles() - Method in class org.jacoco.core.internal.analysis.PackageCoverageImpl
- getSourceStream(String) - Method in class org.jacoco.report.DirectorySourceFileLocator
- getSourceStream(String) - Method in class org.jacoco.report.InputStreamSourceFileLocator
-
Tries to locate the given source file and opens its binary content.
- getStartTimeStamp() - Method in class org.jacoco.core.data.SessionInfo
- getStatus() - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the coverage status of this counter.
- getStatus() - Method in interface org.jacoco.core.analysis.ILine
-
Returns the coverage status of this line, calculated from the instructions counter and branch counter.
- getStatus() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- getStatus() - Method in class org.jacoco.core.internal.analysis.LineImpl
- getSuperClassName() - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- getSuperClassName() - Method in interface org.jacoco.core.internal.analysis.filter.IFilterContext
- getSuperName() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the VM name of the superclass.
- getSuperName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- getTable() - Method in class org.jacoco.report.html.HTMLFormatter
- getTable() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns a table for rendering coverage nodes.
- getTabWidth() - Method in class org.jacoco.report.InputStreamSourceFileLocator
- getTabWidth() - Method in interface org.jacoco.report.ISourceFileLocator
-
Returns number of blank characters that represent a tab in source code.
- getTabWidth() - Method in class org.jacoco.report.MultiSourceFileLocator
- getTotalCount() - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the total count of items.
- getTotalCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- getType() - Method in class org.jacoco.core.internal.ContentTypeDetector
-
Returns the detected file type.
- getValue() - Method in class org.jacoco.report.check.Limit
- getValue(ICounter) - Method in class org.jacoco.report.internal.html.table.CounterColumn
-
Retrieves the respective value from the counter.
- getValue(ICounter.CounterValue) - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the counter value of the given type.
- getValue(ICounter.CounterValue) - Method in class org.jacoco.core.internal.analysis.CounterImpl
- getVersion() - Method in interface org.jacoco.agent.rt.IAgent
-
Returns version of JaCoCo.
- getVersion() - Method in class org.jacoco.agent.rt.internal.Agent
- getVersionMajor(byte[]) - Static method in class org.jacoco.core.internal.instr.InstrSupport
-
Gets major of bytecode version number from given bytes of class.
- getVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
-
Generate required JVM argument based on current configuration and supplied agent jar location.
- GREENBAR - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the green part of the coverage bar
- group(String) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'group' element.
- GROUP - org.jacoco.core.analysis.ICoverageNode.ElementType
-
Logical Group of Bundles
- GroupElement() - Constructor for class org.jacoco.ant.ReportTask.GroupElement
- GroupPage - Class in org.jacoco.report.internal.html.page
-
Page showing coverage information for a node that groups other nodes.
- GroupPage(ICoverageNode, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.GroupPage
-
Creates a new visitor in the given context.
- GZFILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
-
File type GZIP compressed Data
H
- h1() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'h1' element.
- handleBundle(IBundleCoverage, ISourceFileLocator) - Method in class org.jacoco.report.internal.AbstractGroupVisitor
-
Called to handle the given bundle in a specific way.
- handleBundle(IBundleCoverage, ISourceFileLocator) - Method in class org.jacoco.report.internal.html.HTMLGroupVisitor
- handleBundle(IBundleCoverage, ISourceFileLocator) - Method in class org.jacoco.report.internal.xml.XMLGroupVisitor
- handleEnd() - Method in class org.jacoco.report.internal.AbstractGroupVisitor
-
Called to handle the end of this group in a specific way.
- handleEnd() - Method in class org.jacoco.report.internal.html.HTMLGroupVisitor
- handleEnd() - Method in class org.jacoco.report.internal.xml.XMLGroupVisitor
- handleGroup(String) - Method in class org.jacoco.report.internal.AbstractGroupVisitor
-
Called to handle a group with the given name in a specific way.
- handleGroup(String) - Method in class org.jacoco.report.internal.html.HTMLGroupVisitor
- handleGroup(String) - Method in class org.jacoco.report.internal.xml.XMLGroupVisitor
- hashCode() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- hashCode() - Method in class org.jacoco.core.internal.analysis.LineImpl
- hasHits() - Method in class org.jacoco.core.data.ExecutionData
-
Checks whether any probe has been hit.
- head() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'head' element.
- head(HTMLElement) - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Creates the elements within the head element.
- head(HTMLElement) - Method in class org.jacoco.report.internal.html.page.SourceFilePage
- head(HTMLElement) - Method in class org.jacoco.report.internal.html.page.TablePage
- HOMEURL - Static variable in class org.jacoco.core.JaCoCo
-
Absolute URL of the current JaCoCo home page
- HTMLElement - Class in org.jacoco.report.internal.html
-
A
XMLElement
with utility methods to create XHTML documents. - HTMLElement(OutputStream, String) - Constructor for class org.jacoco.report.internal.html.HTMLElement
-
Creates a
html
root element of a XHTML document. - HTMLFormatter - Class in org.jacoco.report.html
-
Formatter for coverage reports in multiple HTML pages.
- HTMLFormatter() - Constructor for class org.jacoco.report.html.HTMLFormatter
-
New instance with default settings.
- HTMLFormatterElement() - Constructor for class org.jacoco.ant.ReportTask.HTMLFormatterElement
- HTMLGroupVisitor - Class in org.jacoco.report.internal.html
-
Group visitor for HTML reports.
- HTMLGroupVisitor(ReportPage, ReportOutputFolder, IHTMLReportContext, String) - Constructor for class org.jacoco.report.internal.html.HTMLGroupVisitor
-
Create a new group handler.
I
- IAgent - Interface in org.jacoco.agent.rt
-
Runtime API and MBean agent interface.
- IAgentOutput - Interface in org.jacoco.agent.rt.internal.output
-
Common interface for different implementations that outputs execution data dumps.
- IBundleCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a bundle.
- IClassCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a single class containing methods.
- IColumnRenderer - Interface in org.jacoco.report.internal.html.table
-
Renderer for a single column of a coverage table.
- ICounter - Interface in org.jacoco.core.analysis
-
A counter holds the missed and the covered number of particular items like classes, methods, branches or instructions.
- ICounter.CounterValue - Enum in org.jacoco.core.analysis
-
Different values provided by a counter.
- ICoverageNode - Interface in org.jacoco.core.analysis
-
Interface for hierarchical coverage data nodes with different coverage counters.
- ICoverageNode.CounterEntity - Enum in org.jacoco.core.analysis
-
Different counter types supported by JaCoCo.
- ICoverageNode.ElementType - Enum in org.jacoco.core.analysis
-
Type of a Java element represented by a
ICoverageNode
instance. - ICoverageVisitor - Interface in org.jacoco.core.analysis
-
Interface for coverage data output as a stream of
IClassCoverage
instances. - IExceptionLogger - Interface in org.jacoco.agent.rt.internal
-
At several places exception might occur that should be reported.
- IExecutionDataAccessorGenerator - Interface in org.jacoco.core.runtime
-
The instrumented classes need a piece of code that obtains a
boolean[]
instance from the runtime. - IExecutionDataVisitor - Interface in org.jacoco.core.data
-
Interface for data output of collected execution data.
- IFilter - Interface in org.jacoco.core.internal.analysis.filter
-
Interface for filter implementations.
- IFilterContext - Interface in org.jacoco.core.internal.analysis.filter
-
Context information provided to filters.
- IFilterOutput - Interface in org.jacoco.core.internal.analysis.filter
-
Interface used by filters to mark filtered items.
- IFrame - Interface in org.jacoco.core.internal.flow
-
Representation of the current stackmap frame content.
- ignore(AbstractInsnNode, AbstractInsnNode) - Method in interface org.jacoco.core.internal.analysis.filter.IFilterOutput
-
Marks sequence of instructions that should be ignored during computation of coverage.
- IHTMLReportContext - Interface in org.jacoco.report.internal.html
-
Context and configuration information during creation of a HTML report.
- IIndexUpdate - Interface in org.jacoco.report.internal.html.index
-
Every report page that should become part of the index must be added via this interface.
- ILanguageNames - Interface in org.jacoco.report
-
Interface to create programming language specific names from VM names.
- ILine - Interface in org.jacoco.core.analysis
-
The instruction and branch coverage of a single source line is described by this interface.
- ILinkable - Interface in org.jacoco.report.internal.html
-
Abstraction for items that can be linked to in a report.
- IMethodCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a single method.
- img(String, int, int, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'img' element.
- IMultiReportOutput - Interface in org.jacoco.report
-
Interface to emit multiple binary files.
- in - Variable in class org.jacoco.core.data.ExecutionDataReader
-
Underlying data input
- INCLBOOTSTRAPCLASSES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether also classes from the bootstrap classloader should be instrumented.
- INCLNOLOCATIONCLASSES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether also classes without a source location should be instrumented.
- INCLUDES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Wildcard expression for class names that should be included for code coverage.
- IncompatibleExecDataVersionException - Exception in org.jacoco.core.data
-
Signals that execution data in an incompatible version was tried to read.
- IncompatibleExecDataVersionException(int) - Constructor for exception org.jacoco.core.data.IncompatibleExecDataVersionException
-
Creates a new exception to flag version mismatches in execution data.
- increment(int, int) - Method in class org.jacoco.core.internal.analysis.CounterImpl
-
Returns a counter with values incremented by the given numbers.
- increment(Collection<? extends ICoverageNode>) - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
Increments the counters by the values given by the collection of elements.
- increment(ICounter) - Method in class org.jacoco.core.internal.analysis.CounterImpl
-
Returns a counter with values incremented by the numbers of the given counter.
- increment(ICounter, ICounter) - Method in class org.jacoco.core.internal.analysis.LineImpl
-
Adds the given counters to this line.
- increment(ICounter, ICounter, int) - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
- increment(ICounter, ICounter, int) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
-
Increments instructions and branches by the given counter values.
- increment(ICoverageNode) - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
Increments the counters by the values given by another element.
- increment(ISourceNode) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
-
Increments all counters by the values of the given child.
- incrementMethodCounter() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
-
This method must be called exactly once after all instructions and branches have been incremented for this method coverage node.
- INFO - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Info links within the Breadcrumb bar
- infoLinks(HTMLElement) - Method in class org.jacoco.report.internal.html.page.PackagePage
- infoLinks(HTMLElement) - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
- infoLinks(HTMLElement) - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Inserts additional links on the top right corner.
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.BarColumn
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.CounterColumn
- init(List<? extends ITableItem>, ICoverageNode) - Method in interface org.jacoco.report.internal.html.table.IColumnRenderer
-
Initializes the column before any output method is called.
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.LabelColumn
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.PercentageColumn
- INITMETHOD_ACC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Access modifiers of the initialization method.
- INITMETHOD_DESC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Descriptor of the initialization method.
- INITMETHOD_NAME - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Name of the initialization method.
- InjectedClassRuntime - Class in org.jacoco.core.runtime
-
IRuntime
which defines a new class usingjava.lang.invoke.MethodHandles.Lookup.defineClass
introduced in Java 9. - InjectedClassRuntime(Class<?>, String) - Constructor for class org.jacoco.core.runtime.InjectedClassRuntime
-
Creates a new runtime which will define a class to the same class loader and in the same package and protection domain as given class.
- InputStreams - Class in org.jacoco.core.internal
-
Utilities for
InputStream
s. - InputStreamSourceFileLocator - Class in org.jacoco.report
-
Abstract base class for
ISourceFileLocator
locator implementations based onInputStream
s. - InputStreamSourceFileLocator(String, int) - Constructor for class org.jacoco.report.InputStreamSourceFileLocator
-
Creates a new locator with the given specification.
- InstrSupport - Class in org.jacoco.core.internal.instr
-
Constants and utilities for byte code instrumentation.
- Instruction - Class in org.jacoco.core.internal.analysis
-
Execution status of a single bytecode instruction internally used for coverage analysis.
- Instruction(int) - Constructor for class org.jacoco.core.internal.analysis.Instruction
-
New instruction at the given line.
- INSTRUCTION - org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Counter for instructions
- instructionCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
-
Counter for instructions.
- instructions - Variable in class org.jacoco.core.internal.analysis.LineImpl
-
instruction counter
- instrument(byte[], String) - Method in class org.jacoco.core.instr.Instrumenter
-
Creates a instrumented version of the given class if possible.
- instrument(byte[], String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
Adds the static data field to the given class definition.
- instrument(InputStream, OutputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
-
Creates a instrumented version of the given class file.
- instrument(InputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
-
Creates a instrumented version of the given class if possible.
- instrument(ClassReader) - Method in class org.jacoco.core.instr.Instrumenter
-
Creates a instrumented version of the given class if possible.
- instrumentAll(InputStream, OutputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
-
Creates a instrumented version of the given resource depending on its type.
- Instrumenter - Class in org.jacoco.core.instr
-
Several APIs to instrument Java class definitions for coverage tracing.
- Instrumenter(IExecutionDataAccessorGenerator) - Constructor for class org.jacoco.core.instr.Instrumenter
-
Creates a new instance based on the given runtime.
- InstrumentTask - Class in org.jacoco.ant
-
Task for offline instrumentation of class files.
- InstrumentTask() - Constructor for class org.jacoco.ant.InstrumentTask
- IPackageCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a Java package containing classes and source files.
- IProbeArrayStrategy - Interface in org.jacoco.core.internal.instr
-
Strategies to retrieve the probe array instance for each method within a type.
- IProbeIdGenerator - Interface in org.jacoco.core.internal.flow
-
Internal interface to create probe ids unique within a class.
- IRemoteCommandVisitor - Interface in org.jacoco.core.runtime
-
Interface for remote commands to a coverage runtime.
- IReportGroupVisitor - Interface in org.jacoco.report
-
Output-Interface for hierarchical report structures.
- IReportVisitor - Interface in org.jacoco.report
-
Interface for all implementations to retrieve structured report data.
- IRuntime - Interface in org.jacoco.core.runtime
-
This interface represents a particular mechanism to collect execution information in the target VM at runtime.
- isDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether this label is marked as done.
- isEmpty() - Method in class org.jacoco.core.data.SessionInfoStore
-
Tests whether the store is empty.
- isEnabled() - Method in class org.jacoco.ant.AbstractCoverageTask
- ISessionInfoVisitor - Interface in org.jacoco.core.data
-
Interface for data output of collected session information.
- isMethodInvocationLine(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether the a given label has been marked as a line with method invocations.
- isMultiTarget(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether multiple control paths lead to a label.
- isNoMatch() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns if the the analyzed class does match the execution data provided.
- isNoMatch() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
- ISourceFileCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a single source file.
- ISourceFileLocator - Interface in org.jacoco.report
-
Interface to look-up source files that will be included with the report.
- ISourceNode - Interface in org.jacoco.core.analysis
-
Interface for coverage nodes that have individual source lines like methods, classes and source files.
- isRootPage() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Checks whether this is the root page of the report.
- isSuccessor(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether this label is the possible successor of the previous instruction in the method.
- ITableItem - Interface in org.jacoco.report.internal.html.table
-
Interface for a item (row) in a coverage data table.
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.BarColumn
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.CounterColumn
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in interface org.jacoco.report.internal.html.table.IColumnRenderer
-
Renders a single item in this column.
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.LabelColumn
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.PercentageColumn
- IViolationsOutput - Interface in org.jacoco.report.check
-
Call-back interface which is used to report rule violations to.
J
- JaCoCo - Class in org.jacoco.core
-
Static Meta information about JaCoCo.
- JavaNames - Class in org.jacoco.report
-
Names for the Java language.
- JavaNames() - Constructor for class org.jacoco.report.JavaNames
- JMX - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether the agent should expose functionality via JMX under the name "org.jacoco:type=Runtime".
K
- KotlinCoroutineFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters branches that Kotlin compiler generates for coroutines.
- KotlinCoroutineFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinCoroutineFilter
- KotlinDefaultArgumentsFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters branches that Kotlin compiler generates for default arguments.
- KotlinDefaultArgumentsFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinDefaultArgumentsFilter
- KotlinGeneratedFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters methods generated by the Kotlin compiler.
- KotlinGeneratedFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinGeneratedFilter
- KotlinInlineFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters out instructions that were inlined by Kotlin compiler.
- KotlinInlineFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinInlineFilter
- KotlinLateinitFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters branch in bytecode that Kotlin compiler generates for reading from
lateinit
properties. - KotlinLateinitFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinLateinitFilter
- KotlinNotNullOperatorFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters branch in bytecode that Kotlin compiler generates for not-null assertion operator.
- KotlinNotNullOperatorFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinNotNullOperatorFilter
- KotlinUnsafeCastOperatorFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters branch in bytecode that Kotlin compiler generates for "unsafe" cast operator.
- KotlinUnsafeCastOperatorFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinUnsafeCastOperatorFilter
- KotlinWhenFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters bytecode that Kotlin compiler generates for
when
expressions which list all cases ofenum
orsealed class
, i.e. - KotlinWhenFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinWhenFilter
- KotlinWhenStringFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters bytecode that Kotlin compiler generates for
when
expressions with aString
. - KotlinWhenStringFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.KotlinWhenStringFilter
L
- LabelColumn - Class in org.jacoco.report.internal.html.table
-
Column for the item label.
- LabelColumn() - Constructor for class org.jacoco.report.internal.html.table.LabelColumn
- LabelFlowAnalyzer - Class in org.jacoco.core.internal.flow
-
Method visitor to collect flow related information about the
Label
s within a class. - LabelFlowAnalyzer() - Constructor for class org.jacoco.core.internal.flow.LabelFlowAnalyzer
-
Create new instance.
- LabelInfo - Class in org.jacoco.core.internal.flow
-
Data container that is attached to
Label.info
objects to store flow and instrumentation specific information. - Limit - Class in org.jacoco.report.check
-
Descriptor for a limit which is given by a
Rule
. - Limit() - Constructor for class org.jacoco.report.check.Limit
-
Creates a new instance with the following defaults: counter entity:
ICoverageNode.CounterEntity.INSTRUCTION
counter value:ICounter.CounterValue.COVEREDRATIO
minimum: no limit maximum: no limit - line(int, ILine) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'line' element.
- LINE - org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Counter for source lines
- lineCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
-
Counter for lines
- LineImpl - Class in org.jacoco.core.internal.analysis
-
Implementation of
ILine
. - link(String, String, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'link' element.
- load(File) - Method in class org.jacoco.core.tools.ExecFileLoader
-
Reads all data from given input stream.
- load(InputStream) - Method in class org.jacoco.core.tools.ExecFileLoader
-
Reads all data from given input stream.
- logExeption(Exception) - Method in interface org.jacoco.agent.rt.internal.IExceptionLogger
-
Logs the given exception.
- LoggerRuntime - Class in org.jacoco.core.runtime
-
This
IRuntime
implementation uses the Java logging API to report coverage data. - LoggerRuntime() - Constructor for class org.jacoco.core.runtime.LoggerRuntime
-
Creates a new runtime.
M
- MAGIC_NUMBER - Static variable in class org.jacoco.core.data.ExecutionDataWriter
-
Magic number in header for file format identification.
- markLabels(MethodNode) - Static method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
-
Marks all labels of the method with control flow information.
- matches(String) - Method in class org.jacoco.core.runtime.WildcardMatcher
-
Matches the given string against the expressions of this matcher.
- merge(ExecutionData) - Method in class org.jacoco.core.data.ExecutionData
-
Merges the given execution data into the probe data of this object.
- merge(ExecutionData, boolean) - Method in class org.jacoco.core.data.ExecutionData
-
Merges the given execution data into the probe data of this object.
- merge(Instruction) - Method in class org.jacoco.core.internal.analysis.Instruction
-
Merges information about covered branches of this instruction with another instruction.
- merge(AbstractInsnNode, AbstractInsnNode) - Method in interface org.jacoco.core.internal.analysis.filter.IFilterOutput
-
Marks two instructions that should be merged during computation of coverage.
- MergeTask - Class in org.jacoco.ant
-
Task for merging a set of execution data files (*.exec) into a single file
- MergeTask() - Constructor for class org.jacoco.ant.MergeTask
- meta(String, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'meta' element.
- method(IMethodCoverage) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'method' element.
- METHOD - org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Counter for methods
- METHOD - org.jacoco.core.analysis.ICoverageNode.ElementType
-
Method
- MethodAnalyzer - Class in org.jacoco.core.internal.analysis
-
A
MethodProbesVisitor
that builds theInstruction
s of a method to calculate the detailed execution status. - methodCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
-
Counter for methods.
- MethodCoverageImpl - Class in org.jacoco.core.internal.analysis
-
Implementation of
IMethodCoverage
. - MethodCoverageImpl(String, String, String) - Constructor for class org.jacoco.core.internal.analysis.MethodCoverageImpl
-
Creates a method coverage data object with the given parameters.
- MethodProbesAdapter - Class in org.jacoco.core.internal.flow
-
Adapter that creates additional visitor events for probes to be inserted into a method.
- MethodProbesAdapter(MethodProbesVisitor, IProbeIdGenerator) - Constructor for class org.jacoco.core.internal.flow.MethodProbesAdapter
-
Create a new adapter instance.
- MethodProbesVisitor - Class in org.jacoco.core.internal.flow
-
A
MethodVisitor
with additional methods to get probe insertion information. - MethodProbesVisitor() - Constructor for class org.jacoco.core.internal.flow.MethodProbesVisitor
-
New visitor instance without delegate visitor.
- MethodProbesVisitor(MethodVisitor) - Constructor for class org.jacoco.core.internal.flow.MethodProbesVisitor
-
New visitor instance that delegates to the given visitor.
- missed - Variable in class org.jacoco.core.internal.analysis.CounterImpl
-
number of missed items
- MISSEDCOUNT - org.jacoco.core.analysis.ICounter.CounterValue
-
Number of missed items
- MISSEDITEMS - Static variable in class org.jacoco.core.analysis.CounterComparator
-
Compares the absolute number of missed items.
- MISSEDRATIO - org.jacoco.core.analysis.ICounter.CounterValue
-
Ratio of missed to total items
- MISSEDRATIO - Static variable in class org.jacoco.core.analysis.CounterComparator
-
Compares the ratio of missed items.
- ModifiedSystemClassRuntime - Class in org.jacoco.core.runtime
-
This
IRuntime
implementation works with a modified system class. - ModifiedSystemClassRuntime(Class<?>, String) - Constructor for class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
Creates a new runtime based on the given class and members.
- MultiReportVisitor - Class in org.jacoco.report
-
A report visitor that is composed from multiple other visitors.
- MultiReportVisitor(List<IReportVisitor>) - Constructor for class org.jacoco.report.MultiReportVisitor
-
New visitor delegating to all given visitors.
- MultiSourceFileLocator - Class in org.jacoco.report
-
Locator that searches source files in multiple
ISourceFileLocator
instances. - MultiSourceFileLocator(int) - Constructor for class org.jacoco.report.MultiSourceFileLocator
-
Creates a new empty locator.
N
- needsFrames(int) - Static method in class org.jacoco.core.internal.instr.InstrSupport
-
Determines whether the given class file version requires stackmap frames.
- needsProbe(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Determines whether the given label needs a probe to be inserted before.
- newCovered(ICoverageNode.CounterEntity, Locale) - Static method in class org.jacoco.report.internal.html.table.CounterColumn
-
Creates a new column that shows the covered count for the given entity.
- newMissed(ICoverageNode.CounterEntity, Locale) - Static method in class org.jacoco.report.internal.html.table.CounterColumn
-
Creates a new column that shows the missed count for the given entity.
- newTotal(ICoverageNode.CounterEntity, Locale) - Static method in class org.jacoco.report.internal.html.table.CounterColumn
-
Creates a new column that shows the total count for the given entity.
- nextId() - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
- nextId() - Method in interface org.jacoco.core.internal.flow.IProbeIdGenerator
-
Returns the next unique probe id.
- NO_PROBE - Static variable in class org.jacoco.core.internal.flow.LabelInfo
-
Reserved ID for "no probe".
- NodeComparator - Class in org.jacoco.core.analysis
-
Comparator to compare
ICoverageNode
objects by different counter criteria. - NodePage<NodeType extends ICoverageNode> - Class in org.jacoco.report.internal.html.page
-
Report page that represents a coverage node.
- NodePage(NodeType, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.NodePage
-
Creates a new node page.
- none - org.jacoco.core.runtime.AgentOptions.OutputMode
-
Value for the
AgentOptions.OUTPUT
parameter: Do not produce any output. - NONE - Static variable in class org.jacoco.core.internal.analysis.filter.Filters
-
Filter that does nothing.
- NoneOutput - Class in org.jacoco.agent.rt.internal.output
-
Output that does nothing.
- NoneOutput() - Constructor for class org.jacoco.agent.rt.internal.output.NoneOutput
- NOT_COVERED - Static variable in interface org.jacoco.core.analysis.ICounter
-
Status flag when all items are not covered (value is 0x01).
- NOT_COVERED - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Part of source code where instructions are not covered
- NR - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Line number before each source line
O
- Offline - Class in org.jacoco.agent.rt.internal
-
The API for classes instrumented in "offline" mode.
- OfflineInstrumentationAccessGenerator - Class in org.jacoco.core.runtime
-
This implementation of
IExecutionDataAccessorGenerator
generate a direct dependency to the JaCoCo runtime agent to initialize the runtime and obtain probe arrays. - OfflineInstrumentationAccessGenerator() - Constructor for class org.jacoco.core.runtime.OfflineInstrumentationAccessGenerator
-
Creates a new instance for offline instrumentation.
- on(ICoverageNode.CounterEntity) - Method in class org.jacoco.core.analysis.CounterComparator
-
Creates a new comparator for
ICoverageNode
counters of the given entity based on this counter sorting criteria. - onConnecting(InetAddress, int) - Method in class org.jacoco.core.tools.ExecDumpClient
-
This method can be overwritten to get an event just before a connection is made.
- onConnectionFailure(IOException) - Method in class org.jacoco.core.tools.ExecDumpClient
-
This method can be overwritten to get an event for connection failures when another retry will be attempted.
- onViolation(ICoverageNode, Rule, Limit, String) - Method in class org.jacoco.ant.ReportTask.CheckFormatterElement
- onViolation(ICoverageNode, Rule, Limit, String) - Method in interface org.jacoco.report.check.IViolationsOutput
-
Called for every rule violation.
- org.jacoco.agent - package org.jacoco.agent
-
Provides the runtime Java agent (JAR file) as a resource.
- org.jacoco.agent.rt - package org.jacoco.agent.rt
-
API to access the JaCoCo agent from within the JVM under test.
- org.jacoco.agent.rt.internal - package org.jacoco.agent.rt.internal
- org.jacoco.agent.rt.internal.output - package org.jacoco.agent.rt.internal.output
- org.jacoco.ant - package org.jacoco.ant
- org.jacoco.core - package org.jacoco.core
-
Meta information about JaCoCo.
- org.jacoco.core.analysis - package org.jacoco.core.analysis
-
Coverage calculation and analysis.
- org.jacoco.core.data - package org.jacoco.core.data
-
Representation and persistence of execution data and session information.
- org.jacoco.core.instr - package org.jacoco.core.instr
-
Instrumentation of Java class files for code coverage.
- org.jacoco.core.internal - package org.jacoco.core.internal
- org.jacoco.core.internal.analysis - package org.jacoco.core.internal.analysis
- org.jacoco.core.internal.analysis.filter - package org.jacoco.core.internal.analysis.filter
- org.jacoco.core.internal.data - package org.jacoco.core.internal.data
- org.jacoco.core.internal.flow - package org.jacoco.core.internal.flow
- org.jacoco.core.internal.instr - package org.jacoco.core.internal.instr
- org.jacoco.core.runtime - package org.jacoco.core.runtime
-
Runtime control and execution data collection.
- org.jacoco.core.tools - package org.jacoco.core.tools
-
Collection of tools build on top of the JaCoCo core APIs.
- org.jacoco.report - package org.jacoco.report
-
Common interfaces and utilities for report generation.
- org.jacoco.report.check - package org.jacoco.report.check
-
Rules check implementation.
- org.jacoco.report.csv - package org.jacoco.report.csv
-
CSV report implementation.
- org.jacoco.report.html - package org.jacoco.report.html
-
HTML report implementation.
- org.jacoco.report.internal - package org.jacoco.report.internal
- org.jacoco.report.internal.html - package org.jacoco.report.internal.html
- org.jacoco.report.internal.html.index - package org.jacoco.report.internal.html.index
-
Internal: Index generation for HTML reports.
- org.jacoco.report.internal.html.page - package org.jacoco.report.internal.html.page
- org.jacoco.report.internal.html.resources - package org.jacoco.report.internal.html.resources
-
Internal: Resources for HTML reports.
- org.jacoco.report.internal.html.table - package org.jacoco.report.internal.html.table
-
Internal: Sortable HTML table for coverage node elements.
- org.jacoco.report.internal.xml - package org.jacoco.report.internal.xml
- org.jacoco.report.xml - package org.jacoco.report.xml
-
XML report implementation.
- out - Variable in class org.jacoco.core.data.ExecutionDataWriter
-
Underlying data output
- OUTPUT - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies the output mode.
P
- p() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'p' element.
- pack(byte[], OutputStream) - Static method in class org.jacoco.core.internal.Pack200Streams
-
Packs a buffer in JAR/ZIP format into a stream in Pack200 format.
- PACK200FILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
-
File type Pack200 archive
- Pack200Streams - Class in org.jacoco.core.internal
-
Internal wrapper for the weird Pack200 Java API to allow usage with streams.
- PACKAGE - org.jacoco.core.analysis.ICoverageNode.ElementType
-
Java Package
- PackageCoverageImpl - Class in org.jacoco.core.internal.analysis
-
Implementation of
IPackageCoverage
. - PackageCoverageImpl(String, Collection<IClassCoverage>, Collection<ISourceFileCoverage>) - Constructor for class org.jacoco.core.internal.analysis.PackageCoverageImpl
-
Creates package node instance for a package with the given name.
- packageElement(String) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'package' element.
- PackagePage - Class in org.jacoco.report.internal.html.page
-
Page showing coverage information for a Java package.
- PackagePage(IPackageCoverage, ReportPage, ISourceFileLocator, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.PackagePage
-
Creates a new visitor in the given context.
- PackageSourcePage - Class in org.jacoco.report.internal.html.page
-
Page showing coverage information for a Java package.
- PackageSourcePage(IPackageCoverage, ReportPage, ISourceFileLocator, ReportOutputFolder, IHTMLReportContext, ILinkable) - Constructor for class org.jacoco.report.internal.html.page.PackageSourcePage
-
Creates a new visitor in the given context.
- PARTLY_COVERED - Static variable in interface org.jacoco.core.analysis.ICounter
-
Status flag when items are partly covered (value is 0x03).
- PARTLY_COVERED - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Part of source code where instructions are partly covered
- PercentageColumn - Class in org.jacoco.report.internal.html.table
-
Column that prints the coverage percentage for each item and the total percentage in the footer.
- PercentageColumn(ICoverageNode.CounterEntity, Locale) - Constructor for class org.jacoco.report.internal.html.table.PercentageColumn
-
Creates a new column that is based on the
ICounter
for the given entity. - PORT - Static variable in class org.jacoco.core.runtime.AgentOptions
-
The port the tcpserver binds to or the tcpclient connects to.
- pre(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'pre' element.
- premain(String, Instrumentation) - Static method in class org.jacoco.agent.rt.internal.PreMain
-
This method is called by the JVM to initialize Java agents.
- PreMain - Class in org.jacoco.agent.rt.internal
-
The agent which is referred as the
Premain-Class
. - prependVMArguments(String, File) - Method in class org.jacoco.core.runtime.AgentOptions
-
Generate required quotes JVM argument based on current configuration and prepends it to the given argument command line.
- PRETTIFY_SCRIPT - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the prettify script
- PRETTIFY_STYLESHEET - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the prettify style sheet
- PrivateEmptyNoArgConstructorFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters private empty constructors that do not have arguments.
- PrivateEmptyNoArgConstructorFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.PrivateEmptyNoArgConstructorFilter
- ProbeArrayStrategyFactory - Class in org.jacoco.core.internal.instr
-
Factory to find a suitable strategy to access the probe array for a given class.
- push(MethodVisitor, int) - Static method in class org.jacoco.core.internal.instr.InstrSupport
-
Generates the instruction to push the given int value on the stack.
- put(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Adds the given
ExecutionData
object into the store.
R
- read() - Method in class org.jacoco.core.data.ExecutionDataReader
-
Reads all data and reports it to the corresponding visitors.
- readBlock(byte) - Method in class org.jacoco.core.data.ExecutionDataReader
-
Reads a block of data identified by the given id.
- readBlock(byte) - Method in class org.jacoco.core.runtime.RemoteControlReader
- readBooleanArray() - Method in class org.jacoco.core.internal.data.CompactDataInput
-
Reads a boolean array.
- readFully(InputStream) - Static method in class org.jacoco.core.internal.InputStreams
-
Reads all bytes from an input stream into a byte array.
- readVarInt() - Method in class org.jacoco.core.internal.data.CompactDataInput
-
Reads a variable length representation of an integer value.
- REDBAR - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the red part of the coverage bar
- RemoteControlReader - Class in org.jacoco.core.runtime
-
ExecutionDataReader
with commands added for runtime remote control. - RemoteControlReader(InputStream) - Constructor for class org.jacoco.core.runtime.RemoteControlReader
-
Create a new read based on the given input stream.
- RemoteControlWriter - Class in org.jacoco.core.runtime
-
ExecutionDataWriter
with commands added for runtime remote control. - RemoteControlWriter(OutputStream) - Constructor for class org.jacoco.core.runtime.RemoteControlWriter
-
Creates a new writer based on the given output stream.
- removeEntry(String) - Method in class org.jacoco.core.internal.instr.SignatureRemover
-
Checks whether a entry with the provided name should be ignored at all.
- render() - Method in class org.jacoco.report.internal.html.page.BundlePage
- render() - Method in class org.jacoco.report.internal.html.page.ClassPage
- render() - Method in class org.jacoco.report.internal.html.page.PackagePage
- render() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
- render() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Renders this page's content and optionally additional pages.
- render(HTMLElement, List<? extends ITableItem>, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.Table
-
Renders a table for the given icon
- replaceBranches(Collection<Instruction>) - Method in class org.jacoco.core.internal.analysis.Instruction
-
Creates a copy of this instruction where all outgoing branches are replaced with the given instructions.
- replaceBranches(AbstractInsnNode, Set<AbstractInsnNode>) - Method in interface org.jacoco.core.internal.analysis.filter.IFilterOutput
-
Marks instruction whose outgoing branches should be replaced during computation of coverage.
- ReportElement - Class in org.jacoco.report.internal.xml
-
A
XMLElement
with utility methods to create JaCoCo XML reports. - ReportElement(String, OutputStream, String) - Constructor for class org.jacoco.report.internal.xml.ReportElement
-
Creates a
report
root element for a XML report. - ReportOutputFolder - Class in org.jacoco.report.internal
-
Logical representation of a folder in the output structure.
- ReportOutputFolder(IMultiReportOutput) - Constructor for class org.jacoco.report.internal.ReportOutputFolder
-
Creates a new root folder for the given output.
- ReportPage - Class in org.jacoco.report.internal.html.page
-
Base class for HTML page generators.
- ReportPage(ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.ReportPage
-
Creates a new report page.
- ReportTask - Class in org.jacoco.ant
-
Task for coverage report generation.
- ReportTask() - Constructor for class org.jacoco.ant.ReportTask
- ReportTask.CheckFormatterElement - Class in org.jacoco.ant
-
Formatter element for coverage checks.
- ReportTask.CSVFormatterElement - Class in org.jacoco.ant
-
Formatter element for CSV reports.
- ReportTask.GroupElement - Class in org.jacoco.ant
-
Container element for class file groups.
- ReportTask.HTMLFormatterElement - Class in org.jacoco.ant
-
Formatter element for HTML reports.
- ReportTask.SourceFilesElement - Class in org.jacoco.ant
-
The source files are specified in a resource collection with additional attributes.
- ReportTask.XMLFormatterElement - Class in org.jacoco.ant
-
Formatter element for XML reports.
- reset() - Method in interface org.jacoco.agent.rt.IAgent
-
Resets all coverage information.
- reset() - Method in class org.jacoco.agent.rt.internal.Agent
- reset() - Method in class org.jacoco.core.data.ExecutionData
-
Sets all probes to
false
. - reset() - Method in class org.jacoco.core.data.ExecutionDataStore
-
Resets all execution data probes, i.e.
- reset() - Method in class org.jacoco.core.runtime.RuntimeData
-
Resets all coverage information.
- resetDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Resets the "done" status of a given label.
- resetDone(Label[]) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Resets the "done" status of all given labels.
- Resources - Class in org.jacoco.report.internal.html.resources
-
Static resource that are included with the coverage report and might be referenced from created HTML pages.
- Resources(ReportOutputFolder) - Constructor for class org.jacoco.report.internal.html.resources.Resources
-
Attaches resources to the report with the given root folder.
- reverse() - Method in class org.jacoco.core.analysis.CounterComparator
-
Creates a new version of this comparator that sorts in reverse order.
- RIGHT - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Text block aligned to the right
- RT - Class in com.vladium.emma.rt
-
Deprecated.Use
IAgent
instead. - RT - Class in org.jacoco.agent.rt
-
Entry point to access the JaCoCo agent runtime.
- Rule - Class in org.jacoco.report.check
-
A rule applies for a certain element type and can define any number of limits for all elements of this type.
- Rule() - Constructor for class org.jacoco.report.check.Rule
-
Creates a new Rule without limits.
- RulesChecker - Class in org.jacoco.report.check
-
Formatter which checks a set of given rules and reports violations to a
IViolationsOutput
instance. - RulesChecker() - Constructor for class org.jacoco.report.check.RulesChecker
-
New formatter instance.
- RuntimeData - Class in org.jacoco.core.runtime
-
Container for runtime execution and meta data.
- RuntimeData() - Constructor for class org.jacoco.core.runtime.RuntimeData
-
Creates a new runtime.
- RUNTIMEPACKAGE - Static variable in class org.jacoco.core.JaCoCo
-
Name of the runtime package of this build
S
- save(File, boolean) - Method in class org.jacoco.core.tools.ExecFileLoader
-
Saves the current content into the given file.
- save(OutputStream) - Method in class org.jacoco.core.tools.ExecFileLoader
-
Saves the current content into the given output stream.
- script(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a JavaScript 'script' element.
- second(Comparator<ICoverageNode>) - Method in class org.jacoco.core.analysis.NodeComparator
-
Creates a new composite comparator with a second search criterion.
- sendCmdOk() - Method in class org.jacoco.core.runtime.RemoteControlWriter
-
Sends a confirmation that a commands has been successfully executed and the response is completed.
- SESSIONID - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies a session identifier that is written with the execution data.
- sessioninfo(SessionInfo) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'sessioninfo' element.
- SessionInfo - Class in org.jacoco.core.data
-
Data object describing a session which was the source of execution data.
- SessionInfo(String, long, long) - Constructor for class org.jacoco.core.data.SessionInfo
-
Create a immutable session info with the given data.
- SessionInfoStore - Class in org.jacoco.core.data
-
Container to collect and merge session
SessionInfo
objects. - SessionInfoStore() - Constructor for class org.jacoco.core.data.SessionInfoStore
- SessionsPage - Class in org.jacoco.report.internal.html.page
-
Page to display information about sessions covered by this report.
- SessionsPage(List<SessionInfo>, Collection<ExecutionData>, ElementIndex, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.SessionsPage
-
Creates a new page page to display session information.
- setActive(boolean) - Method in class org.jacoco.core.internal.instr.SignatureRemover
-
Defines whether this remover should be active.
- setAddress(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the IP address or hostname to bind to when output method is tcp server or connect to when the output method is tcp client.
- setAddress(String) - Method in class org.jacoco.ant.DumpTask
-
IP Address or hostname to connect to.
- setAddress(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the hostname or IP address to listen to when output is
tcpserver
or connect to when output istcpclient
- setAnalyzer(AnalyzerAdapter) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
-
If an analyzer is set
IFrame
handles are calculated and emitted to the probes methods. - setAppend(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Append execution coverage data if a coverage file is already present.
- setAppend(boolean) - Method in class org.jacoco.ant.DumpTask
-
true
if the destination file it to be appended to. - setAppend(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether the output should be appended to an existing file.
- setClassdumpdir(File) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the directory where all class files seen by the agent should be dumped to.
- setClassDumpDir(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the directory where class files should be dumped to.
- setCounter(String) - Method in class org.jacoco.report.check.Limit
-
Sets the counter entity to check.
- setDestdir(File) - Method in class org.jacoco.ant.InstrumentTask
-
Sets the location of the instrumented classes.
- setDestdir(File) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the output directory for the report.
- setDestfile(File) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the location to write coverage execution data to.
- setDestfile(File) - Method in class org.jacoco.ant.DumpTask
-
Sets the location of the execution data file to write.
- setDestfile(File) - Method in class org.jacoco.ant.MergeTask
-
Sets the location of the merged data store
- setDestfile(File) - Method in class org.jacoco.ant.ReportTask.CSVFormatterElement
-
Sets the output file for the report.
- setDestfile(File) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the Zip output file for the report.
- setDestfile(File) - Method in class org.jacoco.ant.ReportTask.XMLFormatterElement
-
Sets the output file for the report.
- setDestfile(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the output file location.
- setDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Mark a given label as done.
- setDump(boolean) - Method in class org.jacoco.ant.DumpTask
-
Sets whether execution data should be downloaded from the remote host.
- setDump(boolean) - Method in class org.jacoco.core.tools.ExecDumpClient
-
Specifies whether a dump should be requested
- setDumpOnExit(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Dump coverage data on VM termination.
- setDumpOnExit(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether coverage data should be dumped on exit.
- setElement(ICoverageNode.ElementType) - Method in class org.jacoco.report.check.Rule
- setEnabled(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets whether or not the current task is enabled
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.CSVFormatterElement
-
Sets the output encoding for generated XML file.
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the output encoding for generated HTML files.
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.SourceFilesElement
-
Defines the optional source file encoding.
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.XMLFormatterElement
-
Sets the output encoding for generated XML file.
- setExclClassloader(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the wildcard expression for excluded class loaders.
- setExclClassLoader(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
List of wildcard patterns for classloaders that JaCoCo will not instrument classes from.
- setExcludes(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
List of wildcard patterns classes to exclude from instrumentation.
- setExcludes(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the wildcard expression for classes to exclude.
- setExcludes(String) - Method in class org.jacoco.report.check.Rule
- setExecutionDataVisitor(IExecutionDataVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
-
Sets an listener for execution data.
- setFailOnViolation(boolean) - Method in class org.jacoco.ant.ReportTask.CheckFormatterElement
-
Sets whether the build should fail in case of a violation.
- setFooter(String) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets an optional footer text that will be displayed on every report page.
- setFooterText(String) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the optional text that should be included in every footer page.
- setInclBootstrapClasses(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets whether classes from the bootstrap classloader should be instrumented.
- setInclBootstrapClasses(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether classes from the bootstrap classloader should be instrumented.
- setInclNoLocationClasses(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets whether classes without source location should be instrumented.
- setInclNoLocationClasses(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether classes without source location should be instrumented.
- setIncludes(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
List of wildcard patterns classes to include for instrumentation.
- setIncludes(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the wildcard expression for classes to include.
- setIncludes(String) - Method in class org.jacoco.report.check.Rule
- setInstruction(Label, Instruction) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Sets the instruction corresponding to this label.
- setInterfaces(String[]) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Sets the VM names of implemented/extended interfaces.
- setIntermediateLabel(Label, Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Defines an intermediate label for the given label.
- setJmx(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets whether the agent should expose functionality via JMX.
- setJmx(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether the agent should expose functionality via JMX.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.check.RulesChecker
-
Sets the implementation for language name display for message formatting.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.csv.CSVFormatter
-
Sets the implementation for language name display.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the implementation for language name display.
- setLimits(List<Limit>) - Method in class org.jacoco.report.check.Rule
- setLocale(String) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the locale for generated text output.
- setLocale(Locale) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the locale used for report rendering.
- setMaximum(String) - Method in class org.jacoco.report.check.Limit
-
Sets allowed maximum value as decimal string or percent representation.
- setMethodInvocationLine(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Mark a given label as the beginning of a line with method invocations.
- setMinimum(String) - Method in class org.jacoco.report.check.Limit
-
Sets allowed maximum value as decimal string or percent representation.
- setName(String) - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Sets the name of the group.
- setOutput(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the output method.
- setOutput(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the output mode
- setOutput(AgentOptions.OutputMode) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the output mode
- setOutputEncoding(String) - Method in class org.jacoco.report.csv.CSVFormatter
-
Sets the encoding used for generated CSV document.
- setOutputEncoding(String) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the encoding used for generated HTML pages.
- setOutputEncoding(String) - Method in class org.jacoco.report.xml.XMLFormatter
-
Sets the encoding used for generated XML document.
- setPort(int) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the Port to bind to when the output method is tcp server or connect to when the output method is tcp client.
- setPort(int) - Method in class org.jacoco.ant.DumpTask
-
Port number to connect to.
- setPort(int) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the port on which to listen to when output is
tcpserver
or the port to connect to when output istcpclient
- setProbeId(Label, int) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Sets the given probe id to the given label.
- setProperty(String) - Method in class org.jacoco.ant.AgentTask
-
Sets the name of the property to hold the agent JVM options
- setRemoteCommandVisitor(IRemoteCommandVisitor) - Method in class org.jacoco.core.runtime.RemoteControlReader
-
Sets an listener for agent commands.
- setRemovesignatures(boolean) - Method in class org.jacoco.ant.InstrumentTask
-
Sets whether signatures should be removed from JAR files.
- setRemoveSignatures(boolean) - Method in class org.jacoco.core.instr.Instrumenter
-
Determines whether signatures should be removed from JAR files.
- setReset(boolean) - Method in class org.jacoco.ant.DumpTask
-
Sets whether a reset command should be sent after the execution data has been dumped.
- setReset(boolean) - Method in class org.jacoco.core.tools.ExecDumpClient
-
Specifies whether execution data should be reset.
- setRetryCount(int) - Method in class org.jacoco.ant.DumpTask
-
Number of retries which the goal will attempt to establish a connection.
- setRetryCount(int) - Method in class org.jacoco.core.tools.ExecDumpClient
-
Sets the number of retry attempts to connect to the target socket.
- setRetryDelay(long) - Method in class org.jacoco.core.tools.ExecDumpClient
-
Sets the delay time before between connection attempts.
- setRules(List<Rule>) - Method in class org.jacoco.report.check.RulesChecker
-
Sets the rules to check by this formatter.
- setSessionId(String) - Method in interface org.jacoco.agent.rt.IAgent
-
Sets a session identifier.
- setSessionId(String) - Method in class org.jacoco.agent.rt.internal.Agent
- setSessionId(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the session identifier.
- setSessionId(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the session identifier.
- setSessionId(String) - Method in class org.jacoco.core.runtime.RuntimeData
-
Sets a session identifier for this runtime.
- setSessionInfoVisitor(ISessionInfoVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
-
Sets an listener for session information.
- setSignature(String) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Sets the VM signature of the class.
- setSourceFileName(String) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Sets the name of the corresponding source file for this class.
- setSuccessor(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Defines that the given label is the possible successor of the previous instruction in the method.
- setSuperName(String) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Sets the VM name of the superclass.
- setTabwidth(int) - Method in class org.jacoco.ant.ReportTask.SourceFilesElement
-
Sets the tab stop width for the source pages.
- setTarget(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Defines that the given label is a jump target.
- setValue(String) - Method in class org.jacoco.report.check.Limit
-
Sets the value to check.
- setViolationsProperty(String) - Method in class org.jacoco.ant.ReportTask.CheckFormatterElement
-
Sets the name of a property to append the violation messages to.
- shutdown() - Method in class org.jacoco.agent.rt.internal.Agent
-
Shutdown the agent again.
- shutdown() - Method in class org.jacoco.agent.rt.internal.output.FileOutput
- shutdown() - Method in interface org.jacoco.agent.rt.internal.output.IAgentOutput
-
Shutdown the agent controller and clean up any resources it has created.
- shutdown() - Method in class org.jacoco.agent.rt.internal.output.NoneOutput
- shutdown() - Method in class org.jacoco.agent.rt.internal.output.TcpClientOutput
- shutdown() - Method in class org.jacoco.agent.rt.internal.output.TcpServerOutput
- shutdown() - Method in class org.jacoco.core.runtime.InjectedClassRuntime
- shutdown() - Method in interface org.jacoco.core.runtime.IRuntime
-
Allows the coverage runtime to cleanup internals.
- shutdown() - Method in class org.jacoco.core.runtime.LoggerRuntime
- shutdown() - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
- shutdown() - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
- shutdown() - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
- SignatureRemover - Class in org.jacoco.core.internal.instr
-
Support class to filter entries from JARs related to signatures.
- SignatureRemover() - Constructor for class org.jacoco.core.internal.instr.SignatureRemover
-
Creates a new remover which is active.
- sort(Collection<T>) - Method in class org.jacoco.core.analysis.NodeComparator
-
Returns a sorted copy of the given collection of
ICoverageNode
elements. - SORT_SCRIPT - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the sort script
- SORTABLE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table header for sortable columns
- SOURCE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Block of source code
- sourcefile(String) - Method in class org.jacoco.report.internal.xml.ReportElement
-
Creates a 'sourcefile' element.
- SOURCEFILE - org.jacoco.core.analysis.ICoverageNode.ElementType
-
Source File
- SourceFileCoverageImpl - Class in org.jacoco.core.internal.analysis
-
Implementation of
ISourceFileCoverage
. - SourceFileCoverageImpl(String, String) - Constructor for class org.jacoco.core.internal.analysis.SourceFileCoverageImpl
-
Creates a source file data object with the given parameters.
- SourceFilePage - Class in org.jacoco.report.internal.html.page
-
Page showing the content of a source file with numbered and highlighted source lines.
- SourceFilePage(ISourceNode, Reader, int, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.SourceFilePage
-
Creates a new page with given information.
- SourceFilesElement() - Constructor for class org.jacoco.ant.ReportTask.SourceFilesElement
- SourceNodeImpl - Class in org.jacoco.core.internal.analysis
-
Implementation of
ISourceNode
. - SourceNodeImpl(ICoverageNode.ElementType, String) - Constructor for class org.jacoco.core.internal.analysis.SourceNodeImpl
-
Create a new source node implementation instance.
- span() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'span' element.
- span(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'span' element.
- span(String, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'span' element.
- startup() - Method in class org.jacoco.agent.rt.internal.Agent
-
Initializes this agent.
- startup(AgentOptions, RuntimeData) - Method in class org.jacoco.agent.rt.internal.output.FileOutput
- startup(AgentOptions, RuntimeData) - Method in interface org.jacoco.agent.rt.internal.output.IAgentOutput
-
Configure the agent controller with the supplied options and connect it to the coverage runtime
- startup(AgentOptions, RuntimeData) - Method in class org.jacoco.agent.rt.internal.output.NoneOutput
- startup(AgentOptions, RuntimeData) - Method in class org.jacoco.agent.rt.internal.output.TcpClientOutput
- startup(AgentOptions, RuntimeData) - Method in class org.jacoco.agent.rt.internal.output.TcpServerOutput
- startup(RuntimeData) - Method in class org.jacoco.core.runtime.AbstractRuntime
-
Subclasses must call this method when overwriting it.
- startup(RuntimeData) - Method in class org.jacoco.core.runtime.InjectedClassRuntime
- startup(RuntimeData) - Method in interface org.jacoco.core.runtime.IRuntime
-
Starts the coverage runtime.
- startup(RuntimeData) - Method in class org.jacoco.core.runtime.LoggerRuntime
- startup(RuntimeData) - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
- startup(RuntimeData) - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
- startup(RuntimeData) - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
- store - Variable in class org.jacoco.core.runtime.RuntimeData
-
store for execution data
- storeInstance(MethodVisitor, boolean, int) - Method in interface org.jacoco.core.internal.instr.IProbeArrayStrategy
-
Creates code that stores the probe array instance in the given variable.
- StringPool - Class in org.jacoco.core.internal.analysis
-
Utility to normalize
String
instances in a way that ifequals()
istrue
for two strings they will be represented the same instance. - StringPool() - Constructor for class org.jacoco.core.internal.analysis.StringPool
- StringSwitchEcjFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters code that is generated by ECJ for a
switch
statement with aString
. - StringSwitchEcjFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.StringSwitchEcjFilter
- StringSwitchJavacFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters code that is generated by javac for a switch statement with a String.
- StringSwitchJavacFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.StringSwitchJavacFilter
- Styles - Class in org.jacoco.report.internal.html.resources
-
Constants for styles defined by the report style sheet.
- STYLESHEET - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the style sheet
- subFolder(String) - Method in class org.jacoco.report.internal.ReportOutputFolder
-
Creates a sub-folder with the given name.
- subtract(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Subtracts the probes in the given
ExecutionData
object from the store. - subtract(ExecutionDataStore) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Subtracts all probes in the given execution data store from this store.
- SynchronizedFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters code that is generated for synchronized statement.
- SynchronizedFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.SynchronizedFilter
- SyntheticFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters synthetic methods unless they represent bodies of lambda expressions.
- SyntheticFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.SyntheticFilter
- SYSTEM_ERR - Static variable in interface org.jacoco.agent.rt.internal.IExceptionLogger
-
Default implementation which dumps the stack trace to System.err.
- SystemPropertiesRuntime - Class in org.jacoco.core.runtime
-
This
IRuntime
implementation makes the execution data available through a special entry in theSystem.getProperties()
hash table. - SystemPropertiesRuntime() - Constructor for class org.jacoco.core.runtime.SystemPropertiesRuntime
-
Creates a new runtime.
T
- table(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'table' element.
- Table - Class in org.jacoco.report.internal.html.table
-
Renderer for a table of
ITableItem
s. - Table() - Constructor for class org.jacoco.report.internal.html.table.Table
-
Create a new table without any columns yet.
- TablePage<NodeType extends ICoverageNode> - Class in org.jacoco.report.internal.html.page
-
Report page that contains a table of items linked to other pages.
- TablePage(NodeType, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.TablePage
-
Creates a new node page.
- tbody() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'tbody' element.
- tcpclient - org.jacoco.core.runtime.AgentOptions.OutputMode
-
Value for the
AgentOptions.OUTPUT
parameter: At startup the agent connects to a TCP port specified by theAgentOptions.ADDRESS
andAgentOptions.PORT
attribute. - TcpClientOutput - Class in org.jacoco.agent.rt.internal.output
-
Output that connects to a TCP port.
- TcpClientOutput(IExceptionLogger) - Constructor for class org.jacoco.agent.rt.internal.output.TcpClientOutput
-
New controller instance.
- tcpserver - org.jacoco.core.runtime.AgentOptions.OutputMode
-
Value for the
AgentOptions.OUTPUT
parameter: The agent listens for incoming connections on a TCP port specified byAgentOptions.ADDRESS
andAgentOptions.PORT
. - TcpServerOutput - Class in org.jacoco.agent.rt.internal.output
-
Output that opens TCP server socket.
- TcpServerOutput(IExceptionLogger) - Constructor for class org.jacoco.agent.rt.internal.output.TcpServerOutput
-
New controller instance.
- td() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'td' element.
- td(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'td' element.
- text(String) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds the given text as a child to this node.
- tfoot() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'tfoot' element.
- thead() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'thead' element.
- title() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'title' element.
- toString() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
- toString() - Method in class org.jacoco.core.data.ExecutionData
- toString() - Method in class org.jacoco.core.data.SessionInfo
- toString() - Method in class org.jacoco.core.internal.analysis.CounterImpl
- toString() - Method in class org.jacoco.core.runtime.AgentOptions
-
Creates a string representation that can be passed to the agent via the command line.
- total - Variable in class org.jacoco.report.internal.AbstractGroupVisitor
-
coverage node for this group to total counters
- TOTALCOUNT - org.jacoco.core.analysis.ICounter.CounterValue
-
Total number of items
- TOTALITEMS - Static variable in class org.jacoco.core.analysis.CounterComparator
-
Compares the absolute number of total items.
- tr() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'tr' element.
- transform(ClassLoader, String, Class<?>, ProtectionDomain, byte[]) - Method in class org.jacoco.agent.rt.internal.CoverageTransformer
- TryWithResourcesEcjFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters code that ECJ generates for try-with-resources statement.
- TryWithResourcesEcjFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.TryWithResourcesEcjFilter
- TryWithResourcesJavac11Filter - Class in org.jacoco.core.internal.analysis.filter
-
Filters code which is generated for try-with-resources statement by javac starting from version 11.
- TryWithResourcesJavac11Filter() - Constructor for class org.jacoco.core.internal.analysis.filter.TryWithResourcesJavac11Filter
- TryWithResourcesJavacFilter - Class in org.jacoco.core.internal.analysis.filter
-
Filters code which is generated for try-with-resources statement by javac versions from 7 to 10.
- TryWithResourcesJavacFilter() - Constructor for class org.jacoco.core.internal.analysis.filter.TryWithResourcesJavacFilter
U
- UNKNOWN - Static variable in class org.jacoco.core.internal.ContentTypeDetector
-
Unknown file type
- UNKNOWN_LINE - Static variable in interface org.jacoco.core.analysis.ISourceNode
-
Place holder for unknown lines (no debug information)
- unpack(InputStream) - Static method in class org.jacoco.core.internal.Pack200Streams
-
Unpack a stream in Pack200 format into a stream in JAR/ZIP format.
- UP - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table header for column sorted upwards
- URLStreamHandlerRuntime - Class in org.jacoco.core.runtime
-
This
IRuntime
implementation registers a specialURLStreamHandler
to process coverage data. - URLStreamHandlerRuntime() - Constructor for class org.jacoco.core.runtime.URLStreamHandlerRuntime
-
Creates a new runtime.
V
- valueOf(String) - Static method in enum org.jacoco.core.analysis.ICounter.CounterValue
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jacoco.core.analysis.ICoverageNode.ElementType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.jacoco.core.runtime.AgentOptions.OutputMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jacoco.core.analysis.ICounter.CounterValue
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jacoco.core.analysis.ICoverageNode.CounterEntity
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jacoco.core.analysis.ICoverageNode.ElementType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.jacoco.core.runtime.AgentOptions.OutputMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERSION - Static variable in class org.jacoco.core.JaCoCo
-
Qualified build version of the JaCoCo core library.
- visit(int, int, String, String, String, String[]) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- visit(int, int, String, String, String, String[]) - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
- visit(int, int, String, String, String, String[]) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
- visitAnnotation(String, boolean) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- visitBundle(IBundleCoverage, ISourceFileLocator) - Method in class org.jacoco.report.internal.AbstractGroupVisitor
- visitBundle(IBundleCoverage, ISourceFileLocator) - Method in interface org.jacoco.report.IReportGroupVisitor
-
Called to add a bundle to the the report.
- visitClassExecution(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataStore
- visitClassExecution(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataWriter
- visitClassExecution(ExecutionData) - Method in interface org.jacoco.core.data.IExecutionDataVisitor
-
Provides execution data for a class.
- visitCoverage(IClassCoverage) - Method in class org.jacoco.core.analysis.CoverageBuilder
- visitCoverage(IClassCoverage) - Method in interface org.jacoco.core.analysis.ICoverageVisitor
-
For analyzed class coverage data is emitted to this method.
- visitDumpCommand(boolean, boolean) - Method in interface org.jacoco.core.runtime.IRemoteCommandVisitor
-
Requests a execution data dump with an optional reset.
- visitDumpCommand(boolean, boolean) - Method in class org.jacoco.core.runtime.RemoteControlWriter
- visitEnd() - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
- visitEnd() - Method in class org.jacoco.report.internal.AbstractGroupVisitor
-
Must be called at the end of every group.
- visitEnd() - Method in interface org.jacoco.report.IReportVisitor
-
Has to be called after all report data has been emitted.
- visitEnd() - Method in class org.jacoco.report.MultiReportVisitor
- visitField(int, String, String, String, Object) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- visitField(int, String, String, String, Object) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
- visitFieldInsn(int, String, String, String) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitFieldInsn(int, String, String, String) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitGroup(String) - Method in class org.jacoco.report.internal.AbstractGroupVisitor
- visitGroup(String) - Method in interface org.jacoco.report.IReportGroupVisitor
-
Called to add a new group to the report.
- visitIincInsn(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitIincInsn(int, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitInfo(List<SessionInfo>, Collection<ExecutionData>) - Method in interface org.jacoco.report.IReportVisitor
-
Initializes the report with global information.
- visitInfo(List<SessionInfo>, Collection<ExecutionData>) - Method in class org.jacoco.report.MultiReportVisitor
- visitInsn(int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitInsn(int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitInsn(int) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
- visitInsnWithProbe(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitInsnWithProbe(int, int) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
-
Visits a zero operand instruction with a probe.
- visitIntInsn(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitIntInsn(int, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitJumpInsn(int, Label) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitJumpInsn(int, Label) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitJumpInsn(int, Label) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
- visitJumpInsnWithProbe(int, Label, int, IFrame) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitJumpInsnWithProbe(int, Label, int, IFrame) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
-
Visits a jump instruction.
- visitLabel(Label) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitLabel(Label) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitLabel(Label) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
- visitLdcInsn(Object) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitLdcInsn(Object) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitLineNumber(int, Label) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitLineNumber(int, Label) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
- visitLookupSwitchInsnWithProbes(Label, int[], Label[], IFrame) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitLookupSwitchInsnWithProbes(Label, int[], Label[], IFrame) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
-
Visits a LOOKUPSWITCH instruction with optional probes for each target label.
- visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
- visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.flow.ClassProbesVisitor
-
When visiting a method we need a
MethodProbesVisitor
to handle the probes of that method. - visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
- visitMethodInsn(int, String, String, String, boolean) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitMethodInsn(int, String, String, String, boolean) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitMultiANewArrayInsn(String, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitMultiANewArrayInsn(String, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitProbe(int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitProbe(int) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
-
Visits an unconditional probe that should be inserted at the current position.
- visitSessionInfo(SessionInfo) - Method in class org.jacoco.core.data.ExecutionDataWriter
- visitSessionInfo(SessionInfo) - Method in interface org.jacoco.core.data.ISessionInfoVisitor
-
Provides session information for the subsequent execution data calls.
- visitSessionInfo(SessionInfo) - Method in class org.jacoco.core.data.SessionInfoStore
- visitSource(String, String) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- visitTableSwitchInsn(int, int, Label, Label...) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitTableSwitchInsn(int, int, Label, Label...) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitTableSwitchInsn(int, int, Label, Label...) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
- visitTableSwitchInsnWithProbes(int, int, Label, Label[], IFrame) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitTableSwitchInsnWithProbes(int, int, Label, Label[], IFrame) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
-
Visits a TABLESWITCH instruction with optional probes for each target label.
- visitTotalProbeCount(int) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
- visitTotalProbeCount(int) - Method in class org.jacoco.core.internal.flow.ClassProbesVisitor
-
Reports the total number of encountered probes.
- visitTotalProbeCount(int) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
- visitTryCatchBlock(Label, Label, Label, String) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitTryCatchBlock(Label, Label, Label, String) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
- visitTypeInsn(int, String) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitTypeInsn(int, String) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
- visitVarInsn(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
- visitVarInsn(int, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
W
- WildcardMatcher - Class in org.jacoco.core.runtime
-
Matches strings against glob like wildcard expressions where
?
matches any single character and*
matches any number of any character. - WildcardMatcher(String) - Constructor for class org.jacoco.core.runtime.WildcardMatcher
-
Creates a new matcher with the given expression.
- writeBooleanArray(boolean[]) - Method in class org.jacoco.core.internal.data.CompactDataOutput
-
Writes a boolean array.
- writeBundle(IBundleCoverage, ReportElement) - Static method in class org.jacoco.report.internal.xml.XMLCoverageWriter
-
Writes the structure of a given bundle.
- writeCounters(ICoverageNode, ReportElement) - Static method in class org.jacoco.report.internal.xml.XMLCoverageWriter
-
Writes all non-zero counters of the given node.
- writeExecutionData(boolean) - Method in class org.jacoco.agent.rt.internal.output.FileOutput
- writeExecutionData(boolean) - Method in interface org.jacoco.agent.rt.internal.output.IAgentOutput
-
Write all execution data in the runtime to a location determined by the agent controller.
- writeExecutionData(boolean) - Method in class org.jacoco.agent.rt.internal.output.NoneOutput
- writeExecutionData(boolean) - Method in class org.jacoco.agent.rt.internal.output.TcpClientOutput
- writeExecutionData(boolean) - Method in class org.jacoco.agent.rt.internal.output.TcpServerOutput
- writer - Variable in class org.jacoco.report.internal.xml.XMLElement
-
Writer for content output
- writeVarInt(int) - Method in class org.jacoco.core.internal.data.CompactDataOutput
-
Writes a variable length representation of an integer value that reduces the number of written bytes for small positive values.
X
- XMLCoverageWriter - Class in org.jacoco.report.internal.xml
-
Serializes coverage data as XML fragments.
- XMLElement - Class in org.jacoco.report.internal.xml
-
Simple API to create well formed XML streams with minimal memory overhead.
- XMLElement(String, String, String, boolean, String, OutputStream) - Constructor for class org.jacoco.report.internal.xml.XMLElement
-
Creates a root element of a XML document.
- XMLElement(String, XMLElement) - Constructor for class org.jacoco.report.internal.xml.XMLElement
-
Creates a new child element within a XML document.
- XMLFormatter - Class in org.jacoco.report.xml
-
Report formatter that creates a single XML file for a coverage session
- XMLFormatter() - Constructor for class org.jacoco.report.xml.XMLFormatter
- XMLFormatterElement() - Constructor for class org.jacoco.ant.ReportTask.XMLFormatterElement
- XMLGroupVisitor - Class in org.jacoco.report.internal.xml
-
A
IReportGroupVisitor
that transforms the report structure into XML elements. - XMLGroupVisitor(ReportElement, String) - Constructor for class org.jacoco.report.internal.xml.XMLGroupVisitor
-
New handler for a group with the given name.
Z
- ZIPFILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
-
File type ZIP archive
- ZipMultiReportOutput - Class in org.jacoco.report
-
Implementation of
IMultiReportOutput
that writes files into aZipOutputStream
. - ZipMultiReportOutput(OutputStream) - Constructor for class org.jacoco.report.ZipMultiReportOutput
-
Creates a new instance based on the given
OutputStream
. - ZipMultiReportOutput(ZipOutputStream) - Constructor for class org.jacoco.report.ZipMultiReportOutput
-
Creates a new instance based on the given
ZipOutputStream
.
All Classes All Packages