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

A

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.
add(ISourceFileLocator) - Method in class org.jacoco.report.MultiSourceFileLocator
Adds the given locator.
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(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.
analyzeAll(InputStream, String) - Method in class org.jacoco.core.analysis.Analyzer
Analyzes all classes found in the given input stream.
analyzeAll(File) - Method in class org.jacoco.core.analysis.Analyzer
Analyzes all class files contained in the given file or folder.
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.
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.
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.

B

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.
branchCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for branches.

C

classCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for classes.
CLASSDUMPDIR - Static variable in class org.jacoco.core.runtime.AgentOptions
Specifies where the agent dumps all class files it encounters.
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.ZipMultiReportOutput
 
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.
COMMITID - Static variable in class org.jacoco.core.JaCoCo
Commit ID of the source tree of JaCoCo core.
COMMITID_SHORT - Static variable in class org.jacoco.core.JaCoCo
Shortened (7 digit) commit ID of the source tree of JaCoCo core.
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
 
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.
CounterComparator - Class in org.jacoco.core.analysis
Collection of comparators to compare ICounter objects by different criteria.
CoverageBuilder - Class in org.jacoco.core.analysis
Builder for hierarchical ICoverageNode structures from single IClassCoverage 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.
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.
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.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.
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.
createVisitor(IViolationsOutput) - Method in class org.jacoco.report.check.RulesChecker
Creates a new visitor to process the configured checks.
createVisitor(OutputStream) - Method in class org.jacoco.report.csv.CSVFormatter
Creates a new visitor to write a report to the given stream.
createVisitor(IMultiReportOutput) - Method in class org.jacoco.report.html.HTMLFormatter
Creates a new visitor to write a report to the given output.
createVisitor(OutputStream) - Method in class org.jacoco.report.xml.XMLFormatter
Creates a new visitor to write a report to the given stream.
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
 

D

data - Variable in class org.jacoco.core.runtime.AbstractRuntime
access to the runtime data
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.
dump(boolean) - Method in interface org.jacoco.agent.rt.IAgent
Triggers a dump of the current execution data through the configured output.
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, 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) - 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.

E

EMPTY - Static variable in interface org.jacoco.core.analysis.ICounter
Status flag for no items (value is 0x00).
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 and retryDelay=1000.
ExecFileLoader - Class in org.jacoco.core.tools
Convenience utility for loading *.exec files into a ExecutionDataStore and a SessionInfoStore.
ExecFileLoader() - Constructor for class org.jacoco.core.tools.ExecFileLoader
New instance to combine session infos and execution data from multiple files.
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

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.
flush() - Method in class org.jacoco.core.data.ExecutionDataWriter
Flushes the underlying stream.
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).

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 method Object.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
 
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.
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 is tcpclient
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.
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.
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.
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
 
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 counters.
getCoveredCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the count of covered items.
getCoveredRatio() - Method in interface org.jacoco.core.analysis.ICounter
Calculates the ratio of covered to total count items.
getDesc() - Method in interface org.jacoco.core.analysis.IMethodCoverage
Returns the descriptor 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
 
