Contains coverage information for a declaration. Depending on the reporter and language, this may be types such as functions, methods, or namespaces.
Constructor
new(name:String, executed:EitherType<Int, Bool>, location:EitherType<Position, Range>)
Parameters:
executed | 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. |
---|---|
location | The declaration position. |
Variables
executed:EitherType<Int, Bool>
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.