- AbstractRuntime - Class in org.jacoco.core.runtime
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- createFor(Instrumentation, String, String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
- createRandomId() - Static method in class org.jacoco.core.runtime.AbstractRuntime
-
Creates a random session identifier.
- generateAccessCall(long, String, int, MethodVisitor) - Static method in class org.jacoco.core.runtime.RuntimeData
-
- generateArgumentArray(long, String, int, MethodVisitor) - Static method in class org.jacoco.core.runtime.RuntimeData
-
- 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
- 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
-
- 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
-
- 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.
- 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
-
- 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
-
- 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
-
- SystemPropertiesRuntime() - Constructor for class org.jacoco.core.runtime.SystemPropertiesRuntime
-
Creates a new runtime.