|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.groboutils.codecoverage.v2.module.CallPairMeasure
Processes methods for call pair coverage analysis, where each function call instruction are marked. Currently, this does not support localization.
This is more accurately called "Object Code Branch Coverage", since true branch coverage requires the originating source code to correctly discover the branches.
This measure can be superior to line coverage due to the Java construct of the ?: operation. This hides a branch inside a single statement. Also, some developers may put an if statement and its one-line branch all on the same line, which will hide the branch that was took.
IAnalysisMetaData
Constructor Summary | |
CallPairMeasure()
|
Method Summary | |
void |
analyze(IMethodCode method)
Perform the analysis on the method. |
java.lang.String |
getMeasureName()
Returns the human-readable name of the measure. |
java.lang.String |
getMeasureUnit()
Returns the unit name for this particular coverage measure. |
java.lang.String |
getMimeEncoding()
Returns the text format used in meta-data formatted text. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CallPairMeasure()
Method Detail |
public java.lang.String getMeasureName()
getMeasureName
in interface IAnalysisModule
public java.lang.String getMeasureUnit()
getMeasureUnit
in interface IAnalysisModule
public java.lang.String getMimeEncoding()
getMimeEncoding
in interface IAnalysisModule
public void analyze(IMethodCode method)
analyze
in interface IAnalysisModule
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |