Skip to main content

Module coverage

Module coverage 

Source
Expand description

Coverage reports.

Modulesยง

analysis
anchors

Structsยง

AttributionItem ๐Ÿ”’
A source range covered by a test, with hit counts and item metadata.
AttributionReport ๐Ÿ”’
Top-level JSON payload for per-test coverage attribution.
AttributionTest ๐Ÿ”’
Coverage attributed to a single executed test.
AttributionTests ๐Ÿ”’
Serializer state for streaming attribution entries from test results.
BytecodeReporter
ContractId
A unique identifier for a contract
CoverageAttributionReporter
Writes per-test coverage attribution as JSON.
CoverageItem
CoverageReport
A coverage report.
CoverageSummary
Coverage summary for a source file.
CoverageSummaryReporter
A simple summary reporter that prints the coverage results in a table.
DebugReporter
A super verbose reporter for debugging coverage while it is still unstable.
HitMap
Hit data for an address.
HitMaps
A collection of HitMaps.
ItemAnchor
An item anchor describes what instruction marks a CoverageItem as covered.
LcovReporter
Writes the coverage report in LCOVโ€™s tracefile format.
LineCoverageCollector
Inspector implementation for collecting coverage information.
LineNumberCache ๐Ÿ”’
Cache line number offsets for source files
ResolvedHitMap
A hit map resolved to the contract coverage metadata it belongs to.
SourceLocation
A source location.

Enumsยง

CoverageItemKind

Traitsยง

CoverageReporter
A coverage reporter.

Functionsยง

attributed_items ๐Ÿ”’
coverage_item_kind_fields ๐Ÿ”’
format_cell ๐Ÿ”’
test_kind_name ๐Ÿ”’
test_status_name ๐Ÿ”’

Type Aliasesยง

ResolvedHitMaps