|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.lindenbaum.maven.cover.FunctionCoverData
public final class FunctionCoverData
Represents the test coverage information for some function.
Constructor Summary | |
---|---|
FunctionCoverData(String functionName)
Constructor from a function name. |
|
FunctionCoverData(String functionName,
CoverUnit totalCoverData)
Constructor from a function name and a total cover unit. |
Method Summary | |
---|---|
Map<Integer,CoverUnit> |
getClauseCoverData()
Get the clause cover data. |
int |
getCoveredLines()
|
String |
getFunctionName()
|
int |
getNotCoveredLines()
|
int |
getNumberOfClauses()
|
CoverUnit |
getTotalCoverData()
Get the total cover data, computing it if required. |
boolean |
isCovered()
|
void |
putClauseData(Integer inClauseIndex,
CoverUnit inData)
Append clause data. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FunctionCoverData(String functionName, CoverUnit totalCoverData)
functionName
- function identifier (name/arity).totalCoverData
- coverage data for the whole function.public FunctionCoverData(String functionName)
functionName
- function identifier (name/arity).Method Detail |
---|
public String getFunctionName()
public void putClauseData(Integer inClauseIndex, CoverUnit inData)
inClauseIndex
- index of the clause.inData
- coverage data for the clause.public CoverUnit getTotalCoverData()
public Map<Integer,CoverUnit> getClauseCoverData()
public int getNumberOfClauses()
public int getCoveredLines()
public int getNotCoveredLines()
public boolean isCovered()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |