A B C D E F G H I J L M N O P R S T U V W X Z

A

a(String) - Method in class org.jacoco.report.html.HTMLElement
Creates a 'a' element.
a(String, String) - Method in class org.jacoco.report.html.HTMLElement
Creates a 'a' element.
a(ILinkable, ReportOutputFolder) - Method in class org.jacoco.report.html.HTMLElement
Creates a link to the given ILinkable.
AbstractCounter - Class in org.jacoco.core.analysis
Base class for ICounter implementations.
AbstractCounter(int, int) - Constructor for class org.jacoco.core.analysis.AbstractCounter
Creates a instance with the given numbers.
AbstractRuntime - Class in org.jacoco.core.runtime
Base IRuntime implementation.
AbstractRuntime() - Constructor for class org.jacoco.core.runtime.AbstractRuntime
Creates a new runtime.
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.
access - Variable in class org.jacoco.core.runtime.AbstractRuntime
access for this runtime instance
add(String, String, IColumnRenderer, boolean) - Method in class org.jacoco.report.html.table.Table
Adds a new column with the given properties to the table.
add(IReportFormatter) - Method in class org.jacoco.report.MultiFormatter
Adds the given formatter to the processing chain.
addBlock(int, int[], boolean) - Method in class org.jacoco.core.analysis.MethodCoverage
Adds the given block to this method.
addChildElement(XMLElement) - Method in class org.jacoco.report.xml.XMLElement
Adds the given child to this element.
addClass(ILinkable, long) - Method in class org.jacoco.report.html.index.ElementIndex
 
addClass(ILinkable, long) - Method in interface org.jacoco.report.html.index.IIndexUpdate
Adds a class to the index.
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.
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.OutputMode - Enum in org.jacoco.core.runtime
Possible values for AgentOptions.OUTPUT.
analyzeAll(InputStream) - Method in class org.jacoco.core.instr.Analyzer
Analyzes all classes found in the given input stream.
analyzeAll(File) - Method in class org.jacoco.core.instr.Analyzer
Analyzes all class files contained in the given file or folder.
analyzeAll(String, File) - Method in class org.jacoco.core.instr.Analyzer
Analyzes all classes from the given class path.
analyzeArchive(InputStream) - Method in class org.jacoco.core.instr.Analyzer
Analyzes all classes contained in the ZIP archive (jar, war, ear, etc.)
analyzeClass(ClassReader) - Method in class org.jacoco.core.instr.Analyzer
Analyzes the class given as a ASM reader.
analyzeClass(byte[]) - Method in class org.jacoco.core.instr.Analyzer
Analyzes the class definition from a given in-memory buffer.
analyzeClass(InputStream) - Method in class org.jacoco.core.instr.Analyzer
Analyzes the class definition from a given input stream.
Analyzer - Class in org.jacoco.core.instr
Several APIs to analyze class structures.
Analyzer(IStructureVisitor) - Constructor for class org.jacoco.core.instr.Analyzer
Creates a new analyzer reporting to the given output.
APPEND - Static variable in class org.jacoco.core.runtime.AgentOptions
Specifies whether execution data should be appended to the output file.
assertCompatibility(long, String, int) - Method in class org.jacoco.core.data.ExecutionData
Asserts that this execution data object is compatible with the given parameters.
attr(String, String) - Method in class org.jacoco.report.xml.XMLElement
Adds an attribute to this element.
attr(String, int) - Method in class org.jacoco.report.xml.XMLElement
Adds an attribute to this element.
attr(String, long) - Method in class org.jacoco.report.xml.XMLElement
Adds an attribute to this element.

B

BarColumn - Class in org.jacoco.report.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.html.table.BarColumn
Creates a new column that is based on the ICounter for the given entity.
beginOpenTag() - Method in class org.jacoco.report.xml.XMLElement
Emits the beginning of the open tag.
block(int, int, int[]) - Method in interface org.jacoco.core.data.IMethodStructureVisitor
Called for every block within the method.
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.
blockCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for blocks.
body() - Method in class org.jacoco.report.html.HTMLDocument
Creates a 'body' element.
BREADCRUMB - Static variable in class org.jacoco.report.html.resources.Styles
Breadcrumb bar
BundleCoverage - Class in org.jacoco.core.analysis
Coverage data of a bundle.
BundleCoverage(String, Collection<PackageCoverage>) - Constructor for class org.jacoco.core.analysis.BundleCoverage
Creates a new instance of a bundle with the given name.
BundleCoverage(String, Collection<ClassCoverage>, Collection<SourceFileCoverage>) - Constructor for class org.jacoco.core.analysis.BundleCoverage
Creates a new instance of a bundle with the given name.
BundleCoverage(String, Collection<ClassCoverage>, Collection<SourceFileCoverage>, StringPool) - Constructor for class org.jacoco.core.analysis.BundleCoverage
Creates a new instance of a bundle with the given name.

C

