Theia API Documentation v1.65.0
    Preparing search index...

    Contains coverage information for a branch of a StatementCoverage.

    Implemented by

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • executed: 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.

      • Optionallocation: Position | Range

        The branch position.

      • Optionallabel: string

      Returns BranchCoverage

    Properties

    executed: 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.

    label?: string

    Label for the branch, used in the context of "the ${label} branch was not taken," for example.

    location?: Position | Range

    Branch location.