|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsota.Metrics
public class Metrics
Container for all static and coverage metrics.
Field Summary | |
---|---|
float |
bi
Boundary-interior path coverage: bi := 100.0f * nrCoveredBIPaths / nrBIPaths |
float |
c0
Statement coverage: c0 := 100.0f * nrCoveredStatements / nrStatements |
float |
c1
Branch coverage: c1 := 100.0f * nrCoveredBranches / nrBranches |
float |
c2
Condition coverage: c2 := 100.0f * nrAtomEvaluations / (nrAtoms * 2) |
float |
c3
Multiple condition coverage: c3 := 100.f * nrAtomCombinationEvaluations / nrAtomCombinations |
int |
cyclomaticComplexity
The highest cyclomatic complexity of a function. |
int |
essentialComplexity
The highest essential complexity of a function. |
float |
feec
Function-entry-exit coverage: feec := 100.0f * (nrEnteredFunctions + nrReachedExits) / (nrFunctions + nrFunctionExits) |
float |
mbi
Modified boundary-interior path coverage: mbi := 100.0f * nrCoveredModBIPaths / nrModBIPaths |
float |
mcdc
Modified decision/condition coverage: mcdc := 100.0f * nrMcdcPairs / nrAtoms |
float |
mmdc
Minimal multiple condition coverage: mmdc := 100.0f * nrConditionEvaluations / (nrConditions * 2) |
int |
nrAtomCombinationEvaluations
The number of occured combinations of truthvectors for all conditions in a test. |
int |
nrAtomCombinations
The number of possible combinations of truthvectors for all conditions. |
int |
nrAtomEvaluations
The number of evalutations to true and false of all boolean atoms in a test. |
int |
nrAtoms
The number of boolean atoms. |
long |
nrBIPaths
The number of possible paths for the boundary-interior path coverage test. |
int |
nrBranches
The number of all branches. |
int |
nrClasses
The number of classes. |
int |
nrConditionEvaluations
The number of evaulations of boolean atoms and complex conditions in a test. |
int |
nrConditionNodes
The number of conditions (on statement level). |
int |
nrConditions
The number of boolean atoms and complex conditions. |
long |
nrCoveredBIPaths
The number of tested paths for the boundary-interior path coverage test. |
int |
nrCoveredBranches
The number of covered branches in a test. |
long |
nrCoveredModBIPaths
The number of tested paths for the modified boundary-interior path coverage test. |
int |
nrCoveredStatements
The number of covered statements in a test. |
int |
nrEnteredFunctions
The number of function called in a test. |
int |
nrFiles
The number of files. |
int |
nrFunctionExits
The number of function exits. |
int |
nrFunctions
The number of functions. |
int |
nrInnerClasses
The number of inner classes. |
int |
nrLines
The number of lines of code. |
int |
nrMcdcPairs
The number of MCDC pairs in a test. |
long |
nrModBIPaths
The number of possible paths for the modified boundary-interior path coverage test. |
int |
nrReachedExits
The number of function exits reached in a test. |
int |
nrStatements
The number of statements. |
Constructor Summary | |
---|---|
Metrics()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float bi
public float c0
public float c1
public float c2
public float c3
public int cyclomaticComplexity
public int essentialComplexity
public float feec
public float mbi
public float mcdc
public float mmdc
public int nrAtomCombinationEvaluations
public int nrAtomCombinations
public int nrAtomEvaluations
public int nrAtoms
public long nrBIPaths
public int nrBranches
public int nrClasses
public int nrConditionEvaluations
public int nrConditionNodes
public int nrConditions
public long nrCoveredBIPaths
public int nrCoveredBranches
public long nrCoveredModBIPaths
public int nrCoveredStatements
public int nrEnteredFunctions
public int nrFiles
public int nrFunctionExits
public int nrFunctions
public int nrInnerClasses
public int nrLines
public int nrMcdcPairs
public long nrModBIPaths
public int nrReachedExits
public int nrStatements
Constructor Detail |
---|
public Metrics()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |