Construct a BranchDetail
The line number associated with the detailed data
The block number assigned to the branch
Execution Count
The execution count of this Detail
Line Number
The line number that this Detail is associated with
Block Number
The block number assigned to this BranchDetail
Branches
the branch map containing execution counts for specific branch paths
Execution Count
the number of times this Detail's line was executed
Line Number
the line number associated with this Detail
Add Branch Execution Data
Adds an execution count for a specific branching path. If the branching path already exists, the execution count is appended to the existing value. Otherwise, a new entry is saved with the given execution count.
The execution count is appended to the total execution count of this BranchDetail as well.
A 0-indexed identifier of the branch path
The execution count to add
Get the execution count of a specific branch path
If the given branch number was not previously tracked, 0 will be returned.
A 0-indexed identifier of the branch path
Generated using TypeDoc
Branch Coverage Detail Data
An extension of {@link Detail | Detail} to hold detailed coverage data for branch statements.