Companion

Parameters

uri

Covered file URI

statementCoverage

Statement coverage information. If the reporter does not provide statement coverage information, this can instead be used to represent line coverage.

branchCoverage

Branch coverage information

declarationCoverage

Declaration coverage information

includesTests

Test cases included in this coverage report, see FileCoverage.includesTests

Online Documentation

Functions

Link copied to clipboard

Creates a FileCoverage instance with counts filled in from the coverage details.