VS Code API
    Preparing search index...

    Class StatementCoverage

    Contains coverage information for a single statement or line.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • executed: number | boolean

        The number of times this statement was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the statement will be marked as un-covered.

      • location: Range | Position

        The statement position.

      • Optionalbranches: BranchCoverage[]

        Coverage from branches of this line. If it's not a conditional, this should be omitted.

      Returns StatementCoverage

    Properties

    branches: BranchCoverage[]

    Coverage from branches of this line or statement. If it's not a conditional, this will be empty.

    executed: number | boolean

    The number of times this statement was executed, or a boolean indicating whether it was executed if the exact count is unknown. If zero or false, the statement will be marked as un-covered.

    location: Range | Position

    Statement location.