public class LineCoverage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
java.util.List<BranchCoverage> |
branches
If there is a conditional expression and several code branches on one line, the coverage is measured for each of them individually.
|
int |
hit
The number of code executions at least one byte-code instruction of this line.
|
int |
lineNumber
Line number in the source code file.
|
| Constructor and Description |
|---|
LineCoverage() |
public int lineNumber
public int hit
The accuracy of the value is not guaranteed, it is recommended to use this field in this form (hit != 0).
public java.util.List<BranchCoverage> branches
If there is no branching in the line, then this list is empty
Ordered by a branch number in ascending order.