checksum(byte[]) - Static method in class org.jacoco.core.instr.CRC64
Calculates the CRC64 checksum for the given data array.
classCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for classes.
ClassCoverage - Class in org.jacoco.core.analysis
Coverage data of a single class.
ClassCoverage(String, long, String, String, String[], String, Collection<MethodCoverage>) - Constructor for class org.jacoco.core.analysis.ClassCoverage
Creates a class coverage data object with the given parameters.
ClassPage - Class in org.jacoco.report.html
Page showing coverage information for a class as a table of methods.
ClassPage(ClassCoverage, ReportPage, Map<String, SourceFilePage>, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.html.ClassPage
Creates a new visitor in the given context.
close() - Method in class org.jacoco.report.csv.DelimitedWriter
Close the underlying writer object.
close() - Method in class org.jacoco.report.xml.XMLDocument
 
close() - Method in class org.jacoco.report.xml.XMLElement
Closes this element if it has not been closed before.
code() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'code' element.
collect(IExecutionDataVisitor, ISessionInfoVisitor, boolean) - Method in class org.jacoco.core.runtime.AbstractRuntime
 
collect(IExecutionDataVisitor, ISessionInfoVisitor, boolean) - Method in interface org.jacoco.core.runtime.IRuntime
Collects the current execution data and writes it to the given IExecutionDataVisitor object.
combine(String...) - Static method in class org.jacoco.report.html.resources.Styles
Returns a combined style from the given styles.
CompactDataInput - Class in org.jacoco.core.data
Additional data input methods for compact storage of data structures.
CompactDataInput(InputStream) - Constructor for class org.jacoco.core.data.CompactDataInput
Creates a new CompactDataInput that uses the specified underlying input stream.
CompactDataOutput - Class in org.jacoco.core.data
Additional data output methods for compact storage of data structures.
CompactDataOutput(OutputStream) - Constructor for class org.jacoco.core.data.CompactDataOutput
Creates a new CompactDataOutput instance that writes data to the specified underlying output stream
compare(ICoverageNode, ICoverageNode) - Method in class org.jacoco.core.analysis.NodeComparator
 
compareTo(SessionInfo) - Method in class org.jacoco.core.data.SessionInfo
 
content(HTMLElement) - Method in class org.jacoco.report.html.ClassPage
 
content(HTMLElement) - Method in class org.jacoco.report.html.GroupPage
 
content(HTMLElement) - Method in class org.jacoco.report.html.PackagePage
 
content(HTMLElement) - Method in class org.jacoco.report.html.ReportPage
Creates the actual content of the page.
content(HTMLElement) - Method in class org.jacoco.report.html.SessionsPage
 
content(HTMLElement) - Method in class org.jacoco.report.html.SourceFilePage
 
context - Variable in class org.jacoco.report.html.ReportPage
context for this report
copyResources() - Method in class org.jacoco.report.html.resources.Resources
Copies all static resources into the report.
COUNTER_0_0 - Static variable in class org.jacoco.core.analysis.CounterImpl
Constant for Counter with 0/0 values.
CounterColumn - Class in org.jacoco.report.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.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.
CounterComparator() - Constructor for class org.jacoco.core.analysis.CounterComparator
 
CounterImpl - Class in org.jacoco.core.analysis
ICounter implementations.
CounterImpl(int, int) - Constructor for class org.jacoco.core.analysis.CounterImpl
Creates a new instance with the given figures.
CoverageBuilder - Class in org.jacoco.core.analysis
Builder for hierarchical ICoverageNode structures based on execution and structure information.
CoverageBuilder(ExecutionDataStore) - Constructor for class org.jacoco.core.analysis.CoverageBuilder
Create a new builder based on the given execution data.
CoverageBuilder(ExecutionDataStore, StringPool) - Constructor for class org.jacoco.core.analysis.CoverageBuilder
Create a new builder based on the given execution data.
CoverageNodeImpl - Class in org.jacoco.core.analysis
Base implementation for coverage data nodes.
CoverageNodeImpl(ICoverageNode.ElementType, String, boolean) - Constructor for class org.jacoco.core.analysis.CoverageNodeImpl
Creates a new coverage data node.
COVERAGETABLE - Static variable in class org.jacoco.report.html.resources.Styles
Coverage table
covered - Variable in class org.jacoco.core.analysis.AbstractCounter
covered number of items
COVEREDITEMS - Static variable in class org.jacoco.core.analysis.CounterComparator
Compares the absolute number of covered items.
COVEREDRATIO - Static variable in class org.jacoco.core.analysis.CounterComparator
Compares the ratio of covered items.
CRC64 - Class in org.jacoco.core.instr
CRC64 checksum calculator based on the polynom specified in ISO 3309.
createAnalyzingVisitor(long) - Method in class org.jacoco.core.instr.Analyzer
Creates an ASM class visitor for analysis.
createFile(String) - Method in class org.jacoco.report.FileMultiReportOutput
 
createFile() - Method in class org.jacoco.report.FileSingleReportOutput
 
createFile(String) - Method in interface org.jacoco.report.IMultiReportOutput
Creates a file at the given local path.
createFile() - Method in interface org.jacoco.report.ISingleReportOutput
Creates the output file.
createFile(String) - Method in class org.jacoco.report.ReportOutputFolder
Creates a new file in this folder with the given local name.
createFile(String) - Method in class org.jacoco.report.ZipMultiReportOutput
 
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.
createInstrumentingVisitor(long, ClassVisitor) - Method in class org.jacoco.core.instr.Instrumenter
Creates a ASM adapter for a class with the given id.
createReportVisitor(ICoverageNode, List<SessionInfo>, Collection<ExecutionData>) - Method in class org.jacoco.report.csv.CSVFormatter
 
createReportVisitor(ICoverageNode, List<SessionInfo>, Collection<ExecutionData>) - Method in class org.jacoco.report.html.HTMLFormatter
 
createReportVisitor(ICoverageNode, List<SessionInfo>, Collection<ExecutionData>) - Method in interface org.jacoco.report.IReportFormatter
Creates a visitor for root of a coverage data tree.
createReportVisitor(ICoverageNode, List<SessionInfo>, Collection<ExecutionData>) - Method in class org.jacoco.report.MultiFormatter
 
createReportVisitor(ICoverageNode, List<SessionInfo>, Collection<ExecutionData>) - Method in class org.jacoco.report.xml.XMLFormatter
 
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
 
CTR1 - Static variable in class org.jacoco.report.html.resources.Styles
Table cells for the first column of a counter
CTR2 - Static variable in class org.jacoco.report.html.resources.Styles
Table cells for the second column of a counter

D

DATAFIELD_ACC - Static variable in class org.jacoco.core.instr.InstrSupport
Access modifiers of the field that stores coverage information of a class.
DATAFIELD_DESC - Static variable in class org.jacoco.core.instr.InstrSupport
Data type of the field that stores coverage information for a class ( boolean[]).
DATAFIELD_NAME - Static variable in class org.jacoco.core.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_PORT - Static variable in class org.jacoco.core.runtime.AgentOptions
Default value for the "port" agent option
DelimitedWriter - Class in org.jacoco.report.csv
Helper class for writing out CSV or tab delimited files.
DelimitedWriter(Writer) - Constructor for class org.jacoco.report.csv.DelimitedWriter
Creates a new Delimited writer using the default delimiter
DelimitedWriter(Writer, char) - Constructor for class org.jacoco.report.csv.DelimitedWriter
Creates a new Delimited writer using the default delimiter
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) - 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.html.HTMLElement
Creates a 'div' element.
DOWN - Static variable in class org.jacoco.report.html.resources.Styles
Table header for column sorted downwards
DUMPONEXIT - Static variable in class org.jacoco.core.runtime.AgentOptions
Specifies whether the agent will automatically dump coverage data on VM exit.

