Skip navigation links
A B C D E F G H I J L M N O P R S T U V W 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.
accept(MethodVisitor) - Method in interface org.jacoco.core.internal.flow.IFrame
Emits a frame event with the current content to the given visitor.
addBranch() - Method in class org.jacoco.core.internal.flow.Instruction
Adds an branch to this instruction.
addMembers(ClassVisitor, int) - Method in interface org.jacoco.core.internal.instr.IProbeArrayStrategy
Adds additional class members required by this strategy.
addMethod(IMethodCoverage) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
Add a method to this class.
ADDRESS - Static variable in class org.jacoco.core.runtime.AgentOptions
The IP address or DNS name the tcpserver binds to or the tcpclient connects to.
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(ClassReader) - Method in class org.jacoco.core.analysis.Analyzer
Analyzes the class given as a ASM reader.
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.
ASM_API_VERSION - Static variable in class org.jacoco.core.JaCoCo
ASM API version
assertCompatibility(long, String, int) - Method in class org.jacoco.core.data.ExecutionData
Asserts that this execution data object is compatible with the given parameters.
assertNotInstrumented(String, String) - Static method in class org.jacoco.core.internal.instr.InstrSupport
Ensures that the given member does not correspond to a internal member created by the instrumentation process.

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.
branches - Variable in class org.jacoco.core.internal.analysis.LineImpl
branch counter
BundleCoverageImpl - Class in org.jacoco.core.internal.analysis
Implementation of IBundleCoverage.
BundleCoverageImpl(String, Collection<IPackageCoverage>) - Constructor for class org.jacoco.core.internal.analysis.BundleCoverageImpl
Creates a new instance of a bundle with the given name.
BundleCoverageImpl(String, Collection<IClassCoverage>, Collection<ISourceFileCoverage>) - Constructor for class org.jacoco.core.internal.analysis.BundleCoverageImpl
Creates a new instance of a bundle with the given name.

C

checksum(byte[]) - Static method in class org.jacoco.core.internal.data.CRC64
Calculates the CRC64 checksum for the given data array.
ClassAnalyzer - Class in org.jacoco.core.internal.analysis
Analyzes the structure of a class.
ClassAnalyzer(ClassCoverageImpl, boolean[], StringPool) - Constructor for class org.jacoco.core.internal.analysis.ClassAnalyzer
Creates a new analyzer that builds coverage data for a class.
classCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for classes.
ClassCoverageImpl - Class in org.jacoco.core.internal.analysis
Implementation of IClassCoverage.
ClassCoverageImpl(String, long, boolean) - Constructor for class org.jacoco.core.internal.analysis.ClassCoverageImpl
Creates a class coverage data object with the given parameters.
CLASSDUMPDIR - Static variable in class org.jacoco.core.runtime.AgentOptions
Specifies where the agent dumps all class files it encounters.
CLASSFILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
File type Java class
ClassInstrumenter - Class in org.jacoco.core.internal.instr
Adapter that instruments a class for coverage tracing.
ClassInstrumenter(IProbeArrayStrategy, ClassVisitor) - Constructor for class org.jacoco.core.internal.instr.ClassInstrumenter
Emits a instrumented version of this class to the given class visitor.
ClassProbesAdapter - Class in org.jacoco.core.internal.flow
A ClassVisitor that calculates probes for every method.
ClassProbesAdapter(ClassProbesVisitor, boolean) - Constructor for class org.jacoco.core.internal.flow.ClassProbesAdapter
Creates a new adapter that delegates to the given visitor.
ClassProbesVisitor - Class in org.jacoco.core.internal.flow
A ClassVisitor with additional methods to get probe insertion information for each method
ClassProbesVisitor() - Constructor for class org.jacoco.core.internal.flow.ClassProbesVisitor
New visitor instance without delegate visitor.
ClassProbesVisitor(ClassVisitor) - Constructor for class org.jacoco.core.internal.flow.ClassProbesVisitor
New visitor instance that delegates to the given visitor.
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.
CompactDataInput - Class in org.jacoco.core.internal.data
Additional data input methods for compact storage of data structures.
CompactDataInput(InputStream) - Constructor for class org.jacoco.core.internal.data.CompactDataInput
Creates a new CompactDataInput that uses the specified underlying input stream.
CompactDataOutput - Class in org.jacoco.core.internal.data
Additional data output methods for compact storage of data structures.
CompactDataOutput(OutputStream) - Constructor for class org.jacoco.core.internal.data.CompactDataOutput
Creates a new CompactDataOutput instance that writes data to the specified underlying output stream
compare(ICounter, ICounter) - Method in class org.jacoco.core.analysis.CounterComparator
 
compare(ICoverageNode, ICoverageNode) - Method in class org.jacoco.core.analysis.NodeComparator
 
