Contains coverage information for a declaration. Depending on the reporter and language, this may be types such as functions, methods, or namespaces.
Contains coverage information for a declaration. Depending on the reporter and language, this may be types such as functions, methods, or namespaces.
(executed? declaration-coverage)
The number of times this declaration was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the declaration will be marked as un-covered.
Returns: number | boolean
The number of times this declaration was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the declaration will be marked as un-covered. **Returns:** `number | boolean`
(location declaration-coverage)
Declaration location.
Returns: Range | Position
Declaration location. **Returns:** `Range | Position`
(name declaration-coverage)
Name of the declaration.
Returns: string
Name of the declaration. **Returns:** `string`
(set-executed! declaration-coverage value)
The number of times this declaration was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the declaration will be marked as un-covered.
The number of times this declaration was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the declaration will be marked as un-covered.
(set-location! declaration-coverage value)
Declaration location.
Declaration location.
(set-name! declaration-coverage value)
Name of the declaration.
Name of the declaration.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close