Contains coverage metadata for a file.
Contains coverage metadata for a file.
(branch-coverage file-coverage)
Branch coverage information.
Returns: TestCoverageCount | undefined
Branch coverage information. **Returns:** `TestCoverageCount | undefined`
(declaration-coverage file-coverage)
Declaration coverage information. Depending on the reporter and language, this may be types such as functions, methods, or namespaces.
Returns: TestCoverageCount | undefined
Declaration coverage information. Depending on the reporter and language, this may be types such as functions, methods, or namespaces. **Returns:** `TestCoverageCount | undefined`
(from-details uri details)
Creates a {@link FileCoverage } instance with counts filled in from the coverage details.
Parameters:
uri
: Uri
- Covered file URIdetails
: readonly FileCoverageDetail[]
Returns: FileCoverage
Creates a {@link FileCoverage } instance with counts filled in from the coverage details. **Parameters:** - `uri`: `Uri` - Covered file URI - `details`: `readonly FileCoverageDetail[]` **Returns:** `FileCoverage`
(set-branch-coverage! file-coverage value)
Branch coverage information.
Branch coverage information.
(set-declaration-coverage! file-coverage value)
Declaration coverage information. Depending on the reporter and language, this may be types such as functions, methods, or namespaces.
Declaration coverage information. Depending on the reporter and language, this may be types such as functions, methods, or namespaces.
(set-statement-coverage! file-coverage value)
Statement coverage information. If the reporter does not provide statement coverage information, this can instead be used to represent line coverage.
Statement coverage information. If the reporter does not provide statement coverage information, this can instead be used to represent line coverage.
(statement-coverage file-coverage)
Statement coverage information. If the reporter does not provide statement coverage information, this can instead be used to represent line coverage.
Returns: TestCoverageCount
Statement coverage information. If the reporter does not provide statement coverage information, this can instead be used to represent line coverage. **Returns:** `TestCoverageCount`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close