| Package | Description |
|---|---|
| org.jacoco.ant | |
| org.jacoco.core.analysis |
Coverage calculation and analysis.
|
| org.jacoco.core.internal.analysis | |
| org.jacoco.maven | |
| org.jacoco.report.check |
Rules check implementation.
|
| org.jacoco.report.internal.html | |
| org.jacoco.report.internal.html.page | |
| org.jacoco.report.internal.html.table |
Internal: Sortable HTML table for coverage node elements.
|
| org.jacoco.report.internal.xml |
| Modifier and Type | Method and Description |
|---|---|
void |
ReportTask.CheckFormatterElement.onViolation(ICoverageNode node,
Rule rule,
Limit limit,
String message) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
IBundleCoverage
Coverage data of a bundle.
|
interface |
IClassCoverage
Coverage data of a single class containing methods.
|
interface |
IMethodCoverage
Coverage data of a single method.
|
interface |
IPackageCoverage
Coverage data of a Java package containing classes and source files.
|
interface |
ISourceFileCoverage
Coverage data of a single source file.
|
interface |
ISourceNode
Interface for coverage nodes that have individual source lines like methods,
classes and source files.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CoverageNodeImpl
Base implementation for coverage data nodes.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends ICoverageNode> |
NodeComparator.sort(Collection<T> summaries)
Returns a sorted copy of the given collection of
ICoverageNode
elements. |
| Modifier and Type | Method and Description |
|---|---|
ICoverageNode |
CoverageNodeImpl.getPlainCopy() |
ICoverageNode |
ICoverageNode.getPlainCopy()
Creates a plain copy of this node.
|
| Modifier and Type | Method and Description |
|---|---|
int |
NodeComparator.compare(ICoverageNode n1,
ICoverageNode n2) |
void |
CoverageNodeImpl.increment(ICoverageNode child)
Increments the counters by the values given by another element.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CoverageNodeImpl.increment(Collection<? extends ICoverageNode> children)
Increments the counters by the values given by the collection of
elements.
|
NodeComparator |
NodeComparator.second(Comparator<ICoverageNode> second)
Creates a new composite comparator with a second search criterion.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BundleCoverageImpl
Implementation of
IBundleCoverage. |
class |
ClassCoverageImpl
Implementation of
IClassCoverage. |
class |
MethodCoverageImpl
Implementation of
IMethodCoverage. |
class |
PackageCoverageImpl
Implementation of
IPackageCoverage. |
class |
SourceFileCoverageImpl
Implementation of
ISourceFileCoverage. |
class |
SourceNodeImpl
Implementation of
ISourceNode. |
| Modifier and Type | Method and Description |
|---|---|
void |
CheckMojo.onViolation(ICoverageNode node,
Rule rule,
Limit limit,
String message) |
| Modifier and Type | Method and Description |
|---|---|
void |
IViolationsOutput.onViolation(ICoverageNode node,
Rule rule,
Limit limit,
String message)
Called for every rule violation.
|
| Modifier and Type | Method and Description |
|---|---|
NodePage<ICoverageNode> |
HTMLGroupVisitor.getPage()
Returns the page rendered for this group.
|
| Modifier and Type | Class and Description |
|---|---|
class |
NodePage<NodeType extends ICoverageNode>
Report page that represents a coverage node.
|
class |
TablePage<NodeType extends ICoverageNode>
Report page that contains a table of items linked to other pages.
|
| Constructor and Description |
|---|
GroupPage(ICoverageNode node,
ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context)
Creates a new visitor in the given context.
|
| Modifier and Type | Method and Description |
|---|---|
ICoverageNode |
ITableItem.getNode()
Returns the corresponding node data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LabelColumn.footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
void |
BarColumn.footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
void |
PercentageColumn.footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
void |
CounterColumn.footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
void |
IColumnRenderer.footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base)
Renders the footer for this column.
|
boolean |
LabelColumn.init(List<? extends ITableItem> items,
ICoverageNode total) |
boolean |
BarColumn.init(List<? extends ITableItem> items,
ICoverageNode total) |
boolean |
PercentageColumn.init(List<? extends ITableItem> items,
ICoverageNode total) |
boolean |
CounterColumn.init(List<? extends ITableItem> items,
ICoverageNode total) |
boolean |
IColumnRenderer.init(List<? extends ITableItem> items,
ICoverageNode total)
Initializes the column before any output method is called.
|
void |
Table.render(HTMLElement parent,
List<? extends ITableItem> items,
ICoverageNode total,
Resources resources,
ReportOutputFolder base)
Renders a table for the given icon
|
| Constructor and Description |
|---|
CounterColumn(ICoverageNode.CounterEntity entity,
Locale locale,
Comparator<ICoverageNode> comparator)
Creates a new column that is based on the
ICounter for the given
entity. |
| Modifier and Type | Method and Description |
|---|---|
static void |
XMLCoverageWriter.writeCounters(ICoverageNode node,
XMLElement parent)
Writes all non-zero counters of the given node.
|
Copyright © 2024. All rights reserved.