E

EL_BUNDLE - Static variable in class org.jacoco.report.html.resources.Styles
Bundle element
EL_CLASS - Static variable in class org.jacoco.report.html.resources.Styles
Class element
EL_GROUP - Static variable in class org.jacoco.report.html.resources.Styles
Group element
EL_METHOD - Static variable in class org.jacoco.report.html.resources.Styles
Method element
EL_PACKAGE - Static variable in class org.jacoco.report.html.resources.Styles
Package element
EL_REPORT - Static variable in class org.jacoco.report.html.resources.Styles
Report element
EL_SESSION - Static variable in class org.jacoco.report.html.resources.Styles
Sessions element
EL_SOURCE - Static variable in class org.jacoco.report.html.resources.Styles
Source file element
element(String) - Method in class org.jacoco.report.html.HTMLDocument
 
element(String) - Method in class org.jacoco.report.html.HTMLElement
 
element(String) - Method in class org.jacoco.report.xml.XMLElement
Creates a new child element for this element,
ElementIndex - Class in org.jacoco.report.html.index
An index over all report pages that allows queries according to certain criteria.
ElementIndex(ReportOutputFolder) - Constructor for class org.jacoco.report.html.index.ElementIndex
Creates a new empty index for a HTML report.
equals(Object) - Method in class org.jacoco.core.analysis.AbstractCounter
 
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.
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.
exists() - Method in class org.jacoco.report.html.SourceFilePage
Checks whether this page has actually been rendered.
extractTo(File) - Static method in class org.jacoco.agent.AgentJar
Extract the JaCoCo agent jar from the classpath and put it into the specified location.
extractToTempLocation() - Static method in class org.jacoco.agent.AgentJar
Extract the JaCoCo agent jar from the classpath and put it into a temporary location.

F

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.
FileSingleReportOutput - Class in org.jacoco.report
Implementation of ISingleReportOutput that writes the file directly to a given location.
FileSingleReportOutput(File) - Constructor for class org.jacoco.report.FileSingleReportOutput
Creates a new instance for document output to the given location.
flush() - Method in class org.jacoco.core.data.ExecutionDataWriter
Flushes the underlying stream.
folder - Variable in class org.jacoco.report.html.ReportPage
output folder for this node
FOOTER - Static variable in class org.jacoco.report.html.resources.Styles
Footer
footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.BarColumn
 
footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.CounterColumn
 
footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in interface org.jacoco.report.html.table.IColumnRenderer
Renders the footer for this column.
footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.LabelColumn
 
