HitMap class
Contains line and function hit information for a single script.
Constructors
Properties
-
branchHits
↔ Map<
int, int> ? -
Map from branch line, to the hit count for that branch. Null if branch
coverage info was not gathered.
getter/setter pair
-
funcHits
↔ Map<
int, int> ? -
Map from the first line of each function, to the hit count for that
function. Null if function coverage info was not gathered.
getter/setter pair
-
funcNames
↔ Map<
int, String> ? -
Map from the first line of each function, to the function name. Null if
function coverage info was not gathered.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
lineHits
→ Map<
int, int> -
Map from line to hit count for that line.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
parseFiles(
Iterable< File> files, {bool checkIgnoredLines = false, String? packagesPath, String? packagePath}) → Future<Map< String, HitMap> > - Generates a merged hitmap from a set of coverage JSON files.
-
parseJson(
List< Map< jsonResult, {bool checkIgnoredLines = false, String? packagesPath, String? packagePath}) → Future<String, dynamic> >Map< String, HitMap> > - Creates a single hitmap from a raw json object.
-
parseJsonSync(
List< Map< jsonResult, {required bool checkIgnoredLines, required Map<String, dynamic> >String, List< ignoredLinesInFilesCache, required Resolver resolver}) → Map<List< ?>int> >String, HitMap> - Creates a single hitmap from a raw json object.