public class BranchCoverage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
branchNumber
The unique branch number for the line.
|
int |
hit
The number of code executions of this branch.
|
| Constructor and Description |
|---|
BranchCoverage() |
public int branchNumber
The branch number is not directly related to the source code, and it is impossible to reliably understand which expression this branch refers to.
public int hit
The accuracy of the value is not guaranteed, it is recommended to use this field in this form (hit != 0).