Contains coverage information for a branch of a {@link StatementCoverage }.
Contains coverage information for a branch of a {@link StatementCoverage }.
(executed? branch-coverage)The number of times this branch was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the branch will be marked as un-covered.
Returns: number | boolean
The number of times this branch was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the branch will be marked as un-covered. **Returns:** `number | boolean`
(label branch-coverage)Label for the branch, used in the context of "the ${label} branch was not taken," for example.
Returns: string | undefined
Label for the branch, used in the context of "the ${label} branch was
not taken," for example.
**Returns:** `string | undefined`(location branch-coverage)Branch location.
Returns: Range | Position | undefined
Branch location. **Returns:** `Range | Position | undefined`
(set-executed! branch-coverage value)The number of times this branch was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the branch will be marked as un-covered.
The number of times this branch was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the branch will be marked as un-covered.
(set-label! branch-coverage value)Label for the branch, used in the context of "the ${label} branch was not taken," for example.
Label for the branch, used in the context of "the ${label} branch was
not taken," for example.(set-location! branch-coverage value)Branch location.
Branch location.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |