Package | Description |
---|---|
org.jacoco.ant | |
org.jacoco.core.analysis |
Coverage calculation and analysis.
|
org.jacoco.core.internal.analysis | |
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 | Description |
---|---|---|
void |
ReportTask.CheckFormatterElement.onViolation(ICoverageNode node,
Rule rule,
Limit limit,
java.lang.String message) |
Modifier and Type | Interface | 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 | Description |
---|---|---|
class |
CoverageNodeImpl |
Base implementation for coverage data nodes.
|
Modifier and Type | Method | Description |
---|---|---|
<T extends ICoverageNode> |
NodeComparator.sort(java.util.Collection<T> summaries) |
Returns a sorted copy of the given collection of
ICoverageNode
elements. |
Modifier and Type | Method | Description |
---|---|---|
ICoverageNode |
CoverageNodeImpl.getPlainCopy() |
|
ICoverageNode |
ICoverageNode.getPlainCopy() |
Creates a plain copy of this node.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
void |
CoverageNodeImpl.increment(java.util.Collection<? extends ICoverageNode> children) |
Increments the counters by the values given by the collection of
elements.
|
NodeComparator |
NodeComparator.second(java.util.Comparator<ICoverageNode> second) |
Creates a new composite comparator with a second search criterion.
|
Modifier and Type | Class | 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 | Description |
---|---|---|
void |
IViolationsOutput.onViolation(ICoverageNode node,
Rule rule,
Limit limit,
java.lang.String message) |
Called for every rule violation.
|
Modifier and Type | Method | Description |
---|---|---|
NodePage<ICoverageNode> |
HTMLGroupVisitor.getPage() |
Returns the page rendered for this group.
|
Modifier and Type | Class | 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 | Description |
---|---|
GroupPage(ICoverageNode node,
ReportPage parent,
ReportOutputFolder folder,
IHTMLReportContext context) |
Creates a new visitor in the given context.
|
Modifier and Type | Method | Description |
---|---|---|
ICoverageNode |
ITableItem.getNode() |
Returns the corresponding node data.
|
Modifier and Type | Method | Description |
---|---|---|
void |
BarColumn.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.
|
void |
LabelColumn.footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
|
void |
PercentageColumn.footer(HTMLElement td,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
|
boolean |
BarColumn.init(java.util.List<? extends ITableItem> items,
ICoverageNode total) |
|
boolean |
CounterColumn.init(java.util.List<? extends ITableItem> items,
ICoverageNode total) |
|
boolean |
IColumnRenderer.init(java.util.List<? extends ITableItem> items,
ICoverageNode total) |
Initializes the column before any output method is called.
|
boolean |
LabelColumn.init(java.util.List<? extends ITableItem> items,
ICoverageNode total) |
|
boolean |
PercentageColumn.init(java.util.List<? extends ITableItem> items,
ICoverageNode total) |
|
void |
Table.render(HTMLElement parent,
java.util.List<? extends ITableItem> items,
ICoverageNode total,
Resources resources,
ReportOutputFolder base) |
Renders a table for the given icon
|
Constructor | Description |
---|---|
CounterColumn(ICoverageNode.CounterEntity entity,
java.util.Locale locale,
java.util.Comparator<ICoverageNode> comparator) |
Creates a new column that is based on the
ICounter for the given
entity. |
Modifier and Type | Method | Description |
---|---|---|
static void |
XMLCoverageWriter.writeCounters(ICoverageNode node,
XMLElement parent) |
Writes all non-zero counters of the given node.
|
Copyright © 2018. All rights reserved.