Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 343 | ****** |
McCabe's Cyclomatic Number | MVG | 60 | ****** |
Lines of Comment | COM | 47 | ******** |
LOC/COM | L_C | 7.298 | |
MVG/COM | M_C | 1.277 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 19 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 18 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 17 | |
Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
Information Flow measure ( visible ) | IF4v | 0 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
common/ma2lsi.h:35 |
17 | 0 | 5 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
MA2LSI( IEAlgorithm *, ILocalSearch * ) definition common/ma2lsi.cc:37 declaration common/ma2lsi.h:42 | 9 | 0 | 5 | ------ | ------ |
disturb( tChromosomeReal & ) definition common/ma2lsi.cc:256 declaration common/ma2lsi.h:103 | 13 | 2 | 5 | ------ | ------ |
getRunning( ) declaration common/ma2lsi.h:65 | 1 | 0 | 0 | ------ | ------ |
getRunning( void ) definition common/ma2lsi.cc:136 | 3 | 1 | 0 | ------ | ------ |
hasDiversity( PopulationReal * ) definition common/ma2lsi.cc:227 declaration common/ma2lsi.h:90 | 20 | 8 | 3 | 6.667 | 2.667 |
init( void ) definition common/ma2lsi.cc:99 declaration common/ma2lsi.h:76 | 16 | 3 | 0 | ------ | ------ |
realApply( tChromosomeReal &, tFitness & ) definition common/ma2lsi.cc:271 declaration common/ma2lsi.h:75 | 146 | 28 | 9 | 16.222 | 3.111 |
recoverIndividual( unsigned, tGen *, unsigned, tGen *, unsigned ) definition common/ma2lsi.cc:148 declaration common/ma2lsi.h:54 | 13 | 2 | 0 | ------ | ------ |
setDebug( void ) definition common/ma2lsi.cc:52 declaration common/ma2lsi.h:52 | 4 | 0 | 0 | ------ | ------ |
setDif( bool, string, unsigned, tFitness, tFitness ) definition common/ma2lsi.cc:214 declaration common/ma2lsi.h:95 | 8 | 2 | 6 | ------ | ------ |
setDisruptionSize( double ) definition common/ma2lsi.cc:46 declaration common/ma2lsi.h:85 | 5 | 1 | 5 | ------ | ------ |
setEffortRatio( double ) definition common/ma2lsi.cc:30 declaration common/ma2lsi.h:51 | 6 | 1 | 6 | ------ | ------ |
setInitEval( IEval * ) definition common/ma2lsi.cc:251 declaration common/ma2lsi.h:78 | 5 | 0 | 0 | ------ | ------ |
setMaxEval( int ) definition common/ma2lsi.cc:119 declaration common/ma2lsi.h:57 | 6 | 0 | 0 | ------ | ------ |
setRestart( RestartStrategy *, int ) definition common/ma2lsi.cc:125 declaration common/ma2lsi.h:70 | 8 | 1 | 3 | ------ | ------ |
setRunning( Running * ) definition common/ma2lsi.cc:140 declaration common/ma2lsi.h:63 | 6 | 0 | 0 | ------ | ------ |
setSelectImprovementStrategy( SelectImprovementLS * ) definition common/ma2lsi.h:59 | 3 | 0 | 0 | ------ | ------ |
storeIndividual( tIndividualRealPtr, tGen **, unsigned *, tGen **, unsigned * ) definition common/ma2lsi.cc:164 declaration common/ma2lsi.h:55 | 39 | 7 | 0 | ****** | ****** |
~MA2LSI( void ) definition common/ma2lsi.cc:56 declaration common/ma2lsi.h:44 | 15 | 4 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
Hybrid [CV] inheritance common/ma2lsi.h:35 IEAlgorithm [V] pass by reference common/ma2lsi.cc:37 pass by reference common/ma2lsi.h:42 IEval [V] pass by reference common/ma2lsi.cc:251 pass by reference common/ma2lsi.h:78 IEvalInd [V] has by reference common/ma2lsi.h:111 ILocalSearch [V] pass by reference common/ma2lsi.cc:37 pass by reference common/ma2lsi.h:42 LSParametersMemory [V] has by reference common/ma2lsi.h:107 PopulationReal [V] pass by reference common/ma2lsi.cc:227 pass by reference common/ma2lsi.h:90 RestartStrategy [V] pass by reference common/ma2lsi.cc:125 pass by reference common/ma2lsi.h:70 has by reference common/ma2lsi.h:114 Running [V] pass by reference common/ma2lsi.cc:140 pass by reference common/ma2lsi.h:63 SelectImprovementLS [V] pass by reference common/ma2lsi.h:59 has by reference common/ma2lsi.h:115 bool [CV] pass by value common/ma2lsi.cc:214 pass by value common/ma2lsi.h:95 has by value common/ma2lsi.h:116 string [CV] pass by value common/ma2lsi.cc:214 pass by value common/ma2lsi.h:95 tChromosomeReal [V] pass by reference common/ma2lsi.cc:256 pass by reference common/ma2lsi.cc:271 pass by reference common/ma2lsi.h:75 pass by reference common/ma2lsi.h:103 tFitness [CV] pass by value common/ma2lsi.cc:214 pass by value common/ma2lsi.cc:214 pass by reference common/ma2lsi.cc:271 pass by reference common/ma2lsi.h:75 pass by value common/ma2lsi.h:95 pass by value common/ma2lsi.h:95 tGen [V] pass by reference common/ma2lsi.cc:148 pass by reference common/ma2lsi.cc:148 pass by reference common/ma2lsi.cc:164 pass by reference common/ma2lsi.cc:164 pass by reference common/ma2lsi.h:54 pass by reference common/ma2lsi.h:54 pass by reference common/ma2lsi.h:55 pass by reference common/ma2lsi.h:55 tIndividualRealPtr [CV] pass by value common/ma2lsi.cc:164 pass by value common/ma2lsi.h:55 unsigned [CV] pass by value common/ma2lsi.cc:148 pass by value common/ma2lsi.cc:148 pass by value common/ma2lsi.cc:148 pass by reference common/ma2lsi.cc:164 pass by reference common/ma2lsi.cc:164 pass by value common/ma2lsi.cc:214 pass by value common/ma2lsi.h:54 pass by value common/ma2lsi.h:54 pass by value common/ma2lsi.h:54 pass by reference common/ma2lsi.h:55 pass by reference common/ma2lsi.h:55 pass by value common/ma2lsi.h:95 has by value common/ma2lsi.h:108 has by value common/ma2lsi.h:109 has by value common/ma2lsi.h:110 has by value common/ma2lsi.h:112 |