- 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
-
- AbstractCoverageTask - Class in org.jacoco.ant
-
Base class for all coverage tasks that require agent options
- AbstractCoverageTask() - Constructor for class org.jacoco.ant.AbstractCoverageTask
-
Create default agent options
- 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.
- AbstractJacocoMojo - Class in org.jacoco.maven
-
Base class for JaCoCo Mojos.
- AbstractJacocoMojo() - Constructor for class org.jacoco.maven.AbstractJacocoMojo
-
- AbstractRuntime - Class in org.jacoco.core.runtime
-
- AbstractRuntime() - Constructor for class org.jacoco.core.runtime.AbstractRuntime
-
Creates a new runtime.
- accept(IExecutionDataVisitor) - Method in class org.jacoco.core.data.ExecutionDataStore
-
Writes the content of the store to the given visitor interface.
- accept(ISessionInfoVisitor) - Method in class org.jacoco.core.data.SessionInfoStore
-
Writes all contained
SessionInfo
objects into the given visitor.
- access - Variable in class org.jacoco.core.runtime.AbstractRuntime
-
access for this runtime instance
- add(String, String, IColumnRenderer, boolean) - Method in class org.jacoco.report.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.
- addConfigured(ResourceCollection) - Method in class org.jacoco.ant.MergeTask
-
This task accepts any number of execution data resources.
- addItem(ITableItem) - Method in class org.jacoco.report.internal.html.page.TablePage
-
Adds the given item to the table.
- 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.
- addTask(Task) - Method in class org.jacoco.ant.CoverageTask
-
Add child task to this container and reconfigure it to run with coverage
enabled
- AgentJar - Class in org.jacoco.agent
-
API to access the agent JAR file as a resource.
- AgentMojo - Class in org.jacoco.maven
-
Prepares a property pointing to the JaCoCo runtime agent that can be passed
as a VM argument to the application under test.
- AgentMojo() - Constructor for class org.jacoco.maven.AgentMojo
-
- AgentOptions - Class in org.jacoco.core.runtime
-
Utility to create and parse options for the runtime agent.
- AgentOptions() - Constructor for class org.jacoco.core.runtime.AgentOptions
-
New instance with all values set to default.
- AgentOptions(String) - Constructor for class org.jacoco.core.runtime.AgentOptions
-
New instance parsed from the given option string.
- AgentOptions.OutputMode - Enum in org.jacoco.core.runtime
-
- AgentTask - Class in org.jacoco.ant
-
Ant task that will unpack the coverage agent jar and generate the JVM options
required to use it
- AgentTask() - Constructor for class org.jacoco.ant.AgentTask
-
- analyzeAll(InputStream) - 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.
- analyzeArchive(InputStream) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes all classes contained in the ZIP archive (jar, war, ear, etc.)
given as an input stream.
- analyzeClass(ClassReader) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes the class given as a ASM reader.
- analyzeClass(byte[]) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes the class definition from a given in-memory buffer.
- analyzeClass(InputStream) - Method in class org.jacoco.core.analysis.Analyzer
-
Analyzes the class definition from a given input stream.
- Analyzer - Class in org.jacoco.core.analysis
-
An
Analyzer
instance processes a set of Java class files and
calculates coverage data for them.
- Analyzer(ExecutionDataStore, ICoverageVisitor) - Constructor for class org.jacoco.core.analysis.Analyzer
-
Creates a new analyzer reporting to the given output.
- APPEND - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Specifies whether execution data should be appended to the output file.
- assertCompatibility(long, String, int) - Method in class org.jacoco.core.data.ExecutionData
-
Asserts that this execution data object is compatible with the given
parameters.
- 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.
- canGenerateReport() - Method in class org.jacoco.maven.ReportMojo
-
- 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(long, 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, String, String, String[]) - 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.analysis.ContentTypeDetector
-
File type Java class
- ClassInstrumenter - Class in org.jacoco.core.internal.instr
-
Adapter that instruments a class for coverage tracing.
- ClassInstrumenter(long, IExecutionDataAccessorGenerator, 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(IClassProbesVisitor) - Constructor for class org.jacoco.core.internal.flow.ClassProbesAdapter
-
Creates a new adapter 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.AbstractRuntime
-
- collect(IExecutionDataVisitor, ISessionInfoVisitor, boolean) - Method in interface org.jacoco.core.runtime.IRuntime
-
- 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(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.
- 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.analysis
-
Detector for content types of binary streams based on a magic headers.
- ContentTypeDetector(InputStream) - Constructor for class org.jacoco.core.internal.analysis.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.
- CounterComparator() - Constructor for class org.jacoco.core.analysis.CounterComparator
-
- 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
- CoverageTask - Class in org.jacoco.ant
-
Container task to run Java/JUnit tasks with the JaCoCo agent jar.
- CoverageTask() - Constructor for class org.jacoco.ant.CoverageTask
-
Creates a new default coverage task
- CoverageTransformer - Class in org.jacoco.agent.rt
-
Class file transformer to instrument classes for code coverage analysis.
- CoverageTransformer(IRuntime, AgentOptions, IExceptionLogger) - Constructor for class org.jacoco.agent.rt.CoverageTransformer
-
New transformer with the given delegates.
- 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.
- createAgentController() - Method in class org.jacoco.agent.rt.JacocoAgent
-
Create controller implementation as given by the agent options.
- createChild(XMLElement, String, String) - Static method in class org.jacoco.report.internal.xml.XMLCoverageWriter
-
Creates a child element with a name attribute.
- createClassfiles() - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Returns the nested resource collection for class files.
- createCsv() - Method in class org.jacoco.ant.ReportTask
-
Creates a new CSV report element.
- createExecutiondata() - Method in class org.jacoco.ant.ReportTask
-
Returns the nested resource collection for execution data files.
- 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(Instrumentation, String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
- createFor(Instrumentation, String, String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
- createGroup() - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Creates a new child group.
- createHtml() - Method in class org.jacoco.ant.ReportTask
-
Creates a new HTML report element.
- createRandomId() - Static method in class org.jacoco.core.runtime.AbstractRuntime
-
Creates a random session identifier.
- createRuntime(Instrumentation) - Method in class org.jacoco.agent.rt.JacocoAgent
-
Creates the specific coverage runtime implementation.
- createServerSocket(AgentOptions) - Method in class org.jacoco.agent.rt.controller.TcpServerController
-
Open a server socket based on the given configuration.
- createSocket(AgentOptions) - Method in class org.jacoco.agent.rt.controller.TcpClientController
-
Open a socket based on the given configuration.
- createSourcefiles() - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Returns the nested resource collection for source files.
- createStructure() - Method in class org.jacoco.ant.ReportTask
-
Returns the root group element that defines the report structure.
- createVisitor() - Method in class org.jacoco.ant.ReportTask.CSVFormatterElement
-
- createVisitor() - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
- createVisitor() - Method in class org.jacoco.ant.ReportTask.XMLFormatterElement
-
- 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.
- createXml() - Method in class org.jacoco.ant.ReportTask
-
Creates a new XML report element.
- 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
- generateDataAccessor(long, String, int, MethodVisitor) - Method in interface org.jacoco.core.runtime.IExecutionDataAccessorGenerator
-
This method generates the byte code required to obtain the coverage data
structure for the class with the given id.
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.LoggerRuntime
-
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
-
- generateDataAccessor(long, String, int, MethodVisitor) - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
-
- get(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.
- 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
- getAgentOptions() - Method in class org.jacoco.ant.AbstractCoverageTask
-
Gets the currently configured agent options for this task
- 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.ClassAnalyzer
-
Returns the coverage data for this class after this visitor has been
processed.
- 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
-
- getData() - Method in class org.jacoco.core.data.ExecutionData
-
Returns the execution data probes.
- getDesc() - Method in interface org.jacoco.core.analysis.IMethodCoverage
-
Returns the parameter description of the method.
- getDesc() - Method in class org.jacoco.core.internal.analysis.MethodCoverageImpl
-
- getDescription(Locale) - Method in class org.jacoco.maven.ReportMojo
-
- getDestfile() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the output file location.
- getDumpOnExit() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns whether coverage data should be dumped on exit
- getDumpTimeStamp() - Method in class org.jacoco.core.data.SessionInfo
-
- getElementStyle(ICoverageNode.ElementType) - Static method in class org.jacoco.report.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.
- 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.maven.AbstractJacocoMojo
-
Returns the list of class files to exclude.
- getExcludes() - Method in class org.jacoco.maven.ReportMojo
-
Returns the list of class files to exclude from the report.
- 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.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
-
- getIncludes() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the wildcard expression for classes to include.
- getIncludes() - Method in class org.jacoco.maven.AbstractJacocoMojo
-
Returns the list of class files to include.
- getIncludes() - Method in class org.jacoco.maven.ReportMojo
-
Returns the list of class files to include in the report.
- 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.
- getInetAddress(String) - Method in class org.jacoco.agent.rt.controller.TcpServerController
-
Returns the
InetAddress
object to open the server socket on.
- 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.analysis.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.
- 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
-
- getLaunchingArgument() - Method in class org.jacoco.ant.AbstractCoverageTask
-
Creates JVM argument to launch with the specified JaCoCo agent jar and
the current options
- 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.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.
- 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
-
- 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.
- getName(Locale) - Method in class org.jacoco.maven.ReportMojo
-
- 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.
- 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.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
- getOutputDirectory() - Method in class org.jacoco.maven.ReportMojo
-
- 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.
- getOutputName() - Method in class org.jacoco.maven.ReportMojo
-
- 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.
- getProject() - Method in class org.jacoco.maven.AbstractJacocoMojo
-
- getProject() - Method in class org.jacoco.maven.ReportMojo
-
- getQualifiedClassName(String) - Method in interface org.jacoco.report.ILanguageNames
-
Calculates the language specific qualified name of a class.
- getQualifiedClassName(String) - Method in class org.jacoco.report.JavaNames
-
- getResource() - Static method in class org.jacoco.agent.AgentJar
-
Returns a URL pointing to the JAR file.
- getResourceAsStream() - Static method in class org.jacoco.agent.AgentJar
-
Returns the content of the JAR file as a stream.
- getResources() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getResources() - Method in interface org.jacoco.report.internal.html.IHTMLReportContext
-
Returns the static resources used in this report.
- getSessionId() - Method in interface org.jacoco.agent.rt.controller.IRuntimeMBean
-
Returns current a session identifier.
- getSessionId() - Method in class org.jacoco.agent.rt.controller.MBeanController
-
- getSessionId() - Method in class org.jacoco.core.runtime.AbstractRuntime
-
- getSessionId() - Method in class org.jacoco.core.runtime.AgentOptions
-
Returns the session identifier.
- getSessionId() - Method in interface org.jacoco.core.runtime.IRuntime
-
Get the current a session identifier for this runtime.
- getSessionsPage() - Method in class org.jacoco.report.html.HTMLFormatter
-
- getSessionsPage() - Method in interface org.jacoco.report.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
-
- getSiteRenderer() - Method in class org.jacoco.maven.ReportMojo
-
- 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.analysis.ContentTypeDetector
-
Returns the detected file type.
- getValue(ICounter) - Method in class org.jacoco.report.internal.html.table.CounterColumn
-
Retrieves the respective value from the counter.
- getVersion() - Method in interface org.jacoco.agent.rt.controller.IRuntimeMBean
-
Returns version of JaCoCo.
- getVersion() - Method in class org.jacoco.agent.rt.controller.MBeanController
-
- getVMArgument(File) - Method in class org.jacoco.core.runtime.AgentOptions
-
Generate required JVM argument string based on current configuration and
supplied agent jar location
- GREENBAR - Static variable in class org.jacoco.report.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.
- IAgentController - Interface in org.jacoco.agent.rt.controller
-
Common interface for different implementations that control execution data
dumps.
- 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.
- IClassProbesVisitor - Interface in org.jacoco.core.internal.flow
-
A ClassVisitor
with additional methods to get probe insertion
information for each method
- 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.
- 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.
- IExceptionLogger - Interface in org.jacoco.agent.rt
-
At several places exception might occur that should be reported.
- IExecutionDataAccessorGenerator - Interface in org.jacoco.core.runtime
-
The instrumented classes need a piece of code that obtains a
boolean[]
instance from the runtime.
- IExecutionDataVisitor - Interface in org.jacoco.core.data
-
Interface for data output of collected execution data.
- IHTMLReportContext - Interface in org.jacoco.report.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.
- IMethodProbesVisitor - Interface in org.jacoco.core.internal.flow
-
A MethodVisitor
with additional methods to get probe insertion
information.
- 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
- INCLUDES - Static variable in class org.jacoco.core.runtime.AgentOptions
-
Wildcard expression for class names that should be included for code
coverage.
- 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.
- init(Instrumentation) - Method in class org.jacoco.agent.rt.JacocoAgent
-
Initializes this agent.
- 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[]) - Method in class org.jacoco.core.instr.Instrumenter
-
Creates a instrumented version of the given class if possible.
- instrument(InputStream) - Method in class org.jacoco.core.instr.Instrumenter
-
Creates a instrumented version of the given class if possible.
- instrument(byte[], String) - Static method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
Adds the static access method and data field to the given class
definition.
- Instrumenter - Class in org.jacoco.core.instr
-
Several APIs to instrument Java class definitions for coverage tracing.
- Instrumenter(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.
- 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.
- IRuntimeMBean - Interface in org.jacoco.agent.rt.controller
-
MBean interface for remote commands to a coverage 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.
- isEnabled() - Method in class org.jacoco.ant.AbstractCoverageTask
-
- ISessionInfoVisitor - Interface in org.jacoco.core.data
-
Interface for data output of collected session information.
- isExternalReport() - Method in class org.jacoco.maven.ReportMojo
-
- isMultiTarget(Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Checks whether multiple control paths lead to a label.
- 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.
- 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
-
- 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.
- 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.
- 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.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
- ReportMojo - Class in org.jacoco.maven
-
Creates a code coverage report for a single project in multiple formats
(HTML, XML, and CSV).
- ReportMojo() - Constructor for class org.jacoco.maven.ReportMojo
-
- 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.
- ReportTask - Class in org.jacoco.ant
-
Task for coverage report generation.
- ReportTask() - Constructor for class org.jacoco.ant.ReportTask
-
- ReportTask.CSVFormatterElement - Class in org.jacoco.ant
-
Formatter Element for CSV reports.
- ReportTask.CSVFormatterElement() - Constructor for class org.jacoco.ant.ReportTask.CSVFormatterElement
-
- ReportTask.GroupElement - Class in org.jacoco.ant
-
Container element for class file groups.
- ReportTask.GroupElement() - Constructor for class org.jacoco.ant.ReportTask.GroupElement
-
- ReportTask.HTMLFormatterElement - Class in org.jacoco.ant
-
Formatter Element for HTML reports.
- ReportTask.HTMLFormatterElement() - Constructor for class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
- ReportTask.SourceFilesElement - Class in org.jacoco.ant
-
The source files are specified in a resource collection with additional
attributes.
- ReportTask.SourceFilesElement() - Constructor for class org.jacoco.ant.ReportTask.SourceFilesElement
-
- ReportTask.XMLFormatterElement - Class in org.jacoco.ant
-
Formatter Element for XML reports.
- ReportTask.XMLFormatterElement() - Constructor for class org.jacoco.ant.ReportTask.XMLFormatterElement
-
- reset() - Method in interface org.jacoco.agent.rt.controller.IRuntimeMBean
-
Resets all coverage information.
- reset() - Method in class org.jacoco.agent.rt.controller.MBeanController
-
- reset() - Method in class org.jacoco.core.data.ExecutionData
-
Sets all probe data entries to false
.
- reset() - Method in class org.jacoco.core.data.ExecutionDataStore
-
Resets all execution data probes, i.e.
- reset() - Method in class org.jacoco.core.runtime.AbstractRuntime
-
- reset() - Method in interface org.jacoco.core.runtime.IRuntime
-
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
- 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.
- setAddress(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the IP address or hostname to bind to when output method is tcp
server or connect to when the output method is tcp client.
- setAddress(String) - Method in class org.jacoco.ant.DumpTask
-
IP Address or hostname to connect to.
- setAddress(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the hostname or IP address to listen to when output is
tcpserver or connect to when output is tcpclient
- setAppend(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Append execution coverage data if a coverage file is already present.
- setAppend(boolean) - Method in class org.jacoco.ant.DumpTask
-
true
if the destination file it to be appended to.
- setAppend(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether the output should be appended to an existing file.
- setClassdumpdir(File) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the directory where all class files seen by the agent should be
dumped to.
- 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.
- setDestdir(File) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the output directory for the report.
- setDestfile(File) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the location to write coverage execution data.
- setDestfile(File) - Method in class org.jacoco.ant.DumpTask
-
Sets the location of the execution data file to write.
- setDestfile(File) - Method in class org.jacoco.ant.MergeTask
-
Sets the location of the merged data store
- setDestfile(File) - Method in class org.jacoco.ant.ReportTask.CSVFormatterElement
-
Sets the output file for the report.
- setDestfile(File) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the Zip output file for the report.
- setDestfile(File) - Method in class org.jacoco.ant.ReportTask.XMLFormatterElement
-
Sets the output file for the report.
- 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.ant.DumpTask
-
Sets whether execution data should be downloaded from the remote host.
- setDumpOnExit(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Dump coverage data on VM termination.
- setDumpOnExit(boolean) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets whether coverage data should be dumped on exit
- setEnabled(boolean) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets whether or not the current task is enabled
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.CSVFormatterElement
-
Sets the output encoding for generated XML file.
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the output encoding for generated HTML files.
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.SourceFilesElement
-
Defines the optional source file encoding.
- setEncoding(String) - Method in class org.jacoco.ant.ReportTask.XMLFormatterElement
-
Sets the output encoding for generated XML file.
- setExclClassLoader(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
List of wildcard patterns for classloaders that JaCoCo will not
instrument classes from.
- 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.ant.AbstractCoverageTask
-
List of wildcard patterns classes to exclude from instrumentation.
- 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.
- setFooter(String) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets an optional footer text that will be displayed on every report
page.
- setFooterText(String) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the optional text that should be included in every footer page.
- setIncludes(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
List of wildcard patterns classes to include for instrumentation.
- 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.
- setIntermediateLabel(Label, Label) - Static method in class org.jacoco.core.internal.flow.LabelInfo
-
Defines an intermediate label for the given label.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.csv.CSVFormatter
-
Sets the implementation for language name display.
- setLanguageNames(ILanguageNames) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the implementation for language name display.
- setLocale(Locale) - Method in class org.jacoco.ant.ReportTask.HTMLFormatterElement
-
Sets the locale for generated text output.
- setLocale(Locale) - Method in class org.jacoco.report.html.HTMLFormatter
-
Sets the locale used for report rendering.
- setName(String) - Method in class org.jacoco.ant.ReportTask.GroupElement
-
Sets the name of the group.
- setOutput(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the output method.
- 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.ant.AbstractCoverageTask
-
Sets the Port to bind to when the output method is tcp server or connect
to when the output method is tcp client.
- setPort(int) - Method in class org.jacoco.ant.DumpTask
-
Port number to connect to.
- 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.
- setProperty(String) - Method in class org.jacoco.ant.AgentTask
-
Sets the name of the property to hold the agent JVM options
- setRemoteCommandVisitor(IRemoteCommandVisitor) - Method in class org.jacoco.core.runtime.RemoteControlReader
-
Sets an listener for agent commands.
- setReportOutputDirectory(File) - Method in class org.jacoco.maven.ReportMojo
-
- setReset(boolean) - Method in class org.jacoco.ant.DumpTask
-
Sets whether a reset command should be sent after the execution data has
been copied.
- setSessionId(String) - Method in interface org.jacoco.agent.rt.controller.IRuntimeMBean
-
Sets a session identifier.
- setSessionId(String) - Method in class org.jacoco.agent.rt.controller.MBeanController
-
- setSessionId(String) - Method in class org.jacoco.ant.AbstractCoverageTask
-
Sets the session identifier.
- setSessionId(String) - Method in class org.jacoco.core.runtime.AbstractRuntime
-
- setSessionId(String) - Method in class org.jacoco.core.runtime.AgentOptions
-
Sets the session identifier.
- setSessionId(String) - Method in interface org.jacoco.core.runtime.IRuntime
-
Sets a session identifier for this runtime.
- setSessionInfoVisitor(ISessionInfoVisitor) - Method in class org.jacoco.core.data.ExecutionDataReader
-
Sets an listener for session information.
- setSourceFileName(String) - Method in class org.jacoco.core.internal.analysis.ClassCoverageImpl
-
Sets the name of the corresponding source file for this class.
- setStartTimeStamp() - Method in class org.jacoco.core.runtime.AbstractRuntime
-
Subclasses need to call this method in their
IRuntime.startup()
implementation to record the timestamp of session startup.
- 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.
- setTabwidth(int) - Method in class org.jacoco.ant.ReportTask.SourceFilesElement
-
Sets the tab stop width for the source pages.
- 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.agent.rt.controller.IAgentController
-
Shutdown the agent controller and clean up any resources it has created.
- shutdown() - Method in class org.jacoco.agent.rt.controller.LocalController
-
- shutdown() - Method in class org.jacoco.agent.rt.controller.MBeanController
-
- shutdown() - Method in class org.jacoco.agent.rt.controller.TcpClientController
-
- shutdown() - Method in class org.jacoco.agent.rt.controller.TcpServerController
-
- shutdown() - Method in class org.jacoco.agent.rt.JacocoAgent
-
Shutdown the agent again.
- shutdown() - Method in interface org.jacoco.core.runtime.IRuntime
-
Allows the coverage runtime to cleanup internals.
- shutdown() - Method in class org.jacoco.core.runtime.LoggerRuntime
-
- shutdown() - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
- shutdown() - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
-
- shutdown() - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
-
- sort(Collection<T>) - Method in class org.jacoco.core.analysis.NodeComparator
-
Returns a sorted copy of the given collection of
ICoverageNode
elements.
- SORT_SCRIPT - Static variable in class org.jacoco.report.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(ISourceFileCoverage, 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(AgentOptions, IRuntime) - Method in interface org.jacoco.agent.rt.controller.IAgentController
-
Configure the agent controller with the supplied options and connect it
to the coverage runtime
- startup(AgentOptions, IRuntime) - Method in class org.jacoco.agent.rt.controller.LocalController
-
- startup(AgentOptions, IRuntime) - Method in class org.jacoco.agent.rt.controller.MBeanController
-
- startup(AgentOptions, IRuntime) - Method in class org.jacoco.agent.rt.controller.TcpClientController
-
- startup(AgentOptions, IRuntime) - Method in class org.jacoco.agent.rt.controller.TcpServerController
-
- startup() - Method in interface org.jacoco.core.runtime.IRuntime
-
Starts the coverage runtime.
- startup() - Method in class org.jacoco.core.runtime.LoggerRuntime
-
- startup() - Method in class org.jacoco.core.runtime.ModifiedSystemClassRuntime
-
- startup() - Method in class org.jacoco.core.runtime.SystemPropertiesRuntime
-
- startup() - Method in class org.jacoco.core.runtime.URLStreamHandlerRuntime
-
- store - Variable in class org.jacoco.core.runtime.AbstractRuntime
-
store for execution data
- StringPool - Class in org.jacoco.core.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.
- SystemPropertiesRuntime - Class in org.jacoco.core.runtime
-
- SystemPropertiesRuntime() - Constructor for class org.jacoco.core.runtime.SystemPropertiesRuntime
-
Creates a new runtime.