CoverageReport class

The measurement: per row, the model sections, the filled ones, and the classes of the empty ones.

Constructors

CoverageReport()

Properties

block → Map<String, int>
The number of each row's model sections the Blueprint holds as a block (a mapping or an empty value), filled or not.
final
classes → Map<String, Map<String, int>>
The number of each row's empty sections per class, by row id and class.
final
filled → Map<String, int>
The number of each row's model sections the Blueprint fills.
final
hashCode → int
The hash code for this object.
no setterinherited
idlessSampleSections ↔ int
The number of id-less sub-sections in the sample, which are not counted.
getter/setter pair
labels → Map<String, String>
Each row's label, by row id.
final
model → Map<String, int>
The number of model sections in each row.
final
oldFilled → Map<String, int>
Like filled, for the old Blueprint; empty when none was given.
final
oldPresent → Map<String, int>
Like block, for the old Blueprint; empty when none was given.
final
referenceExpansions → Map<String, int>
The number of each row's empty sections that are reference expansions (R).
final
rows → List<String>
The row ids, in the order of the row table.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
totalEligible → int
The sum of eligible over all rows.
no setter
unfilled → List<UnfilledSection>
Every empty model section, sorted by row, id path, field path, kind and state.
final
variants → Map<String, int>
The number of each row's empty sections that are unused variant arms (V).
final

Methods

eligible(String row) → int
The model sections of row that count towards coverage: all of them less its V and R sections.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render() → String
The report as spec_checks coverage prints it: the counts table, the id-less count and the class table, one line per row plus a total.
renderTsv() → String
The empty sections as tab-separated values.
toString() → String
A string representation of this object.
inherited
total(Map<String, int> m) → int
The sum of m's counts over all rows.

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

classOrder → const List<String>
The class columns of the class table, in print order.