- a(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'a' element.
- a(String, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'a' element.
- a(ILinkable, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.HTMLElement
-
- AbstractGroupVisitor - Class in org.jacoco.report.internal
-
Internal base visitor to calculate group counter summaries for hierarchical
reports.
- AbstractGroupVisitor(String) - Constructor for class org.jacoco.report.internal.AbstractGroupVisitor
-
Creates a new group with the given name.
- AbstractRuntime - Class in org.jacoco.core.runtime
-
- 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.
- add(String, String, IColumnRenderer, boolean) - Method in class org.jacoco.report.internal.html.table.Table
-
Adds a new column with the given properties to the table.
- add(ISourceFileLocator) - Method in class org.jacoco.report.MultiSourceFileLocator
-
Adds the given locator.
- addBranch() - Method in class org.jacoco.core.internal.flow.Instruction
-
Adds an branch to this instruction.
- addChildElement(XMLElement) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds the given child to this element.
- addClass(ILinkable, long) - Method in class org.jacoco.report.internal.html.index.ElementIndex
-
- addClass(ILinkable, long) - Method in interface org.jacoco.report.internal.html.index.IIndexUpdate
-
Adds a class to the index.
- addItem(ITableItem) - Method in class org.jacoco.report.internal.html.page.TablePage
-
Adds the given item to the table.
- addMembers(ClassVisitor, int) - Method in interface org.jacoco.core.internal.instr.IProbeArrayStrategy
-
Adds additional class members required by this strategy.
- addMethod(IMethodCoverage) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Add a method to this class.
- ADDRESS - Static variable in class org.jacoco.core.runtime.AgentOptions
-
The IP address or DNS name the tcpserver binds to or the tcpclient
connects to.
- 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.
- attr(String, String) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds an attribute to this element.
- attr(String, int) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds an attribute to this element.
- attr(String, long) - Method in class org.jacoco.report.internal.xml.XMLElement
-
Adds an attribute to this element.
- 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.
- ClassPage - Class in org.jacoco.report.internal.html.page
-
Page showing coverage information for a class as a table of methods.
- ClassPage(IClassCoverage, ReportPage, ILinkable, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.ClassPage
-
Creates a new visitor in the given context.
- ClassProbesAdapter - Class in org.jacoco.core.internal.flow
-
A ClassVisitor
that calculates probes for every
method.
- ClassProbesAdapter(ClassProbesVisitor, boolean) - Constructor for class org.jacoco.core.internal.flow.ClassProbesAdapter
-
Creates a new adapter that delegates to the given visitor.
- ClassProbesVisitor - Class in org.jacoco.core.internal.flow
-
A ClassVisitor
with additional methods to get probe insertion
information for each method
- ClassProbesVisitor() - Constructor for class org.jacoco.core.internal.flow.ClassProbesVisitor
-
New visitor instance without delegate visitor.
- ClassProbesVisitor(ClassVisitor) - Constructor for class org.jacoco.core.internal.flow.ClassProbesVisitor
-
New visitor instance that delegates to the given visitor.
- close() - Method in class org.jacoco.report.FileMultiReportOutput
-
- close() - Method in interface org.jacoco.report.IMultiReportOutput
-
Closes the underlying resource container.
- close() - Method in class org.jacoco.report.internal.xml.XMLDocument
-
- close() - Method in class org.jacoco.report.internal.xml.XMLElement
-
Closes this element if it has not been closed before.
- close() - Method in class org.jacoco.report.ZipMultiReportOutput
-
- code() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'code' element.
- collect(IExecutionDataVisitor, ISessionInfoVisitor, boolean) - Method in class org.jacoco.core.runtime.RuntimeData
-
- combine(String...) - Static method in class org.jacoco.report.internal.html.resources.Styles
-
Returns a combined style from the given styles.
- CompactDataInput - Class in org.jacoco.core.internal.data
-
Additional data input methods for compact storage of data structures.
- CompactDataInput(InputStream) - Constructor for class org.jacoco.core.internal.data.CompactDataInput
-
- 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.
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Creates the actual content of the page.
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.SessionsPage
-
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.SourceFilePage
-
- content(HTMLElement) - Method in class org.jacoco.report.internal.html.page.TablePage
-
- ContentTypeDetector - Class in org.jacoco.core.internal
-
Detector for content types of binary streams based on a magic headers.
- ContentTypeDetector(InputStream) - Constructor for class org.jacoco.core.internal.ContentTypeDetector
-
Creates a new detector based on the given input.
- context - Variable in class org.jacoco.report.internal.html.page.ReportPage
-
context for this report
- copyResources() - Method in class org.jacoco.report.internal.html.resources.Resources
-
Copies all static resources into the report.
- COUNTER_0_0 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
-
Constant for Counter with 0/0 values.
- COUNTER_0_1 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
-
Constant for Counter with 0/1 values.
- COUNTER_1_0 - Static variable in class org.jacoco.core.internal.analysis.CounterImpl
-
Constant for Counter with 1/0 values.
- CounterColumn - Class in org.jacoco.report.internal.html.table
-
Column that prints the counter values of entities for each item and a summary
in the footer.
- CounterColumn(ICoverageNode.CounterEntity, Locale, Comparator<ICoverageNode>) - Constructor for class org.jacoco.report.internal.html.table.CounterColumn
-
Creates a new column that is based on the
ICounter
for the given
entity.
- CounterComparator - Class in org.jacoco.core.analysis
-
Collection of comparators to compare
ICounter
objects by different
criteria.
- CounterImpl - Class in org.jacoco.core.internal.analysis
-
- 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.
- COVERAGETABLE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Coverage table
- 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.
- createChild(XMLElement, String, String) - Static method in class org.jacoco.report.internal.xml.XMLCoverageWriter
-
Creates a child element with a name attribute.
- createFile(String) - Method in class org.jacoco.report.FileMultiReportOutput
-
- createFile(String) - Method in interface org.jacoco.report.IMultiReportOutput
-
Creates a file at the given local path.
- createFile(String) - Method in class org.jacoco.report.internal.ReportOutputFolder
-
Creates a new file in this folder with the given local name.
- createFile(String) - Method in class org.jacoco.report.ZipMultiReportOutput
-
- createFor(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
-
- createLimit() - Method in class org.jacoco.report.check.Rule
-
Creates and adds a new
Limit
.
- createRandomId() - Static method in class org.jacoco.core.runtime.AbstractRuntime
-
Creates a random session identifier.
- createVisitor(IViolationsOutput) - Method in class org.jacoco.report.check.RulesChecker
-
Creates a new visitor to process the configured checks.
- createVisitor(OutputStream) - Method in class org.jacoco.report.csv.CSVFormatter
-
Creates a new visitor to write a report to the given stream.
- createVisitor(IMultiReportOutput) - Method in class org.jacoco.report.html.HTMLFormatter
-
Creates a new visitor to write a report to the given output.
- createVisitor(OutputStream) - Method in class org.jacoco.report.xml.XMLFormatter
-
Creates a new visitor to write a report to the given stream.
- CSVFormatter - Class in org.jacoco.report.csv
-
Report formatter that will create a single CSV file.
- CSVFormatter() - Constructor for class org.jacoco.report.csv.CSVFormatter
-
- CTR1 - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table cells for the first column of a counter
- CTR2 - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table cells for the second column of a counter
- 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
-
- getClassName(String, String, String, String[]) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific name of a class.
- getClassName(String, String, String, String[]) - Method in class org.jacoco.report.JavaNames
-
- getComparator() - Method in class org.jacoco.report.internal.html.table.BarColumn
-
- getComparator() - Method in class org.jacoco.report.internal.html.table.CounterColumn
-
- getComparator() - Method in interface org.jacoco.report.internal.html.table.IColumnRenderer
-
Returns the comparator to sort this table column.
- getComparator() - Method in class org.jacoco.report.internal.html.table.LabelColumn
-
- getComparator() - Method in class org.jacoco.report.internal.html.table.PercentageColumn
-
- getComplexityCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
- getComplexityCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for cyclomatic complexity.
- getContents() - Method in class org.jacoco.core.data.ExecutionDataStore
-
Returns a collection that represents current contents of the store.
- getCounter(ICoverageNode.CounterEntity) - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
- getCounter(ICoverageNode.CounterEntity) - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Generic access to the the counters.
- 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
-
- getElement() - Method in class org.jacoco.report.check.Rule
-
- getElementStyle(ICoverageNode.ElementType) - Static method in class org.jacoco.report.internal.html.resources.Resources
-
Determines the style sheet class for the given element type.
- getElementType() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
- getElementType() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the type of element represented by this node.
- getEntity() - Method in class org.jacoco.report.check.Limit
-
- getExclClassloader() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the wildcard expression for excluded class loaders.
- getExcludes() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the wildcard expression for classes to exclude.
- getExcludes() - Method in class org.jacoco.report.check.Rule
-
- getExecutionData(Long, String, int) - Method in class org.jacoco.core.runtime.RuntimeData
-
Returns the coverage data for the class with the given identifier.
- getExecutionDataStore() - Method in class org.jacoco.core.tools.ExecFileLoader
-
Returns the execution data store with data for all loaded classes.
- getExpectedVersion() - Method in exception org.jacoco.core.data.IncompatibleExecDataVersionException
-
Gets the version expected in the execution data which can be read by this
version of JaCoCo.
- getFileHeader() - Static method in class org.jacoco.core.data.ExecutionDataWriter
-
Returns the first bytes of a file that represents a valid execution data
file.
- getFileName() - Method in class org.jacoco.report.internal.html.page.BundlePage
-
- getFileName() - Method in class org.jacoco.report.internal.html.page.ClassPage
-
- getFileName() - Method in class org.jacoco.report.internal.html.page.GroupPage
-
- getFileName() - Method in class org.jacoco.report.internal.html.page.PackagePage
-
- getFileName() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
-
- getFileName() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Specifies the local file name of this page.
- getFileName() - Method in class org.jacoco.report.internal.html.page.SessionsPage
-
- getFileName() - Method in class org.jacoco.report.internal.html.page.SourceFilePage
-
- getFirstLine() - Method in interface org.jacoco.core.analysis.ISourceNode
-
The number of the first line coverage information is available for.
- getFirstLine() - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
-
- getFooterText() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getFooterText() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns a string of textual information to include in every page footer.
- getId() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the identifier for this class which is the CRC64 signature of the
class definition.
- getId() - Method in class org.jacoco.core.data.ExecutionData
-
Return the unique identifier for this class.
- getId() - Method in class org.jacoco.core.data.SessionInfo
-
- getId() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
- getInclBootstrapClasses() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether classes from the bootstrap classloader should be
instrumented.
- getInclNoLocationClasses() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether classes without source location should be instrumented.
- getIncludes() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the wildcard expression for classes to include.
- getIncludes() - Method in class org.jacoco.report.check.Rule
-
- getIndexUpdate() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getIndexUpdate() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the service for index updates.
- 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.
- getLanguageNames() - Method in class org.jacoco.report.csv.CSVFormatter
-
Returns the language names call-back used in this report.
- getLanguageNames() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getLanguageNames() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the language names call-back used in this report.
- getLastLine() - Method in interface org.jacoco.core.analysis.ISourceNode
-
The number of the last line coverage information is available for.
- getLastLine() - Method in class org.jacoco.core.internal.analysis.SourceNodeImpl
-
- getLimits() - Method in class org.jacoco.report.check.Rule
-
- getLine(int) - Method in interface org.jacoco.core.analysis.ISourceNode
-
Returns the line information for given line.
- 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.
- getLink(ReportOutputFolder) - Method in interface org.jacoco.report.internal.html.ILinkable
-
Returns a relative link to the item that works from the given base
folder.
- getLink(ReportOutputFolder) - Method in class org.jacoco.report.internal.html.page.ReportPage
-
- getLink(ReportOutputFolder, String) - Method in class org.jacoco.report.internal.html.resources.Resources
-
Returns a relative link to a static resource.
- getLink(ReportOutputFolder, String) - Method in class org.jacoco.report.internal.ReportOutputFolder
-
Returns a link relative to a given base to a resource within this folder.
- getLinkLabel() - Method in interface org.jacoco.report.internal.html.ILinkable
-
Returns the display label used for the link.
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.ClassPage
-
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.NodePage
-
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.PackagePage
-
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
-
- getLinkLabel() - Method in class org.jacoco.report.internal.html.page.SessionsPage
-
- getLinkStyle() - Method in interface org.jacoco.report.internal.html.ILinkable
-
Optional style class to be associated with the link.
- getLinkStyle() - Method in class org.jacoco.report.internal.html.page.NodePage
-
- getLinkStyle() - Method in class org.jacoco.report.internal.html.page.SessionsPage
-
- getLinkToClass(long) - Method in class org.jacoco.report.internal.html.index.ElementIndex
-
Returns the link to the class with the given identifier if a
corresponding page exists.
- getLocale() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getLocale() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the locale used to format numbers and dates.
- getMaximum() - Method in class org.jacoco.report.check.Limit
-
- getMerged(String) - Method in class org.jacoco.core.data.SessionInfoStore
-
Returns a new session info with the given id that contains a merged
version from all contained version.
- getMethodCounter() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
- getMethodCounter() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the counter for methods.
- getMethodName(String, String, String, String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific name of a method.
- getMethodName(String, String, String, String) - Method in class org.jacoco.report.JavaNames
-
- getMethods() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the methods included in this class.
- getMethods() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
- getMinimum() - Method in class org.jacoco.report.check.Limit
-
- getMissedCount() - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the count of missed items.
- getMissedCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
-
- getMissedRatio() - Method in interface org.jacoco.core.analysis.ICounter
-
Calculates the ratio of missed to total count items.
- getMissedRatio() - Method in class org.jacoco.core.internal.analysis.CounterImpl
-
- getName() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
- getName() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Returns the name of this node.
- getName() - Method in class org.jacoco.core.data.ExecutionData
-
The VM name of the class.
- getNode() - Method in class org.jacoco.report.internal.html.page.NodePage
-
- getNode() - Method in interface org.jacoco.report.internal.html.table.ITableItem
-
Returns the corresponding node data.
- getNoMatchClasses() - Method in class org.jacoco.core.analysis.CoverageBuilder
-
Returns all classes for which execution data does not match.
- getOnload() - Method in class org.jacoco.report.internal.html.page.BundlePage
-
- getOnload() - Method in class org.jacoco.report.internal.html.page.ClassPage
-
- getOnload() - Method in class org.jacoco.report.internal.html.page.GroupPage
-
- getOnload() - Method in class org.jacoco.report.internal.html.page.PackagePage
-
- getOnload() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
-
- getOnload() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Returns the onload handler for this page.
- getOnload() - Method in class org.jacoco.report.internal.html.page.SourceFilePage
-
- getOutput() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the output mode
- getOutputEncoding() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getOutputEncoding() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the encoding of the generated HTML documents.
- getPackageName() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the VM name of the package this class belongs to.
- getPackageName() - Method in interface org.jacoco.core.analysis.ISourceFileCoverage
-
Returns the VM name of the package the source file belongs to.
- getPackageName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
- getPackageName() - Method in class org.jacoco.core.internal.analysis.SourceFileCoverageImpl
-
- getPackageName(String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific name of a package.
- getPackageName(String) - Method in class org.jacoco.report.JavaNames
-
- getPackages() - Method in interface org.jacoco.core.analysis.IBundleCoverage
-
Returns all packages contained in this bundle.
- getPackages() - Method in class org.jacoco.core.internal.analysis.BundleCoverageImpl
-
- getPage() - Method in class org.jacoco.report.internal.html.HTMLGroupVisitor
-
Returns the page rendered for this group.
- getPlainCopy() - Method in class org.jacoco.core.analysis.CoverageNodeImpl
-
- getPlainCopy() - Method in interface org.jacoco.core.analysis.ICoverageNode
-
Creates a plain copy of this node.
- getPort() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the port on which to listen to when the output is
tcpserver
or the port to connect to when output 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.
- getQualifiedClassName(String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific qualified name of a class.
- getQualifiedClassName(String) - Method in class org.jacoco.report.JavaNames
-
- getQualifiedMethodName(String, String, String, String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific fully qualified name of a method.
- getQualifiedMethodName(String, String, String, String) - Method in class org.jacoco.report.JavaNames
-
- getQuotedVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
-
Generate required quoted JVM argument based on current configuration and
supplied agent jar location.
- getResources() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getResources() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the static resources used in this report.
- getSessionId() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the session identifier.
- getSessionId() - Method in class org.jacoco.core.runtime.RuntimeData
-
Get the current a session identifier for this runtime.
- getSessionInfoStore() - Method in class org.jacoco.core.tools.ExecFileLoader
-
Returns the session info store with all loaded sessions.
- getSessionsPage() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getSessionsPage() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the link to the sessions page.
- getSignature() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the VM signature of the class.
- getSignature() - Method in interface org.jacoco.core.analysis.IMethodCoverage
-
Returns the generic signature of the method if defined.
- getSignature() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
- getSignature() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
-
- getSourceFile(String, String) - Method in class org.jacoco.report.InputStreamSourceFileLocator
-
- getSourceFile(String, String) - Method in interface org.jacoco.report.ISourceFileLocator
-
Tries to locate the given source file and opens a reader with the
appropriate encoding.
- getSourceFile(String, String) - Method in class org.jacoco.report.MultiSourceFileLocator
-
- getSourceFileName() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the optional name of the corresponding source file.
- getSourceFileName() - Method in class org.jacoco.core.internal.analysis.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
-
- getSourceStream(String) - Method in class org.jacoco.report.DirectorySourceFileLocator
-
- getSourceStream(String) - Method in class org.jacoco.report.InputStreamSourceFileLocator
-
Tries to locate the given source file and opens its binary content.
- getStartTimeStamp() - Method in class org.jacoco.core.data.SessionInfo
-
- getStatus() - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the coverage status of this counter.
- getStatus() - Method in interface org.jacoco.core.analysis.ILine
-
Returns the coverage status of this line, calculated from the
instructions counter and branch counter.
- getStatus() - Method in class org.jacoco.core.internal.analysis.CounterImpl
-
- getStatus() - Method in class org.jacoco.core.internal.analysis.LineImpl
-
- getSuperName() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns the VM name of the superclass.
- getSuperName() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
- getTable() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getTable() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns a table for rendering coverage nodes.
- getTabWidth() - Method in class org.jacoco.report.InputStreamSourceFileLocator
-
- getTabWidth() - Method in interface org.jacoco.report.ISourceFileLocator
-
Returns number of blank characters that represent a tab in source code.
- getTabWidth() - Method in class org.jacoco.report.MultiSourceFileLocator
-
- getTotalCount() - Method in interface org.jacoco.core.analysis.ICounter
-
Returns the total count of items.
- getTotalCount() - Method in class org.jacoco.core.internal.analysis.CounterImpl
-
- getType() - Method in class org.jacoco.core.internal.ContentTypeDetector
-
Returns the detected file type.
- getValue(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
-
- getValue() - Method in class org.jacoco.report.check.Limit
-
- getValue(ICounter) - Method in class org.jacoco.report.internal.html.table.CounterColumn
-
Retrieves the respective value from the counter.
- getVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
-
Generate required JVM argument based on current configuration and
supplied agent jar location.
- GREENBAR - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the green part of the coverage bar
- GroupPage - Class in org.jacoco.report.internal.html.page
-
Page showing coverage information for a node that groups other nodes.
- GroupPage(ICoverageNode, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.GroupPage
-
Creates a new visitor in the given context.
- GZFILE - Static variable in class org.jacoco.core.internal.ContentTypeDetector
-
File type GZIP compressed Data
- IBundleCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a bundle.
- IClassCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a single class containing methods.
- IColumnRenderer - Interface in org.jacoco.report.internal.html.table
-
Renderer for a single column of a coverage table.
- ICounter - Interface in org.jacoco.core.analysis
-
A counter holds the missed and the covered number of particular items like
classes, methods, branches or instructions.
- ICounter.CounterValue - Enum in org.jacoco.core.analysis
-
Different values provided by a counter.
- ICoverageNode - Interface in org.jacoco.core.analysis
-
Interface for hierarchical coverage data nodes with different coverage
counters.
- ICoverageNode.CounterEntity - Enum in org.jacoco.core.analysis
-
Different counter types supported by JaCoCo.
- ICoverageNode.ElementType - Enum in org.jacoco.core.analysis
-
- 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.
- IHTMLReportContext - Interface in org.jacoco.report.internal.html
-
Context and configuration information during creation of a HTML report.
- IIndexUpdate - Interface in org.jacoco.report.internal.html.index
-
Every report page that should become part of the index must be added via this
interface.
- ILanguageNames - Interface in org.jacoco.report
-
Interface to create programming language specific names from VM names.
- ILine - Interface in org.jacoco.core.analysis
-
The instruction and branch coverage of a single source line is described by
this interface.
- ILinkable - Interface in org.jacoco.report.internal.html
-
Abstraction for items that can be linked to in a report.
- IMethodCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a single method.
- img(String, int, int, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'img' element.
- IMultiReportOutput - Interface in org.jacoco.report
-
Interface to emit multiple binary files.
- in - Variable in class org.jacoco.core.data.ExecutionDataReader
-
Underlying data input
- INCLBOOTSTRAPCLASSES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether also classes from the bootstrap classloader should be
instrumented.
- INCLNOLOCATIONCLASSES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether also classes without a source location should be
instrumented.
- INCLUDES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Wildcard expression for class names that should be included for code
coverage.
- IncompatibleExecDataVersionException - Exception in org.jacoco.core.data
-
Signals that execution data in an incompatible version was tried to read.
- IncompatibleExecDataVersionException(int) - Constructor for exception org.jacoco.core.data.IncompatibleExecDataVersionException
-
Creates a new exception to flag version mismatches in execution data.
- increment(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.
- INFO - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Info links within the Breadcrumb bar
- infoLinks(HTMLElement) - Method in class org.jacoco.report.internal.html.page.PackagePage
-
- infoLinks(HTMLElement) - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
-
- infoLinks(HTMLElement) - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Inserts additional links on the top right corner.
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.BarColumn
-
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.CounterColumn
-
- init(List<? extends ITableItem>, ICoverageNode) - Method in interface org.jacoco.report.internal.html.table.IColumnRenderer
-
Initializes the column before any output method is called.
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.LabelColumn
-
- init(List<? extends ITableItem>, ICoverageNode) - Method in class org.jacoco.report.internal.html.table.PercentageColumn
-
- INITMETHOD_ACC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Access modifiers of the initialization method.
- INITMETHOD_DESC - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Descriptor of the initialization method.
- INITMETHOD_NAME - Static variable in class org.jacoco.core.internal.instr.InstrSupport
-
Name of the initialization method.
- InputStreamSourceFileLocator - Class in org.jacoco.report
-
- InputStreamSourceFileLocator(String, int) - Constructor for class org.jacoco.report.InputStreamSourceFileLocator
-
Creates a new locator with the given specification.
- InstrSupport - Class in org.jacoco.core.internal.instr
-
Constants and utilities for byte code instrumentation.
- Instruction - Class in org.jacoco.core.internal.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 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.
- IReportGroupVisitor - Interface in org.jacoco.report
-
Output-Interface for hierarchical report structures.
- IReportVisitor - Interface in org.jacoco.report
-
Interface for all implementations to retrieve structured report data.
- IRuntime - Interface in org.jacoco.core.runtime
-
This interface represents a particular mechanism to collect execution
information in the target VM at runtime.
- isDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether this label is marked as done.
- isEmpty() - Method in class org.jacoco.core.data.SessionInfoStore
-
Tests whether the store is empty.
- ISessionInfoVisitor - Interface in org.jacoco.core.data
-
Interface for data output of collected session information.
- isMethodInvocationLine(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether the a given label has been marked as a line with method
invocations.
- isMultiTarget(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether multiple control paths lead to a label.
- isNoMatch() - Method in interface org.jacoco.core.analysis.IClassCoverage
-
Returns if the the analyzed class does match the execution data provided.
- isNoMatch() - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
- ISourceFileCoverage - Interface in org.jacoco.core.analysis
-
Coverage data of a single source file.
- ISourceFileLocator - Interface in org.jacoco.report
-
Interface to look-up source files that will be included with the report.
- ISourceNode - Interface in org.jacoco.core.analysis
-
Interface for coverage nodes that have individual source lines like methods,
classes and source files.
- isPatchRequired(byte[]) - Static method in class org.jacoco.core.internal.Java9Support
-
- isRootPage() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Checks whether this is the root page of the report.
- isSuccessor(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether this label is the possible successor of the previous
instruction in the method.
- ITableItem - Interface in org.jacoco.report.internal.html.table
-
Interface for a item (row) in a coverage data table.
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.BarColumn
-
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.CounterColumn
-
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in interface org.jacoco.report.internal.html.table.IColumnRenderer
-
Renders a single item in this column.
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.LabelColumn
-
- item(HTMLElement, ITableItem, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.PercentageColumn
-
- IViolationsOutput - Interface in org.jacoco.report.check
-
Call-back interface which is used to report rule violations to.
- 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.
- REDBAR - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the red part of the coverage bar
- RemoteControlReader - Class in org.jacoco.core.runtime
-
- 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
-
- RemoteControlWriter(OutputStream) - Constructor for class org.jacoco.core.runtime.RemoteControlWriter
-
Creates a new writer based on the given output stream.
- removeEntry(String) - Method in class org.jacoco.core.internal.instr.SignatureRemover
-
Checks whether a entry with the provided name should be ignored at all.
- render() - Method in class org.jacoco.report.internal.html.page.BundlePage
-
- render() - Method in class org.jacoco.report.internal.html.page.ClassPage
-
- render() - Method in class org.jacoco.report.internal.html.page.PackagePage
-
- render() - Method in class org.jacoco.report.internal.html.page.PackageSourcePage
-
- render() - Method in class org.jacoco.report.internal.html.page.ReportPage
-
Renders this page's content and optionally additional pages.
- render(HTMLElement, List<? extends ITableItem>, ICoverageNode, Resources, ReportOutputFolder) - Method in class org.jacoco.report.internal.html.table.Table
-
Renders a table for the given icon
- ReportOutputFolder - Class in org.jacoco.report.internal
-
Logical representation of a folder in the output structure.
- ReportOutputFolder(IMultiReportOutput) - Constructor for class org.jacoco.report.internal.ReportOutputFolder
-
Creates a new root folder for the given output.
- ReportPage - Class in org.jacoco.report.internal.html.page
-
Base class for HTML page generators.
- ReportPage(ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.ReportPage
-
Creates a new report page.
- reset() - Method in class org.jacoco.core.data.ExecutionData
-
Sets all probes to false
.
- reset() - Method in class org.jacoco.core.data.ExecutionDataStore
-
Resets all execution data probes, i.e.
- reset() - Method in class org.jacoco.core.runtime.RuntimeData
-
Resets all coverage information.
- resetDone(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Resets the "done" status of a given label.
- resetDone(Label[]) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Resets the "done" status of all given labels.
- Resources - Class in org.jacoco.report.internal.html.resources
-
Static resource that are included with the coverage report and might be
referenced from created HTML pages.
- Resources(ReportOutputFolder) - Constructor for class org.jacoco.report.internal.html.resources.Resources
-
Attaches resources to the report with the given root folder.
- reverse() - Method in class org.jacoco.core.analysis.CounterComparator
-
Creates a new version of this comparator that sorts in reverse order.
- RIGHT - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Text block aligned to the right
- Rule - Class in org.jacoco.report.check
-
A rule applies for a certain element type and can define any number of limits
for all elements of this type.
- Rule() - Constructor for class org.jacoco.report.check.Rule
-
Creates a new Rule without limits.
- RulesChecker - Class in org.jacoco.report.check
-
Formatter which checks a set of given rules and reports violations to a
IViolationsOutput
instance.
- RulesChecker() - Constructor for class org.jacoco.report.check.RulesChecker
-
New formatter instance.
- RuntimeData - Class in org.jacoco.core.runtime
-
Container for runtime execution and meta data.
- RuntimeData() - Constructor for class org.jacoco.core.runtime.RuntimeData
-
Creates a new runtime.
- RUNTIMEPACKAGE - Static variable in class org.jacoco.core.JaCoCo
-
Name of the runtime package of this build
- 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.
- script(String, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'script' element.
- second(Comparator<ICoverageNode>) - Method in class org.jacoco.core.analysis.NodeComparator
-
Creates a new composite comparator with a second search criterion.
- sendCmdOk() - Method in class org.jacoco.core.runtime.RemoteControlWriter
-
Sends a confirmation that a commands has been successfully executed and
the response is completed.
- SESSIONID - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies a session identifier that is written with the execution data.
- SessionInfo - Class in org.jacoco.core.data
-
Data object describing a session which was the source of execution data.
- SessionInfo(String, long, long) - Constructor for class org.jacoco.core.data.SessionInfo
-
Create a immutable session info with the given data.
- SessionInfoStore - Class in org.jacoco.core.data
-
Container to collect and merge session
SessionInfo
objects.
- SessionInfoStore() - Constructor for class org.jacoco.core.data.SessionInfoStore
-
- SessionsPage - Class in org.jacoco.report.internal.html.page
-
Page to display information about sessions covered by this report.
- SessionsPage(List<SessionInfo>, Collection<ExecutionData>, ElementIndex, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.SessionsPage
-
Creates a new page page to display session information.
- setActive(boolean) - Method in class org.jacoco.core.internal.instr.SignatureRemover
-
Defines whether this remover should be active.
- setAddress(String) - Method in class org.jacoco.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.
- setCounter(String) - Method in class org.jacoco.report.check.Limit
-
Sets the counter entity to check.
- 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.
- setElement(ICoverageNode.ElementType) - Method in class org.jacoco.report.check.Rule
-
- setExclClassloader(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the wildcard expression for excluded class loaders.
- setExcludes(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the wildcard expression for classes to exclude.
- setExcludes(String) - Method in class org.jacoco.report.check.Rule
-
- setExecutionDataVisitor(IExecutionDataVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
-
Sets an listener for execution data.
- setFooterText(String) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the optional text that should be included in every footer page.
- setInclBootstrapClasses(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether classes from the bootstrap classloader should be
instrumented.
- setInclNoLocationClasses(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether classes without source location should be instrumented.
- setIncludes(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the wildcard expression for classes to include.
- setIncludes(String) - Method in class org.jacoco.report.check.Rule
-
- 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.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.check.RulesChecker
-
Sets the implementation for language name display for message formatting.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.csv.CSVFormatter
-
Sets the implementation for language name display.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the implementation for language name display.
- setLimits(List<Limit>) - Method in class org.jacoco.report.check.Rule
-
- setLocale(Locale) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the locale used for report rendering.
- setMaximum(String) - Method in class org.jacoco.report.check.Limit
-
Sets allowed maximum value as decimal string representation.
- setMethodInvocationLine(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Mark a given label as the beginning of a line with method invocations.
- setMinimum(String) - Method in class org.jacoco.report.check.Limit
-
Sets allowed minimum value as decimal string representation.
- setOutput(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the output mode
- setOutput(AgentOptions.OutputMode) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the output mode
- setOutputEncoding(String) - Method in class org.jacoco.report.csv.CSVFormatter
-
Sets the encoding used for generated CSV document.
- setOutputEncoding(String) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the encoding used for generated HTML pages.
- setOutputEncoding(String) - Method in class org.jacoco.report.xml.XMLFormatter
-
Sets the encoding used for generated XML document.
- setPort(int) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the port on which to listen to when output is tcpserver
or the port to connect to when output is tcpclient
- 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.
- setRules(List<Rule>) - Method in class org.jacoco.report.check.RulesChecker
-
Sets the rules to check by this formatter.
- 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.
- setValue(String) - Method in class org.jacoco.report.check.Limit
-
Sets the value to check.
- shutdown() - Method in interface org.jacoco.core.runtime.IRuntime
-
Allows the coverage runtime to cleanup internals.
- shutdown() - Method in class org.jacoco.core.runtime.LoggerRuntime
-
- shutdown() - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
- shutdown() - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
-
- shutdown() - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
-
- SignatureRemover - Class in org.jacoco.core.internal.instr
-
Support class to filter entries from JARs related to signatures.
- SignatureRemover() - Constructor for class org.jacoco.core.internal.instr.SignatureRemover
-
Creates a new remover which is active.
- sort(Collection<T>) - Method in class org.jacoco.core.analysis.NodeComparator
-
Returns a sorted copy of the given collection of
ICoverageNode
elements.
- SORT_SCRIPT - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the sort script
- SORTABLE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Table header for sortable columns
- SOURCE - Static variable in class org.jacoco.report.internal.html.resources.Styles
-
Block of source code
- 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.
- SourceFilePage - Class in org.jacoco.report.internal.html.page
-
Page showing the content of a source file with numbered and highlighted
source lines.
- SourceFilePage(ISourceNode, Reader, int, ReportPage, ReportOutputFolder, IHTMLReportContext) - Constructor for class org.jacoco.report.internal.html.page.SourceFilePage
-
Creates a new page with given information.
- 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.
- span() - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'span' element.
- span(String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'span' element.
- span(String, String) - Method in class org.jacoco.report.internal.html.HTMLElement
-
Creates a 'span' element.
- startup(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, boolean, int) - Method in interface org.jacoco.core.internal.instr.IProbeArrayStrategy
-
Creates code that stores the probe array instance in the given variable.
- StringPool - Class in org.jacoco.core.internal.analysis
-
Utility to normalize
String
instances in a way that if
equals()
is
true
for two strings they will be
represented the same instance.
- StringPool() - Constructor for class org.jacoco.core.internal.analysis.StringPool
-
- Styles - Class in org.jacoco.report.internal.html.resources
-
Constants for styles defined by the report style sheet.
- STYLESHEET - Static variable in class org.jacoco.report.internal.html.resources.Resources
-
The name of the style sheet
- subFolder(String) - Method in class org.jacoco.report.internal.ReportOutputFolder
-
Creates a sub-folder with the given name.
- subtract(ExecutionData) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Subtracts the probes in the given
ExecutionData
object from the
store.
- subtract(ExecutionDataStore) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Subtracts all probes in the given execution data store from this store.
- SystemPropertiesRuntime - Class in org.jacoco.core.runtime
-
- SystemPropertiesRuntime() - Constructor for class org.jacoco.core.runtime.SystemPropertiesRuntime
-
Creates a new runtime.