public class MethodCoverage
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int |
hit
The number of code executions of the first instruction of this method.
|
java.util.List<LineCoverage> |
lines
Coverage for each line of source code for this method.
|
java.lang.String |
signature
JVM signature of the method.
|
| Constructor and Description |
|---|
MethodCoverage() |
public java.lang.String signature
example: convert(I)Ljava.lang.String
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<LineCoverage> lines
Ordered by line number in ascending order.