getElement() - Method in class org.jacoco.report.check.Rule
 
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(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.
getFirstLine() - Method in interface org.jacoco.core.analysis.ISourceNode
The number of the first line coverage information is available for.
getFooterText() - Method in class org.jacoco.report.html.HTMLFormatter
 
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
 
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
 
getInfos() - Method in class org.jacoco.core.data.SessionInfoStore
Returns all SessionInfo objects currently contained in the store.
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.
getInterfaceNames() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the VM names of implemented/extended interfaces.
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
 
getLastLine() - Method in interface org.jacoco.core.analysis.ISourceNode
The number of the last line coverage information is available for.
getLimits() - Method in class org.jacoco.report.check.Rule
 
getLine(int) - Method in interface org.jacoco.core.analysis.ISourceNode
Returns the line information for given line.
getLineCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getLineCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for lines.
getLocale() - Method in class org.jacoco.report.html.HTMLFormatter
 
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.
getMinimum() - Method in class org.jacoco.report.check.Limit
 
getMissedCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the count of missed items.
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.
getNoMatchClasses() - Method in class org.jacoco.core.analysis.CoverageBuilder
Returns all classes for which execution data does not match.
getOutput() - Method in class org.jacoco.core.runtime.AgentOptions
Returns the output mode
getOutputEncoding() - Method in class org.jacoco.report.html.HTMLFormatter
 
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(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.
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.
getProbes() - Method in class org.jacoco.core.data.ExecutionData
Returns the execution data probes.
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
 
getSessionId() - Method in interface org.jacoco.agent.rt.IAgent
Returns current a session identifier.
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
 
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.
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.
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.
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.
getSuperName() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the VM name of the superclass.
getTable() - Method in class org.jacoco.report.html.HTMLFormatter
 
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.
getValue(ICounter.CounterValue) - Method in interface org.jacoco.core.analysis.ICounter
Returns the counter value of the given type.
getValue() - Method in class org.jacoco.report.check.Limit
 
getVersion() - Method in interface org.jacoco.agent.rt.IAgent
Returns version of JaCoCo.
getVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
Generate required JVM argument based on current configuration and supplied agent jar location.

H

hasHits() - Method in class org.jacoco.core.data.ExecutionData
Checks whether any probe has been hit.
HOMEURL - Static variable in class org.jacoco.core.JaCoCo
Absolute URL of the current JaCoCo home page
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

IAgent - Interface in org.jacoco.agent.rt
Runtime API and MBean agent interface.
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.
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.
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.
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.
IMethodCoverage - Interface in org.jacoco.core.analysis
Coverage data of a single method.
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(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.
InjectedClassRuntime - Class in org.jacoco.core.runtime
IRuntime which defines a new class using java.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.
InputStreamSourceFileLocator - Class in org.jacoco.report
Abstract base class for ISourceFileLocator locator implementations based on InputStreams.
InputStreamSourceFileLocator(String, int) - Constructor for class org.jacoco.report.InputStreamSourceFileLocator
Creates a new locator with the given specification.
instructionCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for instructions.
instrument(byte[], String) - Method in class org.jacoco.core.instr.Instrumenter
Creates an instrumented version of the given class if possible.
instrument(InputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
Creates an instrumented version of the given class if possible.
instrument(InputStream, OutputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
Creates an instrumented version of the given class file.
instrument(byte[], String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
Adds the static data field to the given class definition.
instrumentAll(InputStream, OutputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
Creates an 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.
IPackageCoverage - Interface in org.jacoco.core.analysis
Coverage data of a Java package containing classes and source files.
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.
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.
isNoMatch() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns if the analyzed class does match the execution data provided.
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.
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".

L

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
lineCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for lines
load(InputStream) - Method in class org.jacoco.core.tools.ExecFileLoader
Reads all data from given input stream.
load(File) - Method in class org.jacoco.core.tools.ExecFileLoader
Reads all data from given input stream.
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.
merge(ExecutionData, boolean) - Method in class org.jacoco.core.data.ExecutionData
Merges the given execution data into the probe data of this object.
methodCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for methods.
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.
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

NodeComparator - Class in org.jacoco.core.analysis
Comparator to compare ICoverageNode objects by different counter criteria.
NOT_COVERED - Static variable in interface org.jacoco.core.analysis.ICounter
Status flag when all items are not covered (value is 0x01).

O

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 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.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.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.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

PARTLY_COVERED - Static variable in interface org.jacoco.core.analysis.ICounter
Status flag when items are partly covered (value is 0x03).
PORT - Static variable in class org.jacoco.core.runtime.AgentOptions
The port the tcpserver binds to or the tcpclient connects to.
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.
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
 
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.
reset() - Method in interface org.jacoco.agent.rt.IAgent
Resets all coverage information.
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. marks them as not executed.
reset() - Method in class org.jacoco.core.runtime.RuntimeData
Resets all coverage information.
reverse() - Method in class org.jacoco.core.analysis.CounterComparator
Creates a new version of this comparator that sorts in reverse order.
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(OutputStream) - Method in class org.jacoco.core.tools.ExecFileLoader
Saves the current content into the given output stream.
save(File, boolean) - Method in class org.jacoco.core.tools.ExecFileLoader
Saves the current content into the given file.
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 an 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
 
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.
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.
setDestfile(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the output file location.
setDump(boolean) - Method in class org.jacoco.core.tools.ExecDumpClient
Specifies whether a dump should be requested
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
 
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.
setExcludes(String) - Method in class org.jacoco.report.check.Rule
 
setExecutionDataVisitor(IExecutionDataVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
Sets a 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.
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.core.runtime.AgentOptions
Sets whether classes without source location should be instrumented.
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
 
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(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 the expected maximum value.
setMinimum(String) - Method in class org.jacoco.report.check.Limit
Sets the expected minimum value.
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 a listener for agent commands.
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.core.tools.ExecDumpClient
Specifies whether execution data should be reset.
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.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 a listener for session information.
setValue(String) - Method in class org.jacoco.report.check.Limit
Sets the value to check.
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
 
sort(Collection<T>) - Method in class org.jacoco.core.analysis.NodeComparator
Returns a sorted copy of the given collection of ICoverageNode elements.
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
 
store - Variable in class org.jacoco.core.runtime.RuntimeData
store for execution data
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.
SystemPropertiesRuntime - Class in org.jacoco.core.runtime
This IRuntime implementation makes the execution data available through a special entry in the System.getProperties() hash table.
SystemPropertiesRuntime() - Constructor for class org.jacoco.core.runtime.SystemPropertiesRuntime
Creates a new runtime.

T

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.
TOTALITEMS - Static variable in class org.jacoco.core.analysis.CounterComparator
Compares the absolute number of total items.

U

UNKNOWN_LINE - Static variable in interface org.jacoco.core.analysis.ISourceNode
Placeholder for unknown lines (no debug information)

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're 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'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 class org.jacoco.core.JaCoCo
Qualified version of JaCoCo core.
visitBundle(IBundleCoverage, ISourceFileLocator) - Method in interface org.jacoco.report.IReportGroupVisitor
Called to add a bundle to 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 an execution data dump with an optional reset.
visitDumpCommand(boolean, boolean) - Method in class org.jacoco.core.runtime.RemoteControlWriter
 
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
 
visitGroup(String) - Method in interface org.jacoco.report.IReportGroupVisitor
Called to add a new group to the report.
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
 
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
 

W

WildcardMatcher - Class in org.jacoco.core.runtime
Matches strings against glob like wildcard expressions where ?
WildcardMatcher(String) - Constructor for class org.jacoco.core.runtime.WildcardMatcher
Creates a new matcher with the given expression.

X

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.
ZipMultiReportOutput(OutputStream) - Constructor for class org.jacoco.report.ZipMultiReportOutput
Creates a new instance based on the given OutputStream.

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

Copyright © 2009–2024 Mountainminds GmbH & Co. KG. All rights reserved.