LcovFormatter class

Converts the given hitmap to lcov format and appends the result to env.output.

Returns a Future that completes as soon as all map entries have been emitted.

Implemented types
Annotations
  • @Deprecated('Migrate to FileHitMapsFormatter.formatLcov')

Constructors

LcovFormatter(Resolver resolver, {List<String>? reportOn, String? basePath})
Creates a LCOV formatter.

Properties

basePath String?
final
hashCode int
The hash code for this object.
no setterinherited
reportOn List<String>?
final
resolver Resolver
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

format(Map<String, Map<int, int>> hitmap) Future<String>
Returns the formatted coverage data.
override
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