footer(HTMLElement, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.PercentageColumn
 
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.ILines
Flag for lines that are fully covered (value is 0x02).
FULLY_COVERED - Static variable in class org.jacoco.report.html.resources.Styles
Part of source code that is fully covered

G

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.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.SystemPropertiesRuntime
 
generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
 
get(String) - Method in class org.jacoco.core.analysis.StringPool
Returns a normalized instance that is equal to the given String .
get(String[]) - Method in class org.jacoco.core.analysis.StringPool
Returns a modified version of the array with all string slots normalized.
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.
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 is tcpclient
getAppend() - Method in class org.jacoco.core.runtime.AgentOptions
Returns whether the output should be appended to an existing file.
getBlockCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getBlockCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for blocks.
getBundle(String) - Method in class org.jacoco.core.analysis.CoverageBuilder
Creates a bundle from all nodes currently contained in this bundle.
getClassCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getClassCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for classes.
getClasses() - Method in class org.jacoco.core.analysis.CoverageBuilder
Returns all class nodes currently contained in this builder.
getClasses() - Method in class org.jacoco.core.analysis.PackageCoverage
Returns all classes contained in this package.
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.html.table.BarColumn
 
getComparator() - Method in class org.jacoco.report.html.table.CounterColumn
 
getComparator() - Method in interface org.jacoco.report.html.table.IColumnRenderer
Returns the comparator to sort this table column.
getComparator() - Method in class org.jacoco.report.html.table.LabelColumn
 
getComparator() - Method in class org.jacoco.report.html.table.PercentageColumn
 
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 class org.jacoco.core.analysis.AbstractCounter
 
getCoveredCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the total count of covered items.
getCoveredRatio() - Method in class org.jacoco.core.analysis.AbstractCounter
 
getCoveredRatio() - Method in interface org.jacoco.core.analysis.ICounter
Calculates the ratio of covered to total count items.
getData() - Method in class org.jacoco.core.data.ExecutionData
Returns the execution data probes.
getDesc() - Method in class org.jacoco.core.analysis.MethodCoverage
Returns the parameter description of the method.
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
 
getElementStyle(ICoverageNode.ElementType) - Static method in class org.jacoco.report.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.
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.
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.html.ClassPage
 
getFileName() - Method in class org.jacoco.report.html.GroupPage
 
getFileName() - Method in class org.jacoco.report.html.PackagePage
 
getFileName() - Method in class org.jacoco.report.html.ReportPage
Specifies the local file name of this page.
getFileName() - Method in class org.jacoco.report.html.SessionsPage
 
getFileName() - Method in class org.jacoco.report.html.SourceFilePage
 
getFirstLine() - Method in interface org.jacoco.core.analysis.ILines
The number of the first line coverage information is available for.
getFirstLine() - Method in class org.jacoco.core.analysis.LinesImpl
 
getFooterText() - Method in class org.jacoco.report.html.HTMLFormatter
 
getFooterText() - Method in interface org.jacoco.report.html.IHTMLReportContext
Returns a string of textual information to include in every page footer.
getId() - Method in class org.jacoco.core.analysis.ClassCoverage
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
 
getIncludes() - Method in class org.jacoco.core.runtime.AgentOptions
Returns the wildcard expression for classes to include.
getIndexUpdate() - Method in class org.jacoco.report.html.HTMLFormatter
 
getIndexUpdate() - Method in interface org.jacoco.report.html.IHTMLReportContext
Returns the service for index updates.
getInfos() - Method in class org.jacoco.core.data.SessionInfoStore
Returns all SessionInfo objects currently contained in the store.
getInstance(int, int) - Static method in class org.jacoco.core.analysis.CounterImpl
Factory method to retrieve a counter with the given number of items.
getInstance(ICounter) - Static method in class org.jacoco.core.analysis.CounterImpl
Factory method to retrieve a clone ot the given counter.
getInstance(int, boolean) - Static method in class org.jacoco.core.analysis.CounterImpl
Factory method to retrieve a counter with the given number of items.
getInstance(boolean) - Static method in class org.jacoco.core.analysis.CounterImpl
Factory method to retrieve a counter for a single item.
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.
getInterfaceNames() - Method in class org.jacoco.core.analysis.ClassCoverage
Returns the VM names of implemented/extended interfaces
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.html.IHTMLReportContext
Returns the language names call-back used in this report.
getLastLine() - Method in interface org.jacoco.core.analysis.ILines
The number of the last line coverage information is available for.
getLastLine() - Method in class org.jacoco.core.analysis.LinesImpl
 
getLineCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getLineCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for lines.
getLines() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getLines() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the line coverage information if this node represents a source file or a part of a source file.
getLink(ReportOutputFolder) - Method in interface org.jacoco.report.html.ILinkable
Returns a relative link to the item that works from the given base folder.
getLink(ReportOutputFolder) - Method in class org.jacoco.report.html.ReportPage
 
getLink(ReportOutputFolder, String) - Method in class org.jacoco.report.html.resources.Resources
Returns a relative link to a static resource.
getLink(ReportOutputFolder, String) - Method in class org.jacoco.report.ReportOutputFolder
Returns a link relative to a given base to a resource within this folder.
getLinkLabel() - Method in class org.jacoco.report.html.ClassPage
 
getLinkLabel() - Method in interface org.jacoco.report.html.ILinkable
Returns the display label used for the link.
getLinkLabel() - Method in class org.jacoco.report.html.NodePage
 
getLinkLabel() - Method in class org.jacoco.report.html.PackagePage
 
getLinkLabel() - Method in class org.jacoco.report.html.SessionsPage
 
getLinkStyle() - Method in interface org.jacoco.report.html.ILinkable
Optional style class to be associated with the link.
getLinkStyle() - Method in class org.jacoco.report.html.NodePage
 
getLinkStyle() - Method in class org.jacoco.report.html.SessionsPage
 
getLinkToClass(long) - Method in class org.jacoco.report.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.html.IHTMLReportContext
Returns the locale used to format numbers and dates.
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 class org.jacoco.core.analysis.ClassCoverage
Returns the methods included in this class.
getMissedCount() - Method in class org.jacoco.core.analysis.AbstractCounter
 
getMissedCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the total count of missed items.
getMissedRatio() - Method in class org.jacoco.core.analysis.AbstractCounter
 
getMissedRatio() - Method in interface org.jacoco.core.analysis.ICounter
Calculates the ratio of missed to total count items.
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.html.NodePage
 
getNode() - Method in interface org.jacoco.report.html.table.ITableItem
Returns the corresponding node data.
getOnload() - Method in class org.jacoco.report.html.ClassPage
 
getOnload() - Method in class org.jacoco.report.html.GroupPage
 
getOnload() - Method in class org.jacoco.report.html.PackagePage
 
getOnload() - Method in class org.jacoco.report.html.ReportPage
Returns the onload handler for this page.
getOnload() - Method in class org.jacoco.report.html.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.html.IHTMLReportContext
Returns the encoding of the generated HTML documents.
getPackageName() - Method in class org.jacoco.core.analysis.ClassCoverage
Returns the VM name of the package this class belongs to.
getPackageName() - Method in class org.jacoco.core.analysis.SourceFileCoverage
Returns the vm name of the package the source file belongs to.
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 class org.jacoco.core.analysis.BundleCoverage
Returns all packages contained in this bundle.
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 is tcpclient.
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
 
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.html.IHTMLReportContext
Returns the static resources used in this report.
getSessionId() - Method in class org.jacoco.core.runtime.AbstractRuntime
 
getSessionId() - Method in class org.jacoco.core.runtime.AgentOptions
Returns the session identifier.
getSessionId() - Method in interface org.jacoco.core.runtime.IRuntime
Get the current a session identifier for this runtime.
getSessionsPage() - Method in class org.jacoco.report.html.HTMLFormatter
 
getSessionsPage() - Method in interface org.jacoco.report.html.IHTMLReportContext
Returns the link to the sessions page.
getSignature() - Method in class org.jacoco.core.analysis.ClassCoverage
Returns the VM signature of the class.
getSignature() - Method in class org.jacoco.core.analysis.MethodCoverage
Returns the generic signature of the method if defined.
getSourceFile(String, String) - Method in class org.jacoco.report.DirectorySourceFileLocator
 
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.
getSourceFileName() - Method in class org.jacoco.core.analysis.ClassCoverage
Returns the optional name of the corresponding source file.
getSourceFiles() - Method in class org.jacoco.core.analysis.CoverageBuilder
Returns all source file nodes currently contained in this builder.
getSourceFiles() - Method in class org.jacoco.core.analysis.PackageCoverage
Returns all source files in this package.
getStartTimeStamp() - Method in class org.jacoco.core.data.SessionInfo
 
getStatus(int) - Method in interface org.jacoco.core.analysis.ILines
Returns the coverage status of the given line.
getStatus(int) - Method in class org.jacoco.core.analysis.LinesImpl
 
getSuperName() - Method in class org.jacoco.core.analysis.ClassCoverage
Returns the VM name of the superclass.
getTable() - Method in class org.jacoco.report.html.HTMLFormatter
 
getTable() - Method in interface org.jacoco.report.html.IHTMLReportContext
Returns a table for rendering coverage nodes.
getTotalCount() - Method in class org.jacoco.core.analysis.AbstractCounter
 
getTotalCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the total count of instrumented items.
getValue(ICounter) - Method in class org.jacoco.report.html.table.CounterColumn
Retrieves the respective value from the counter.
getVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
Generate required JVM argument string based on current configuration and supplied agent jar location
GREENBAR - Static variable in class org.jacoco.report.html.resources.Resources
The name of the green part of the coverage bar
GroupPage - Class in org.jacoco.report.html
Page showing coverage information for a node that groups other nodes.
GroupPage(ICoverageNode, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.html.GroupPage
Creates a new visitor in the given context.

H

h1() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'h1' element.
hashCode() - Method in class org.jacoco.core.analysis.AbstractCounter
 
head() - Method in class org.jacoco.report.html.HTMLDocument
Creates a 'head' element.
headExtra(HTMLElement) - Method in class org.jacoco.report.html.ClassPage
 
headExtra(HTMLElement) - Method in class org.jacoco.report.html.GroupPage
 
headExtra(HTMLElement) - Method in class org.jacoco.report.html.PackagePage
 
headExtra(HTMLElement) - Method in class org.jacoco.report.html.ReportPage
Hook to add extra content into the head tag.
headExtra(HTMLElement) - Method in class org.jacoco.report.html.SourceFilePage
 
HOMEURL - Static variable in interface org.jacoco.core.JaCoCo
Absolute URL of the current JaCoCo home page
HTMLDocument - Class in org.jacoco.report.html
XMLDocument that declares its content type to be XHTML 1.0 Strict and produces HTMLElements as children.
HTMLDocument(Writer, String) - Constructor for class org.jacoco.report.html.HTMLDocument
Creates a new HTML document based on the given writer.
HTMLDocument(OutputStream, String) - Constructor for class org.jacoco.report.html.HTMLDocument
Creates a new HTML document based on the given stream.
HTMLElement - Class in org.jacoco.report.html
A XMLElement with utility methods to create XHTML documents.
HTMLElement(Writer, String) - Constructor for class org.jacoco.report.html.HTMLElement
Creates a new element for a HTML 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.

I

IClassStructureVisitor - Interface in org.jacoco.core.data
Interface for data output of the internal structure of a single class.
IColumnRenderer - Interface in org.jacoco.report.html.table
Renderer for a single column of a coverage table.
ICounter - Interface in org.jacoco.core.analysis
A counter holds the total and the covered number of particular items like classes, methods, blocks or instructions.
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
Parameter type for generic counter access.
ICoverageNode.ElementType - Enum in org.jacoco.core.analysis
Type of a Java element represented by a ICoverageNode instance.
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.
IHTMLReportContext - Interface in org.jacoco.report.html
Context and configuration information during creation of a HTML report.
IIndexUpdate - Interface in org.jacoco.report.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.
ILines - Interface in org.jacoco.core.analysis
For all elements that are located in a source file and for source files itself individual line coverage is described by this interface.
ILinkable - Interface in org.jacoco.report.html
Abstraction for items that can be linked to in a report.
IMethodStructureVisitor - Interface in org.jacoco.core.data
Interface for data output of the internal structure of a single method.
img(String, int, int, String) - Method in class org.jacoco.report.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
INCLUDES - Static variable in class org.jacoco.core.runtime.AgentOptions
Wildcard expression for class names that should be included for code coverage.
increment(ICounter) - Method in class org.jacoco.core.analysis.CounterImpl
Returns a counter with values incremented by the numbers of the given counter.
increment(ICoverageNode) - Method in class org.jacoco.core.analysis.CoverageNodeImpl
Increments the counters by the values given by another element.
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(int[], boolean) - Method in class org.jacoco.core.analysis.LinesImpl
Adds the given lines as fully covered or not covered.
increment(ILines) - Method in class org.jacoco.core.analysis.LinesImpl
Adds the lines of the given line counter.
init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.html.table.BarColumn
 
init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.html.table.CounterColumn
 
init(List<? extends ITableItem>, ICoverageNode) - Method in interface org.jacoco.report.html.table.IColumnRenderer
Initializes the column before any output method is called.
init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.html.table.LabelColumn
 
init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.html.table.PercentageColumn
 
INITMETHOD_ACC - Static variable in class org.jacoco.core.instr.InstrSupport
Access modifiers of the initialization method.
INITMETHOD_DESC - Static variable in class org.jacoco.core.instr.InstrSupport
Descriptor of the initialization method.
INITMETHOD_NAME - Static variable in class org.jacoco.core.instr.InstrSupport
Name of the initialization method.
InstrSupport - Class in org.jacoco.core.instr
Constants and utilities for byte code instrumentation.
instructionCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for instructions.
instrument(ClassReader) - Method in class org.jacoco.core.instr.Instrumenter
Creates a instrumented version of the given class if possible.
instrument(byte[]) - Method in class org.jacoco.core.instr.Instrumenter
Creates a instrumented version of the given class if possible.
instrument(InputStream) - 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 access method and data field to the given class definition.
Instrumenter - Class in org.jacoco.core.instr
Several APIs to instrument Java class definitions for coverage tracing.
Instrumenter(IRuntime) - Constructor for class org.jacoco.core.instr.Instrumenter
Creates a new instance based on the given runtime.
IRemoteCommandVisitor - Interface in org.jacoco.core.runtime
Interface for remote commands to a coverage runtime.
IReportFormatter - Interface in org.jacoco.report
Interface for all implementations that produce a particular report format.
IReportVisitor - Interface in org.jacoco.report
Output-Interface for hierarchical coverage data information.
IRuntime - Interface in org.jacoco.core.runtime
This interface represents a particular mechanism to collect execution information in the target VM at runtime.
isEmpty() - Method in class org.jacoco.core.data.SessionInfoStore
Tests whether the store is empty.
ISessionInfoVisitor - Interface in org.jacoco.core.data
Interface for data output of collected session information.
ISingleReportOutput - Interface in org.jacoco.report
Interface to emit a single binary files.
ISourceFileLocator - Interface in org.jacoco.report
Interface to look-up source files that will be included with the report.
IStructureVisitor - Interface in org.jacoco.core.data
Interface for data output of the internal class structure.
ITableItem - Interface in org.jacoco.report.html.table
Interface for a item (row) in a coverage data table.
item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.BarColumn
 
item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.CounterColumn
 
item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in interface org.jacoco.report.html.table.IColumnRenderer
Renders a single item in this column.
item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.LabelColumn
 
item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.PercentageColumn
 

J

JaCoCo - Interface 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
 

L

LabelColumn - Class in org.jacoco.report.html.table
Column for the item label.
LabelColumn() - Constructor for class org.jacoco.report.html.table.LabelColumn
 
lineCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for lines, if this element does not have lines.
lines - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Line information if this element has lines.
LinesImpl - Class in org.jacoco.core.analysis
ILines implementation.
LinesImpl() - Constructor for class org.jacoco.core.analysis.LinesImpl
Creates an empty line counter.
LinesImpl(int[], boolean) - Constructor for class org.jacoco.core.analysis.LinesImpl
Created a line counter with the given lines
link(String, String, String) - Method in class org.jacoco.report.html.HTMLElement
Creates a 'link' element.
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.
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.
meta(String, String) - Method in class org.jacoco.report.html.HTMLElement
Creates a 'meta' element.
methodCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for methods.
MethodCoverage - Class in org.jacoco.core.analysis
Coverage data of a single method.
MethodCoverage(String, String, String) - Constructor for class org.jacoco.core.analysis.MethodCoverage
Creates a method coverage data object with the given parameters.
MISSEDITEMS - Static variable in class org.jacoco.core.analysis.CounterComparator
Compares the absolute number of missed 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.
MultiFormatter - Class in org.jacoco.report
A formatter that is composed from multiple other formatters.
MultiFormatter() - Constructor for class org.jacoco.report.MultiFormatter
 

N

newCovered(ICoverageNode.CounterEntity, Locale) - Static method in class org.jacoco.report.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.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.html.table.CounterColumn
Creates a new column that shows the total count for the given entity.
nextLine() - Method in class org.jacoco.report.csv.DelimitedWriter
Output a new line and advance the writer to the next line.
NO_CODE - Static variable in interface org.jacoco.core.analysis.ILines
Flag for lines that do not contain code (value is 0x00).
NodeComparator - Class in org.jacoco.core.analysis
Collection of comparators to compare ICoverageNode objects by different criteria.
NodePage - Class in org.jacoco.report.html
Report page that represents a coverage node.
NodePage(ICoverageNode, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.html.NodePage
Creates a new node page.
NOP - Static variable in interface org.jacoco.report.IReportVisitor
Visitor without any operation.
NOT_COVERED - Static variable in interface org.jacoco.core.analysis.ILines
Flag for lines that are not covered (value is 0x01).
NOT_COVERED - Static variable in class org.jacoco.report.html.resources.Styles
Part of source code that is not covered
NR - Static variable in class org.jacoco.report.html.resources.Styles
Line number before each source line

O

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.
org.jacoco.agent - package org.jacoco.agent
 
org.jacoco.core - package org.jacoco.core
 
org.jacoco.core.analysis - package org.jacoco.core.analysis
 
org.jacoco.core.data - package org.jacoco.core.data
 
org.jacoco.core.instr - package org.jacoco.core.instr
 
org.jacoco.core.runtime - package org.jacoco.core.runtime
 
org.jacoco.report - package org.jacoco.report
 
org.jacoco.report.csv - package org.jacoco.report.csv
 
org.jacoco.report.html - package org.jacoco.report.html
 
org.jacoco.report.html.index - package org.jacoco.report.html.index
 
org.jacoco.report.html.resources - package org.jacoco.report.html.resources
 
org.jacoco.report.html.table - package org.jacoco.report.html.table
 
org.jacoco.report.xml - package org.jacoco.report.xml
 
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.html.HTMLElement
Creates a 'p' element.
PackageCoverage - Class in org.jacoco.core.analysis
Coverage data of a Java package.
PackageCoverage(String, Collection<ClassCoverage>, Collection<SourceFileCoverage>) - Constructor for class org.jacoco.core.analysis.PackageCoverage
Creates package node instance for a package with the given name.
PackagePage - Class in org.jacoco.report.html
Page showing coverage information for a Java package.
PackagePage(ICoverageNode, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.html.PackagePage
Creates a new visitor in the given context.
PARTLY_COVERED - Static variable in interface org.jacoco.core.analysis.ILines
Flag for lines that are partly covered (value is 0x03).
PARTLY_COVERED - Static variable in class org.jacoco.report.html.resources.Styles
Part of source code that is partly covered
PercentageColumn - Class in org.jacoco.report.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.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.html.HTMLElement
Creates a 'pre' element.
PRETTIFY_SCRIPT - Static variable in class org.jacoco.report.html.resources.Resources
The name of the prettify script
PRETTIFY_STYLESHEET - Static variable in class org.jacoco.report.html.resources.Resources
The name of the prettify style sheet
push(MethodVisitor, int) - Static method in class org.jacoco.core.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.data.CompactDataInput
Reads a boolean array.
readVarInt() - Method in class org.jacoco.core.data.CompactDataInput
Reads a variable length representation of an integer value.
REDBAR - Static variable in class org.jacoco.report.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.
render(HTMLElement, ILines, Reader) - Method in class org.jacoco.report.html.SourceHighlighter
Highlights the given source file.
render(HTMLElement, List<? extends ITableItem>, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.html.table.Table
Renders a table for the given icon
renderDocument() - Method in class org.jacoco.report.html.ReportPage
Renders the page content.
ReportOutputFolder - Class in org.jacoco.report
Logical representation of a folder in the output structure.
ReportOutputFolder(IMultiReportOutput) - Constructor for class org.jacoco.report.ReportOutputFolder
Creates a new root folder for the given output.
ReportPage - Class in org.jacoco.report.html
Base class for HTML page generators.
ReportPage(ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.html.ReportPage
Creates a new report page.
reset() - Method in class org.jacoco.core.data.ExecutionData
Sets all probe data entries to false.
reset() - Method in class org.jacoco.core.data.ExecutionDataStore
Resets all execution data probes, i.e. marks them as not executed.
reset() - Method in class org.jacoco.core.runtime.AbstractRuntime
 
reset() - Method in interface org.jacoco.core.runtime.IRuntime
Resets all coverage information.
Resources - Class in org.jacoco.report.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.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.html.resources.Styles
Test block aligned to the right

S

script(String, String) - Method in class org.jacoco.report.html.HTMLElement
Creates a '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 - 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.html
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.html.SessionsPage
Creates a new page page to display session information.
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 is tcpclient
setAppend(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
Sets whether the output should be appended to an existing file.
setDestfile(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the output file location.
setDumpOnExit(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
Sets whether coverage data should be dumped on exit
setExclClassloader(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the wildcard expression for excluded class loaders.
setExcludes(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the wildcard expression for classes to exclude.
setExecutionDataVisitor(IExecutionDataVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
Sets an listener for execution data.
setFooterText(String) - Method in class org.jacoco.report.html.HTMLFormatter
Sets the optional text that should be included in every footer page.
setIncludes(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the wildcard expression for classes to include.
setLanguage(String) - Method in class org.jacoco.report.html.SourceHighlighter
Specifies the source language.
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.
setLocale(Locale) - Method in class org.jacoco.report.html.HTMLFormatter
Sets the locale used for report rendering.
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.core.runtime.AgentOptions
Sets the port on which to listen to when output is tcpserver or the port to connect to when output is tcpclient
setRemoteCommandVisitor(IRemoteCommandVisitor) - Method in class org.jacoco.core.runtime.RemoteControlReader
Sets an listener for agent commands.
setReportOutput(ISingleReportOutput) - Method in class org.jacoco.report.csv.CSVFormatter
Sets the report output callback for this report formatter.
setReportOutput(IMultiReportOutput) - Method in class org.jacoco.report.html.HTMLFormatter
Defines the output for files created by the formatter.
setReportOutput(ISingleReportOutput) - Method in class org.jacoco.report.xml.XMLFormatter
Sets the report output callback for this report formatter.
setSessionId(String) - Method in class org.jacoco.core.runtime.AbstractRuntime
 
setSessionId(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the session identifier.
setSessionId(String) - Method in interface org.jacoco.core.runtime.IRuntime
Sets a session identifier for this runtime.
setSessionInfoVisitor(ISessionInfoVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
Sets an listener for session information.
setStartTimeStamp() - Method in class org.jacoco.core.runtime.AbstractRuntime
Subclasses need to call this method in their IRuntime.startup() implementation to record the timestamp of session startup.
setTabWidth(int) - Method in class org.jacoco.report.html.SourceHighlighter
Specifies the number of spaces that are represented by a single tab.
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
 
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.html.resources.Resources
The name of the sort script
SORTABLE - Static variable in class org.jacoco.report.html.resources.Styles
Table header for sortable columns
SOURCE - Static variable in class org.jacoco.report.html.resources.Styles
Block of source code
SourceFileCoverage - Class in org.jacoco.core.analysis
Coverage data of a single source file.
SourceFileCoverage(String, String) - Constructor for class org.jacoco.core.analysis.SourceFileCoverage
Creates a source file data object with the given parameters.
SourceFilePage - Class in org.jacoco.report.html
Page showing the content of a source file with numbered and highlighted source lines.
SourceFilePage(SourceFileCoverage, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.html.SourceFilePage
Creates a new page with given information.
SourceHighlighter - Class in org.jacoco.report.html
Creates a highlighted output of a source file.
SourceHighlighter() - Constructor for class org.jacoco.report.html.SourceHighlighter
Creates a new highlighter with default settings.
span() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'span' element.
span(String) - Method in class org.jacoco.report.html.HTMLElement
Creates a 'span' element.
span(String, String) - Method in class org.jacoco.report.html.HTMLElement
Creates a 'span' element.
startup() - Method in interface org.jacoco.core.runtime.IRuntime
Starts the coverage runtime.
startup() - Method in class org.jacoco.core.runtime.LoggerRuntime
 
startup() - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
 
startup() - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
 
startup() - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
 
store - Variable in class org.jacoco.core.runtime.AbstractRuntime
store for execution data
StringPool - Class in org.jacoco.core.analysis
Utility to normalize String instances in a way that if equals() is true for two strings they will be represented the same instance.
StringPool() - Constructor for class org.jacoco.core.analysis.StringPool
 
Styles - Class in org.jacoco.report.html.resources
Constants for styles defined by the report style sheet.
STYLESHEET - Static variable in class org.jacoco.report.html.resources.Resources
The name of the style sheet
subFolder(String) - Method in class org.jacoco.report.ReportOutputFolder
Creates a sub-folder with the given name.
SystemPropertiesRuntime - Class in org.jacoco.core.runtime
This IRuntime implementation makes the execution data available through a special entry of the type Map in the System.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.html.HTMLElement
Creates a 'table' element.
Table - Class in org.jacoco.report.html.table
Renderer for a table of ITableItems.
Table() - Constructor for class org.jacoco.report.html.table.Table
Create a new table without any columns yet.
tbody() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'tbody' element.
td() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'td' element.
td(String) - Method in class org.jacoco.report.html.HTMLElement
Creates a 'td' element.
text(String) - Method in class org.jacoco.report.xml.XMLElement
Adds the given text as a child to this node.
tfoot() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'tfoot' element.
thead() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'thead' element.
title() - Method in class org.jacoco.report.html.HTMLElement
Creates a 'title' element.
toString() - Method in class org.jacoco.core.analysis.AbstractCounter
 
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.runtime.AgentOptions
Creates a string representation that can be passed to the agent via the command line.
total - Variable in class org.jacoco.core.analysis.AbstractCounter
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.html.HTMLElement
Creates a 'tr' element.

U

UP - Static variable in class org.jacoco.report.html.resources.Styles
Table header for column sorted upwards
URLStreamHandlerRuntime - Class in org.jacoco.core.runtime
This IRuntime implementation registers a special URLStreamHandler 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.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.ICoverageNode.CounterEntity
Returns an array containing the constants of this enum type, in the order they're 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're 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're declared.
VERSION - Static variable in interface org.jacoco.core.JaCoCo
Qualified build version of the JaCoCo core library.
visit(String, String, String, String[]) - Method in interface org.jacoco.core.data.IClassStructureVisitor
Called once to report the class name, signature, superclass name and names of implemented/extended interfaces.
visitChild(ICoverageNode) - Method in class org.jacoco.report.html.ClassPage
 
visitChild(ICoverageNode) - Method in class org.jacoco.report.html.GroupPage
 
visitChild(ICoverageNode) - Method in class org.jacoco.report.html.PackagePage
 
visitChild(ICoverageNode) - Method in class org.jacoco.report.html.SourceFilePage
 
visitChild(ICoverageNode) - Method in interface org.jacoco.report.IReportVisitor
Called for every direct child.
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.
visitClassStructure(long) - Method in class org.jacoco.core.analysis.CoverageBuilder
 
visitClassStructure(long) - Method in interface org.jacoco.core.data.IStructureVisitor
Provides structural information about a class as collected during instrumentation.
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 interface org.jacoco.core.data.IClassStructureVisitor
Signals the end of this class structure.
visitEnd() - Method in interface org.jacoco.core.data.IMethodStructureVisitor
Signals the end of this method structure.
visitEnd(ISourceFileLocator) - Method in class org.jacoco.report.html.GroupPage
 
visitEnd(ISourceFileLocator) - Method in class org.jacoco.report.html.NodePage
 
visitEnd(ISourceFileLocator) - Method in class org.jacoco.report.html.PackagePage
 
visitEnd(ISourceFileLocator) - Method in class org.jacoco.report.html.SourceFilePage
 
visitEnd(ISourceFileLocator) - Method in interface org.jacoco.report.IReportVisitor
Called at the very end, when all child node have been processed and the counters for this node are properly populated.
visitMethodStructure(String, String, String) - Method in interface org.jacoco.core.data.IClassStructureVisitor
Called for every instrumented method.
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
 
visitSourceFile(String) - Method in interface org.jacoco.core.data.IClassStructureVisitor
The source file name might be reported through this method call.

W

WildcardMatcher - Class in org.jacoco.core.runtime
Matches strings against ?
WildcardMatcher(String) - Constructor for class org.jacoco.core.runtime.WildcardMatcher
Creates a new matcher with the given expression.
write(String...) - Method in class org.jacoco.report.csv.DelimitedWriter
Write multiple fields at once.
write(String) - Method in class org.jacoco.report.csv.DelimitedWriter
Write a single value.
write(int) - Method in class org.jacoco.report.csv.DelimitedWriter
Write a single integer value.
write(int...) - Method in class org.jacoco.report.csv.DelimitedWriter
Write muliple integer values
writeBooleanArray(boolean[]) - Method in class org.jacoco.core.data.CompactDataOutput
Writes a boolean array.
writer - Variable in class org.jacoco.report.xml.XMLElement
Writer for content output
writeVarInt(int) - Method in class org.jacoco.core.data.CompactDataOutput
Writes a variable length representation of an integer value that reduces the number of written bytes for small positive values.

X

XMLDocument - Class in org.jacoco.report.xml
Root element of an XML document.
XMLDocument(String, String, String, String, boolean, Writer) - Constructor for class org.jacoco.report.xml.XMLDocument
Writes a new document to the given writer.
XMLDocument(String, String, String, String, boolean, OutputStream) - Constructor for class org.jacoco.report.xml.XMLDocument
Writes a new document to the given binary stream.
XMLElement - Class in org.jacoco.report.xml
Simple API to create well formed XML streams.
XMLElement(Writer, String) - Constructor for class org.jacoco.report.xml.XMLElement
Creates a new element for 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
 

Z

ZipMultiReportOutput - Class in org.jacoco.report
Implementation of IMultiReportOutput that writes files into a ZipOutputStream.
ZipMultiReportOutput(ZipOutputStream) - Constructor for class org.jacoco.report.ZipMultiReportOutput
Creates a new instance based on the given ZipOutputStream.

A B C D E F G H I J L M N O P R S T U V W X Z