CodeCoverageReportSummary class

Contains a summary of a code coverage report.

Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc.

Branch coverage determines if your tests cover every possible branch of a control structure, such as an if or case statement.

Constructors

CodeCoverageReportSummary({double? branchCoveragePercentage, int? branchesCovered, int? branchesMissed, double? lineCoveragePercentage, int? linesCovered, int? linesMissed})
CodeCoverageReportSummary.fromJson(Map<String, dynamic> json)
factory

Properties

branchCoveragePercentage double?
The percentage of branches that are covered by your tests.
final
branchesCovered int?
The number of conditional branches that are covered by your tests.
final
branchesMissed int?
The number of conditional branches that are not covered by your tests.
final
hashCode int
The hash code for this object.
no setterinherited
lineCoveragePercentage double?
The percentage of lines that are covered by your tests.
final
linesCovered int?
The number of lines that are covered by your tests.
final
linesMissed int?
The number of lines that are not covered by your tests.
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