Package org.jacoco.core.analysis
Interface ILine
-
- All Known Implementing Classes:
LineImpl
public interface ILineThe instruction and branch coverage of a single source line is described by this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ICountergetBranchCounter()Returns the branches counter for this line.ICountergetInstructionCounter()Returns the instruction counter for this line.intgetStatus()Returns the coverage status of this line, calculated from the instructions counter and branch counter.
-
-
-
Method Detail
-
getInstructionCounter
ICounter getInstructionCounter()
Returns the instruction counter for this line.- Returns:
- instruction counter
-
getBranchCounter
ICounter getBranchCounter()
Returns the branches counter for this line.- Returns:
- branches counter
-
getStatus
int getStatus()
Returns the coverage status of this line, calculated from the instructions counter and branch counter.- Returns:
- status of this line
- See Also:
ICounter.EMPTY,ICounter.NOT_COVERED,ICounter.PARTLY_COVERED,ICounter.FULLY_COVERED
-
-