Class LineImpl
java.lang.Object
org.jacoco.core.internal.analysis.LineImpl
- All Implemented Interfaces:
ILine
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected CounterImplbranch counterstatic final LineImplEmpty line without instructions or branches.protected CounterImplinstruction counter -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the branches counter for this line.Returns the instruction counter for this line.intReturns the coverage status of this line, calculated from the instructions counter and branch counter.inthashCode()abstract LineImplAdds the given counters to this line.
-
Field Details
-
EMPTY
Empty line without instructions or branches. -
instructions
instruction counter -
branches
branch counter
-
-
Method Details
-
increment
-
getStatus
-
getInstructionCounter
Description copied from interface:ILineReturns the instruction counter for this line.- Specified by:
getInstructionCounterin interfaceILine- Returns:
- instruction counter
-
getBranchCounter
Description copied from interface:ILineReturns the branches counter for this line.- Specified by:
getBranchCounterin interfaceILine- Returns:
- branches counter
-
hashCode
-
equals
-