|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.core.internal.analysis.LineImpl
public abstract class LineImpl
Implementation of ILine.
| Field Summary | |
|---|---|
protected CounterImpl |
branches
branch counter |
static LineImpl |
EMPTY
Empty line without instructions or branches. |
protected CounterImpl |
instructions
instruction counter |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
ICounter |
getBranchCounter()
Returns the branches counter for this line. |
ICounter |
getInstructionCounter()
Returns the instruction counter for this line. |
int |
getStatus()
Returns the coverage status of this line, calculated from the instructions counter and branch counter. |
int |
hashCode()
|
abstract LineImpl |
increment(ICounter instructions,
ICounter branches)
Adds the given counters to this line. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final LineImpl EMPTY
protected CounterImpl instructions
protected CounterImpl branches
| Method Detail |
|---|
public abstract LineImpl increment(ICounter instructions,
ICounter branches)
instructions - instructions to addbranches - branches to add
public int getStatus()
ILine
getStatus in interface ILineICounter.EMPTY,
ICounter.NOT_COVERED,
ICounter.PARTLY_COVERED,
ICounter.FULLY_COVEREDpublic ICounter getInstructionCounter()
ILine
getInstructionCounter in interface ILinepublic ICounter getBranchCounter()
ILine
getBranchCounter in interface ILinepublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||