compareTo(SessionInfo) - Method in class org.jacoco.core.data.SessionInfo
 
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.
ContentTypeDetector - Class in org.jacoco.core.internal
Detector for content types of binary streams based on a magic headers.
ContentTypeDetector(InputStream) - Constructor for class org.jacoco.core.internal.ContentTypeDetector
Creates a new detector based on the given input.
COUNTER_0_0 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
Constant for Counter with 0/0 values.
COUNTER_0_1 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
Constant for Counter with 0/1 values.
COUNTER_1_0 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
Constant for Counter with 1/0 values.
CounterComparator - Class in org.jacoco.core.analysis
Collection of comparators to compare ICounter objects by different criteria.
CounterImpl - Class in org.jacoco.core.internal.analysis
ICounter implementations.
CounterImpl(int, int) - Constructor for class org.jacoco.core.internal.analysis.CounterImpl
Creates a new instance with the given numbers.
CoverageBuilder - Class in org.jacoco.core.analysis
Builder for hierarchical ICoverageNode structures from 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.
covered - Variable in class org.jacoco.core.internal.analysis.CounterImpl
number of covered 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.internal.data
CRC64 checksum calculator based on the polynom specified in ISO 3309.
createFor(ClassReader, IExecutionDataAccessorGenerator) - Static method in class org.jacoco.core.internal.instr.ProbeArrayStrategyFactory
Creates a suitable strategy instance for the class described by the given reader.
createFor(Instrumentation, String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
Creates a new ModifiedSystemClassRuntime using the given class as the data container.
createFor(Instrumentation, String, String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
Creates a new ModifiedSystemClassRuntime using the given class as the data container.
createRandomId() - Static method in class org.jacoco.core.runtime.AbstractRuntime
Creates a random session identifier.

D

data - Variable in class org.jacoco.core.runtime.AbstractRuntime
access to the runtime data
DATAFIELD_ACC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
Access modifiers of the field that stores coverage information of a class.
DATAFIELD_DESC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
Data type of the field that stores coverage information for a class ( boolean[]).
DATAFIELD_INTF_ACC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
Access modifiers of the field that stores coverage information of a Java 8 interface.
DATAFIELD_NAME - Static variable in class org.jacoco.core.internal.instr.InstrSupport
Name of the field that stores coverage information of a class.
DEFAULT_ADDRESS - Static variable in class org.jacoco.core.runtime.AgentOptions
Default value for the "address" agent option.
DEFAULT_DESTFILE - Static variable in class org.jacoco.core.runtime.AgentOptions
Default value for the "destfile" agent option.
DEFAULT_PORT - Static variable in class org.jacoco.core.runtime.AgentOptions
Default value for the "port" agent option.
DESTFILE - Static variable in class org.jacoco.core.runtime.AgentOptions
Specifies the output file for execution data.
downgrade(byte[]) - Static method in class org.jacoco.core.internal.Java9Support
Replaces version in the definition of class on Opcodes.V1_8.
downgradeIfRequired(byte[]) - Static method in class org.jacoco.core.internal.Java9Support
Returns new definition of class with version Opcodes.V1_8, if it has version Java9Support.V1_9.
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.
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).
EMPTY - Static variable in class org.jacoco.core.internal.analysis.LineImpl
Empty line without instructions or branches.
ensureCapacity(int, int) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
Make sure that the internal buffer can keep lines from first to last.
equals(Object) - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
equals(Object) - Method in class org.jacoco.core.internal.analysis.LineImpl
 
equals(Object) - Method in class org.jacoco.core.runtime.RuntimeData
In violation of the regular semantic of Object.equals(Object) this implementation is used as the interface to the execution data store.
EXCLCLASSLOADER - Static variable in class org.jacoco.core.runtime.AgentOptions
Wildcard expression for class loaders names for classes that should be excluded from code coverage.
EXCLUDES - Static variable in class org.jacoco.core.runtime.AgentOptions
Wildcard expression for class names that should be excluded from code coverage.
ExecDumpClient - Class in org.jacoco.core.tools
A client for remote execution data dumps.
ExecDumpClient() - Constructor for class org.jacoco.core.tools.ExecDumpClient
New instance with the defaults dump==true, reset==false, retryCount==0 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.

F

filterEntry(String, InputStream, OutputStream) - Method in class org.jacoco.core.internal.instr.SignatureRemover
Filters the content of the entry with the provided name if necessary.
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.LoggerRuntime
 
generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
 
generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.OfflineInstrumentationAccessGenerator
 
generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
 
generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
 
get(long) - Method in class org.jacoco.core.data.ExecutionDataStore
Returns the ExecutionData entry with the given id if it exists in this store.
get(Long, String, int) - Method in class org.jacoco.core.data.ExecutionDataStore
Returns the coverage data for the class with the given identifier.
get(String) - Method in class org.jacoco.core.internal.analysis.StringPool
Returns a normalized instance that is equal to the given String .
get(String[]) - Method in class org.jacoco.core.internal.analysis.StringPool
Returns a modified version of the array with all string slots normalized.
getActualVersion() - Method in exception org.jacoco.core.data.IncompatibleExecDataVersionException
Gets the actual version found in the execution data.
getAddress() - Method in class org.jacoco.core.runtime.AgentOptions
Gets the hostname or IP address to listen to when output is tcpserver or connect to when output is tcpclient
getAppend() - Method in class org.jacoco.core.runtime.AgentOptions
Returns whether the output should be appended to an existing file.
getBranchCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getBranchCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for branches.
getBranchCounter() - Method in interface org.jacoco.core.analysis.ILine
Returns the branches counter for this line.
getBranchCounter() - Method in class org.jacoco.core.internal.analysis.LineImpl
 
getBranches() - Method in class org.jacoco.core.internal.flow.Instruction
Returns the total number of branches starting from this instruction.
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.
getClasses() - Method in class org.jacoco.core.internal.analysis.PackageCoverageImpl
 
getComplexityCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getComplexityCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for cyclomatic complexity.
getContents() - Method in class org.jacoco.core.data.ExecutionDataStore
Returns a collection that represents current contents of the store.
getCounter(ICoverageNode.CounterEntity) - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getCounter(ICoverageNode.CounterEntity) - Method in interface org.jacoco.core.analysis.ICoverageNode
Generic access to the the counters.
getCoverage() - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
Returns the coverage data for this method after this visitor has been processed.
getCoveredBranches() - Method in class org.jacoco.core.internal.flow.Instruction
Returns the number of covered branches starting from this instruction.
getCoveredCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the count of covered items.
getCoveredCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
getCoveredRatio() - Method in interface org.jacoco.core.analysis.ICounter
Calculates the ratio of covered to total count items.
getCoveredRatio() - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
getDesc() - Method in interface org.jacoco.core.analysis.IMethodCoverage
Returns the descriptor of the method.
getDesc() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
 
getDestfile() - Method in class org.jacoco.core.runtime.AgentOptions
Returns the output file location.
getDumpOnExit() - Method in class org.jacoco.core.runtime.AgentOptions
Returns whether coverage data should be dumped on exit.
getDumpTimeStamp() - Method in class org.jacoco.core.data.SessionInfo
 
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.
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.
getFirstLine() - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
 
getId() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the identifier for this class which is the CRC64 signature of the class definition.
getId() - Method in class org.jacoco.core.data.ExecutionData
Return the unique identifier for this class.
getId() - Method in class org.jacoco.core.data.SessionInfo
 
getId() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
getInclBootstrapClasses() - Method in class org.jacoco.core.runtime.AgentOptions
Returns whether classes from the bootstrap classloader should be instrumented.
getInclNoLocationClasses() - Method in class org.jacoco.core.runtime.AgentOptions
Returns whether classes without source location should be instrumented.
getIncludes() - Method in class org.jacoco.core.runtime.AgentOptions
Returns the wildcard expression for classes to include.
getInfos() - Method in class org.jacoco.core.data.SessionInfoStore
Returns all SessionInfo objects currently contained in the store.
getInputStream() - Method in class org.jacoco.core.internal.ContentTypeDetector
Returns an input stream instance to read the complete content (including the header) of the underlying stream.
getInstance(int, int) - Static method in class org.jacoco.core.internal.analysis.CounterImpl
Factory method to retrieve a counter with the given number of items.
getInstance(ICounter) - Static method in class org.jacoco.core.internal.analysis.CounterImpl
Factory method to retrieve a clone of the given counter.
getInstruction(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Returns the corresponding instruction for the given label if one has been defined.
getInstructionCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getInstructionCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for byte code instructions.
getInstructionCounter() - Method in interface org.jacoco.core.analysis.ILine
Returns the instruction counter for this line.
getInstructionCounter() - Method in class org.jacoco.core.internal.analysis.LineImpl
 
getInterfaceNames() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the VM names of implemented/extended interfaces.
getInterfaceNames() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
getIntermediateLabel(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Returns the intermediate label for the given label if one has been defined.
getJmx() - Method in class org.jacoco.core.runtime.AgentOptions
Returns whether the agent exposes functionality via JMX.
getLastLine() - Method in interface org.jacoco.core.analysis.ISourceNode
The number of the last line coverage information is available for.
getLastLine() - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
 
getLine(int) - Method in interface org.jacoco.core.analysis.ISourceNode
Returns the line information for given line.
getLine(int) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
 
getLine() - Method in class org.jacoco.core.internal.flow.Instruction
Returns the source line this instruction belongs to.
getLineCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getLineCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the counter for lines.
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.
getMethods() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the methods included in this class.
getMethods() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
getMissedCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the count of missed items.
getMissedCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
getMissedRatio() - Method in interface org.jacoco.core.analysis.ICounter
Calculates the ratio of missed to total count items.
getMissedRatio() - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
getName() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
 
getName() - Method in interface org.jacoco.core.analysis.ICoverageNode
Returns the name of this node.
getName() - Method in class org.jacoco.core.data.ExecutionData
The VM name of the class.
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
getPackageName() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the VM name of the package this class belongs to.
getPackageName() - Method in interface org.jacoco.core.analysis.ISourceFileCoverage
Returns the VM name of the package the source file belongs to.
getPackageName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
getPackageName() - Method in class org.jacoco.core.internal.analysis.SourceFileCoverageImpl
 
getPackages() - Method in interface org.jacoco.core.analysis.IBundleCoverage
Returns all packages contained in this bundle.
getPackages() - Method in class org.jacoco.core.internal.analysis.BundleCoverageImpl
 
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.
getProbeId(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Returns the assigned probe id.
getProbes() - Method in class org.jacoco.core.data.ExecutionData
Returns the execution data probes.
getProbes(Object[]) - Method in class org.jacoco.core.runtime.RuntimeData
Retrieves the execution probe array for a given class.
getQuotedVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
Generate required quoted JVM argument based on current configuration and supplied agent jar location.
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.
getSignature() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the VM signature of the class.
getSignature() - Method in interface org.jacoco.core.analysis.IMethodCoverage
Returns the generic signature of the method if defined.
getSignature() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
getSignature() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
 
getSourceFileName() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the optional name of the corresponding source file.
getSourceFileName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
getSourceFiles() - Method in class org.jacoco.core.analysis.CoverageBuilder
Returns all source file nodes currently contained in this builder.
getSourceFiles() - Method in interface org.jacoco.core.analysis.IPackageCoverage
Returns all source files in this package.
getSourceFiles() - Method in class org.jacoco.core.internal.analysis.PackageCoverageImpl
 
getStartTimeStamp() - Method in class org.jacoco.core.data.SessionInfo
 
getStatus() - Method in interface org.jacoco.core.analysis.ICounter
Returns the coverage status of this counter.
getStatus() - Method in interface org.jacoco.core.analysis.ILine
Returns the coverage status of this line, calculated from the instructions counter and branch counter.
getStatus() - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
getStatus() - Method in class org.jacoco.core.internal.analysis.LineImpl
 
getSuperName() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns the VM name of the superclass.
getSuperName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
getTotalCount() - Method in interface org.jacoco.core.analysis.ICounter
Returns the total count of items.
getTotalCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
getType() - Method in class org.jacoco.core.internal.ContentTypeDetector
Returns the detected file type.
getValue(ICounter.CounterValue) - Method in interface org.jacoco.core.analysis.ICounter
Returns the counter value of the given type.
getValue(ICounter.CounterValue) - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
getVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
Generate required JVM argument based on current configuration and supplied agent jar location.
GZFILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
File type GZIP compressed Data

H

hashCode() - Method in class org.jacoco.core.internal.analysis.CounterImpl
 
hashCode() - Method in class org.jacoco.core.internal.analysis.LineImpl
 
hasHits() - Method in class org.jacoco.core.data.ExecutionData
Checks whether any probe has been hit.
HOMEURL - Static variable in class org.jacoco.core.JaCoCo
Absolute URL of the current JaCoCo home page

I

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.
IFrame - Interface in org.jacoco.core.internal.flow
Representation of the current stackmap frame content.
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.
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.
increment(ICounter) - Method in class org.jacoco.core.internal.analysis.CounterImpl
Returns a counter with values incremented by the numbers of the given counter.
increment(int, int) - Method in class org.jacoco.core.internal.analysis.CounterImpl
Returns a counter with values incremented by the given numbers.
increment(ICounter, ICounter) - Method in class org.jacoco.core.internal.analysis.LineImpl
Adds the given counters to this line.
increment(ICounter, ICounter, int) - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
 
increment(ISourceNode) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
Increments all counters by the values of the given child.
increment(ICounter, ICounter, int) - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
Increments instructions and branches by the given counter values.
incrementMethodCounter() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
This method must be called exactly once after all instructions and branches have been incremented for this method coverage node.
INITMETHOD_ACC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
Access modifiers of the initialization method.
INITMETHOD_DESC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
Descriptor of the initialization method.
INITMETHOD_NAME - Static variable in class org.jacoco.core.internal.instr.InstrSupport
Name of the initialization method.
InstrSupport - Class in org.jacoco.core.internal.instr
Constants and utilities for byte code instrumentation.
Instruction - Class in org.jacoco.core.internal.flow
Representation of a byte code instruction for analysis.
Instruction(int) - Constructor for class org.jacoco.core.internal.flow.Instruction
New instruction at the given line.
instructionCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for instructions.
instructions - Variable in class org.jacoco.core.internal.analysis.LineImpl
instruction counter
instrument(ClassReader) - Method in class org.jacoco.core.instr.Instrumenter
Creates a instrumented version of the given class if possible.
instrument(byte[], String) - Method in class org.jacoco.core.instr.Instrumenter
Creates a instrumented version of the given class if possible.
instrument(InputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
Creates a instrumented version of the given class if possible.
instrument(InputStream, OutputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
Creates a instrumented version of the given class file.
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.
instrumentAll(InputStream, OutputStream, String) - Method in class org.jacoco.core.instr.Instrumenter
Creates a instrumented version of the given resource depending on its type.
Instrumenter - Class in org.jacoco.core.instr
Several APIs to instrument Java class definitions for coverage tracing.
Instrumenter(IExecutionDataAccessorGenerator) - Constructor for class org.jacoco.core.instr.Instrumenter
Creates a new instance based on the given runtime.
IPackageCoverage - Interface in org.jacoco.core.analysis
Coverage data of a Java package containing classes and source files.
IProbeArrayStrategy - Interface in org.jacoco.core.internal.instr
Strategies to retrieve the probe array instance for each method within a type.
IProbeIdGenerator - Interface in org.jacoco.core.internal.flow
Internal interface to create probe ids unique within a class.
IRemoteCommandVisitor - Interface in org.jacoco.core.runtime
Interface for remote commands to a coverage runtime.
IRuntime - Interface in org.jacoco.core.runtime
This interface represents a particular mechanism to collect execution information in the target VM at runtime.
isDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Checks whether this label is marked as done.
isEmpty() - Method in class org.jacoco.core.data.SessionInfoStore
Tests whether the store is empty.
ISessionInfoVisitor - Interface in org.jacoco.core.data
Interface for data output of collected session information.
isMethodInvocationLine(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Checks whether the a given label has been marked as a line with method invocations.
isMultiTarget(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Checks whether multiple control paths lead to a label.
isNoMatch() - Method in interface org.jacoco.core.analysis.IClassCoverage
Returns if the the analyzed class does match the execution data provided.
isNoMatch() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
 
ISourceFileCoverage - Interface in org.jacoco.core.analysis
Coverage data of a single source file.
ISourceNode - Interface in org.jacoco.core.analysis
Interface for coverage nodes that have individual source lines like methods, classes and source files.
isPatchRequired(byte[]) - Static method in class org.jacoco.core.internal.Java9Support
Determines whether class definition contains Java9Support.V1_9 version.
isSuccessor(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Checks whether this label is the possible successor of the previous instruction in the method.

J

JaCoCo - Class in org.jacoco.core
Static Meta information about JaCoCo.
Java9Support - Class in org.jacoco.core.internal
Patching for Java 9 classes, so that ASM can read them.
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

LabelFlowAnalyzer - Class in org.jacoco.core.internal.flow
Method visitor to collect flow related information about the Labels within a class.
LabelFlowAnalyzer() - Constructor for class org.jacoco.core.internal.flow.LabelFlowAnalyzer
Create new instance.
LabelInfo - Class in org.jacoco.core.internal.flow
Data container that is attached to Label.info objects to store flow and instrumentation specific information.
lineCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for lines
LineImpl - Class in org.jacoco.core.internal.analysis
Implementation of ILine.
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.
markLabels(MethodNode) - Static method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
Marks all labels of the method with control flow information.
matches(String) - Method in class org.jacoco.core.runtime.WildcardMatcher
Matches the given string against the expressions of this matcher.
merge(ExecutionData) - Method in class org.jacoco.core.data.ExecutionData
Merges the given execution data into the probe data of this object.
merge(ExecutionData, boolean) - Method in class org.jacoco.core.data.ExecutionData
Merges the given execution data into the probe data of this object.
MethodAnalyzer - Class in org.jacoco.core.internal.analysis
A MethodProbesVisitor that analyzes which statements and branches of a method have been executed based on given probe data.
MethodAnalyzer(String, String, String, boolean[]) - Constructor for class org.jacoco.core.internal.analysis.MethodAnalyzer
New Method analyzer for the given probe data.
methodCounter - Variable in class org.jacoco.core.analysis.CoverageNodeImpl
Counter for methods.
MethodCoverageImpl - Class in org.jacoco.core.internal.analysis
Implementation of IMethodCoverage.
MethodCoverageImpl(String, String, String) - Constructor for class org.jacoco.core.internal.analysis.MethodCoverageImpl
Creates a method coverage data object with the given parameters.
MethodProbesAdapter - Class in org.jacoco.core.internal.flow
Adapter that creates additional visitor events for probes to be inserted into a method.
MethodProbesAdapter(MethodProbesVisitor, IProbeIdGenerator) - Constructor for class org.jacoco.core.internal.flow.MethodProbesAdapter
Create a new adapter instance.
MethodProbesVisitor - Class in org.jacoco.core.internal.flow
A MethodVisitor with additional methods to get probe insertion information.
MethodProbesVisitor() - Constructor for class org.jacoco.core.internal.flow.MethodProbesVisitor
New visitor instance without delegate visitor.
MethodProbesVisitor(MethodVisitor) - Constructor for class org.jacoco.core.internal.flow.MethodProbesVisitor
New visitor instance that delegates to the given visitor.
missed - Variable in class org.jacoco.core.internal.analysis.CounterImpl
number of missed items
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.

N

needsProbe(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Determines whether the given label needs a probe to be inserted before.
nextId() - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
 
nextId() - Method in interface org.jacoco.core.internal.flow.IProbeIdGenerator
Returns the next unique probe id.
NO_PROBE - Static variable in class org.jacoco.core.internal.flow.LabelInfo
Reserved ID for "no probe".
NodeComparator - Class in org.jacoco.core.analysis
Comparator to compare ICoverageNode objects by different counter criteria.
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.
org.jacoco.core - package org.jacoco.core
Meta information about JaCoCo.
org.jacoco.core.analysis - package org.jacoco.core.analysis
Coverage calculation and analysis.
org.jacoco.core.data - package org.jacoco.core.data
Representation and persistence of execution data and session information.
org.jacoco.core.instr - package org.jacoco.core.instr
Instrumentation of Java class files for code coverage.
org.jacoco.core.internal - package org.jacoco.core.internal
 
org.jacoco.core.internal.analysis - package org.jacoco.core.internal.analysis
 
org.jacoco.core.internal.data - package org.jacoco.core.internal.data
 
org.jacoco.core.internal.flow - package org.jacoco.core.internal.flow
 
org.jacoco.core.internal.instr - package org.jacoco.core.internal.instr
 
org.jacoco.core.runtime - package org.jacoco.core.runtime
Runtime control and execution data collection.
org.jacoco.core.tools - package org.jacoco.core.tools
Collection of tools build on top of the JaCoCo core APIs.
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

pack(byte[], OutputStream) - Static method in class org.jacoco.core.internal.Pack200Streams
Packs a buffer in JAR/ZIP format into a stream in Pack200 format.
PACK200FILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
File type Pack200 archive
Pack200Streams - Class in org.jacoco.core.internal
Internal wrapper for the weird Pack200 Java API to allow usage with streams.
PackageCoverageImpl - Class in org.jacoco.core.internal.analysis
Implementation of IPackageCoverage.
PackageCoverageImpl(String, Collection<IClassCoverage>, Collection<ISourceFileCoverage>) - Constructor for class org.jacoco.core.internal.analysis.PackageCoverageImpl
Creates package node instance for a package with the given name.
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.
ProbeArrayStrategyFactory - Class in org.jacoco.core.internal.instr
Factory to find a suitable strategy to access the probe array for a given class.
push(MethodVisitor, int) - Static method in class org.jacoco.core.internal.instr.InstrSupport
Generates the instruction to push the given int value on the stack.
put(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataStore
Adds the given ExecutionData object into the store.

R

read() - Method in class org.jacoco.core.data.ExecutionDataReader
Reads all data and reports it to the corresponding visitors.
readBlock(byte) - Method in class org.jacoco.core.data.ExecutionDataReader
Reads a block of data identified by the given id.
readBlock(byte) - Method in class org.jacoco.core.runtime.RemoteControlReader
 
readBooleanArray() - Method in class org.jacoco.core.internal.data.CompactDataInput
Reads a boolean array.
readFully(InputStream) - Static method in class org.jacoco.core.internal.Java9Support
Reads all bytes from an input stream into a byte array.
readVarInt() - Method in class org.jacoco.core.internal.data.CompactDataInput
Reads a variable length representation of an integer value.
RemoteControlReader - Class in org.jacoco.core.runtime
ExecutionDataReader with commands added for runtime remote control.
RemoteControlReader(InputStream) - Constructor for class org.jacoco.core.runtime.RemoteControlReader
Create a new read based on the given input stream.
RemoteControlWriter - Class in org.jacoco.core.runtime
ExecutionDataWriter with commands added for runtime remote control.
RemoteControlWriter(OutputStream) - Constructor for class org.jacoco.core.runtime.RemoteControlWriter
Creates a new writer based on the given output stream.
removeEntry(String) - Method in class org.jacoco.core.internal.instr.SignatureRemover
Checks whether a entry with the provided name should be ignored at all.
reset() - Method in class org.jacoco.core.data.ExecutionData
Sets all probes to false.
reset() - Method in class org.jacoco.core.data.ExecutionDataStore
Resets all execution data probes, i.e.
reset() - Method in class org.jacoco.core.runtime.RuntimeData
Resets all coverage information.
resetDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Resets the "done" status of a given label.
resetDone(Label[]) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Resets the "done" status of all given labels.
reverse() - Method in class org.jacoco.core.analysis.CounterComparator
Creates a new version of this comparator that sorts in reverse order.
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 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
 
setActive(boolean) - Method in class org.jacoco.core.internal.instr.SignatureRemover
Defines whether this remover should be active.
setAddress(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the hostname or IP address to listen to when output is tcpserver or connect to when output is tcpclient
setAnalyzer(AnalyzerAdapter) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
If an analyzer is set IFrame handles are calculated and emitted to the probes methods.
setAppend(boolean) - Method in class org.jacoco.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.
setCovered() - Method in class org.jacoco.core.internal.flow.Instruction
Marks one branch of this instruction as covered.
setDestfile(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the output file location.
setDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Mark a given label as done.
setDump(boolean) - Method in class org.jacoco.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.
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.
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.
setInstruction(Label, Instruction) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Sets the instruction corresponding to this label.
setInterfaces(String[]) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
Sets the VM names of implemented/extended interfaces.
setIntermediateLabel(Label, Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Defines an intermediate label for the given label.
setJmx(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
Sets whether the agent should expose functionality via JMX.
setMethodInvocationLine(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Mark a given label as the beginning of a line with method invocations.
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
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
setPredecessor(Instruction) - Method in class org.jacoco.core.internal.flow.Instruction
Sets the given instruction as a predecessor of this instruction.
setProbeId(Label, int) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Sets the given probe id to the given label.
setRemoteCommandVisitor(IRemoteCommandVisitor) - Method in class org.jacoco.core.runtime.RemoteControlReader
Sets an 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.
setSessionId(String) - Method in class org.jacoco.core.runtime.AgentOptions
Sets the session identifier.
setSessionId(String) - Method in class org.jacoco.core.runtime.RuntimeData
Sets a session identifier for this runtime.
setSessionInfoVisitor(ISessionInfoVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
Sets an listener for session information.
setSignature(String) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
Sets the VM signature of the class.
setSourceFileName(String) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
Sets the name of the corresponding source file for this class.
setSuccessor(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Defines that the given label is the possible successor of the previous instruction in the method.
setSuperName(String) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
Sets the VM name of the superclass.
setTarget(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
Defines that the given label is a jump target.
shutdown() - Method in interface org.jacoco.core.runtime.IRuntime
Allows the coverage runtime to cleanup internals.
shutdown() - Method in class org.jacoco.core.runtime.LoggerRuntime
 
shutdown() - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
 
shutdown() - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
 
shutdown() - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
 
SignatureRemover - Class in org.jacoco.core.internal.instr
Support class to filter entries from JARs related to signatures.
SignatureRemover() - Constructor for class org.jacoco.core.internal.instr.SignatureRemover
Creates a new remover which is active.
sort(Collection<T>) - Method in class org.jacoco.core.analysis.NodeComparator
Returns a sorted copy of the given collection of ICoverageNode elements.
SourceFileCoverageImpl - Class in org.jacoco.core.internal.analysis
Implementation of ISourceFileCoverage.
SourceFileCoverageImpl(String, String) - Constructor for class org.jacoco.core.internal.analysis.SourceFileCoverageImpl
Creates a source file data object with the given parameters.
SourceNodeImpl - Class in org.jacoco.core.internal.analysis
Implementation of ISourceNode.
SourceNodeImpl(ICoverageNode.ElementType, String) - Constructor for class org.jacoco.core.internal.analysis.SourceNodeImpl
Create a new source node implementation instance.
startup(RuntimeData) - Method in class org.jacoco.core.runtime.AbstractRuntime
Subclasses must call this method when overwriting it.
startup(RuntimeData) - Method in interface org.jacoco.core.runtime.IRuntime
Starts the coverage runtime.
startup(RuntimeData) - Method in class org.jacoco.core.runtime.LoggerRuntime
 
startup(RuntimeData) - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
 
startup(RuntimeData) - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
 
startup(RuntimeData) - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
 
store - Variable in class org.jacoco.core.runtime.RuntimeData
store for execution data
storeInstance(MethodVisitor, int) - Method in interface org.jacoco.core.internal.instr.IProbeArrayStrategy
Creates code that stores the probe array instance in the given variable.
StringPool - Class in org.jacoco.core.internal.analysis
Utility to normalize String instances in a way that if equals() is true for two strings they will be represented the same instance.
StringPool() - Constructor for class org.jacoco.core.internal.analysis.StringPool
 
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.internal.analysis.CounterImpl
 
toString() - Method in class org.jacoco.core.runtime.AgentOptions
Creates a string representation that can be passed to the agent via the command line.
TOTALITEMS - Static variable in class org.jacoco.core.analysis.CounterComparator
Compares the absolute number of total items.

U

UNKNOWN - Static variable in class org.jacoco.core.internal.ContentTypeDetector
Unknown file type
UNKNOWN_LINE - Static variable in interface org.jacoco.core.analysis.ISourceNode
Place holder for unknown lines (no debug information)
unpack(InputStream) - Static method in class org.jacoco.core.internal.Pack200Streams
Unpack a stream in Pack200 format into a stream in JAR/ZIP format.
upgrade(byte[]) - Static method in class org.jacoco.core.internal.Java9Support
Replaces version in the definition of class on Java9Support.V1_9.
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

V1_9 - Static variable in class org.jacoco.core.internal.Java9Support
Version of the Java 9 class file format.
valueOf(String) - Static method in enum org.jacoco.core.analysis.ICounter.CounterValue
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jacoco.core.analysis.ICoverageNode.CounterEntity
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jacoco.core.analysis.ICoverageNode.ElementType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jacoco.core.runtime.AgentOptions.OutputMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jacoco.core.analysis.ICounter.CounterValue
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jacoco.core.analysis.ICoverageNode.CounterEntity
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jacoco.core.analysis.ICoverageNode.ElementType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jacoco.core.runtime.AgentOptions.OutputMode
Returns an array containing the constants of this enum type, in the order they are declared.
VERSION - Static variable in class org.jacoco.core.JaCoCo
Qualified build version of the JaCoCo core library.
visit(int, int, String, String, String, String[]) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
 
visit(int, int, String, String, String, String[]) - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
 
visit(int, int, String, String, String, String[]) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
 
visitClassExecution(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataStore
 
visitClassExecution(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataWriter
 
visitClassExecution(ExecutionData) - Method in interface org.jacoco.core.data.IExecutionDataVisitor
Provides execution data for a class.
visitCoverage(IClassCoverage) - Method in class org.jacoco.core.analysis.CoverageBuilder
 
visitCoverage(IClassCoverage) - Method in interface org.jacoco.core.analysis.ICoverageVisitor
For analyzed class coverage data is emitted to this method.
visitDumpCommand(boolean, boolean) - Method in interface org.jacoco.core.runtime.IRemoteCommandVisitor
Requests a execution data dump with an optional reset.
visitDumpCommand(boolean, boolean) - Method in class org.jacoco.core.runtime.RemoteControlWriter
 
visitEnd() - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitEnd() - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
 
visitField(int, String, String, String, Object) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
 
visitField(int, String, String, String, Object) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
 
visitFieldInsn(int, String, String, String) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitFieldInsn(int, String, String, String) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitIincInsn(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitIincInsn(int, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitInsn(int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitInsn(int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitInsn(int) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
 
visitInsnWithProbe(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitInsnWithProbe(int, int) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
Visits a zero operand instruction with a probe.
visitIntInsn(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitIntInsn(int, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitInvokeDynamicInsn(String, String, Handle, Object...) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitJumpInsn(int, Label) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitJumpInsn(int, Label) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitJumpInsn(int, Label) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
 
visitJumpInsnWithProbe(int, Label, int, IFrame) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitJumpInsnWithProbe(int, Label, int, IFrame) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
Visits a jump instruction.
visitLabel(Label) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitLabel(Label) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitLabel(Label) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
 
visitLdcInsn(Object) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitLdcInsn(Object) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitLineNumber(int, Label) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitLineNumber(int, Label) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitLookupSwitchInsn(Label, int[], Label[]) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
 
visitLookupSwitchInsnWithProbes(Label, int[], Label[], IFrame) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitLookupSwitchInsnWithProbes(Label, int[], Label[], IFrame) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
Visits a LOOKUPSWITCH instruction with optional probes for each target label.
visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
 
visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.flow.ClassProbesAdapter
 
visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.flow.ClassProbesVisitor
When visiting a method we need a MethodProbesVisitor to handle the probes of that method.
visitMethod(int, String, String, String, String[]) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
 
visitMethodInsn(int, String, String, String, boolean) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitMethodInsn(int, String, String, String, boolean) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitMultiANewArrayInsn(String, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitMultiANewArrayInsn(String, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitProbe(int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitProbe(int) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
Visits an unconditional probe that should be inserted at the current position.
visitSessionInfo(SessionInfo) - Method in class org.jacoco.core.data.ExecutionDataWriter
 
visitSessionInfo(SessionInfo) - Method in interface org.jacoco.core.data.ISessionInfoVisitor
Provides session information for the subsequent execution data calls.
visitSessionInfo(SessionInfo) - Method in class org.jacoco.core.data.SessionInfoStore
 
visitSource(String, String) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitTableSwitchInsn(int, int, Label, Label...) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
 
visitTableSwitchInsnWithProbes(int, int, Label, Label[], IFrame) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitTableSwitchInsnWithProbes(int, int, Label, Label[], IFrame) - Method in class org.jacoco.core.internal.flow.MethodProbesVisitor
Visits a TABLESWITCH instruction with optional probes for each target label.
visitTotalProbeCount(int) - Method in class org.jacoco.core.internal.analysis.ClassAnalyzer
 
visitTotalProbeCount(int) - Method in class org.jacoco.core.internal.flow.ClassProbesVisitor
Reports the total number of encountered probes.
visitTotalProbeCount(int) - Method in class org.jacoco.core.internal.instr.ClassInstrumenter
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitTryCatchBlock(Label, Label, Label, String) - Method in class org.jacoco.core.internal.flow.MethodProbesAdapter
 
visitTypeInsn(int, String) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitTypeInsn(int, String) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 
visitVarInsn(int, int) - Method in class org.jacoco.core.internal.analysis.MethodAnalyzer
 
visitVarInsn(int, int) - Method in class org.jacoco.core.internal.flow.LabelFlowAnalyzer
 

W

WildcardMatcher - Class in org.jacoco.core.runtime
Matches strings against ?/* wildcard expressions.
WildcardMatcher(String) - Constructor for class org.jacoco.core.runtime.WildcardMatcher
Creates a new matcher with the given expression.
writeBooleanArray(boolean[]) - Method in class org.jacoco.core.internal.data.CompactDataOutput
Writes a boolean array.
writeVarInt(int) - Method in class org.jacoco.core.internal.data.CompactDataOutput
Writes a variable length representation of an integer value that reduces the number of written bytes for small positive values.

Z

ZIPFILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
File type ZIP archive
A B C D E F G H I J L M N O P R S T U V W Z 
Skip navigation links

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