coveragePercent property

double get coveragePercent

Coverage percentage (matched / total in code).

Implementation

double get coveragePercent =>
    totalKeysInCode > 0 ? (matchedCount / totalKeysInCode) * 100 : 100.0;