Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 323 | ****** |
McCabe's Cyclomatic Number | MVG | 55 | ****** |
Lines of Comment | COM | 40 | ******** |
LOC/COM | L_C | 8.075 | |
MVG/COM | M_C | 1.375 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 17 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 13 | |
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/ma2lsia.h:35 |
16 | 0 | 5 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
MA2LSIA( IEAlgorithm *, ILocalSearch * ) definition common/ma2lsia.cc:36 declaration common/ma2lsia.h:42 | 8 | 0 | 5 | ------ | ------ |
calculateFrec( double, double, unsigned, unsigned, double ) definition common/ma2lsia.cc:66 declaration common/ma2lsia.h:90 | 10 | 2 | 11 | ------ | ------ |
hasDiversity( PopulationReal * ) definition common/ma2lsia.cc:222 declaration common/ma2lsia.h:91 | 20 | 8 | 0 | ****** | ****** |
init( void ) definition common/ma2lsia.cc:80 declaration common/ma2lsia.h:74 | 16 | 3 | 0 | ------ | ------ |
realApply( tChromosomeReal &, tFitness & ) definition common/ma2lsia.cc:251 declaration common/ma2lsia.h:73 | 122 | 22 | 9 | 13.556 | 2.444 |
recoverIndividual( unsigned, tGen *, unsigned, tGen *, unsigned ) definition common/ma2lsia.cc:143 declaration common/ma2lsia.h:54 | 13 | 2 | 0 | ------ | ------ |
setDebug( void ) definition common/ma2lsia.cc:44 declaration common/ma2lsia.h:52 | 4 | 0 | 0 | ------ | ------ |
setDif( bool, string, unsigned, tFitness, tFitness ) definition common/ma2lsia.cc:209 declaration common/ma2lsia.h:92 | 11 | 2 | 0 | ------ | ------ |
setEffortRatio( double ) definition common/ma2lsia.cc:29 declaration common/ma2lsia.h:51 | 6 | 1 | 6 | ------ | ------ |
setInitEval( IEval * ) definition common/ma2lsia.cc:246 declaration common/ma2lsia.h:76 | 5 | 0 | 0 | ------ | ------ |
setMaxEval( int ) definition common/ma2lsia.cc:100 declaration common/ma2lsia.h:57 | 6 | 0 | 0 | ------ | ------ |
setRestart( RestartStrategy *, int ) definition common/ma2lsia.cc:106 declaration common/ma2lsia.h:68 | 8 | 1 | 3 | ------ | ------ |
setRunning( Running * ) definition common/ma2lsia.cc:117 declaration common/ma2lsia.h:63 | 6 | 0 | 0 | ------ | ------ |
setSelectImprovementStrategy( SelectImprovementLS * ) definition common/ma2lsia.h:59 | 3 | 0 | 0 | ------ | ------ |
storeIndividual( tIndividualRealPtr, tGen **, unsigned *, tGen **, unsigned * ) definition common/ma2lsia.cc:159 declaration common/ma2lsia.h:55 | 39 | 7 | 0 | ****** | ****** |
updateFrec( double, double ) definition common/ma2lsia.cc:123 declaration common/ma2lsia.h:93 | 15 | 3 | 1 | ------ | ------ |
~MA2LSIA( void ) definition common/ma2lsia.cc:48 declaration common/ma2lsia.h:44 | 15 | 4 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
Hybrid [CV] inheritance common/ma2lsia.h:35 IEAlgorithm [V] pass by reference common/ma2lsia.cc:36 pass by reference common/ma2lsia.h:42 IEval [V] pass by reference common/ma2lsia.cc:246 pass by reference common/ma2lsia.h:76 IEvalInd [V] has by reference common/ma2lsia.h:101 ILocalSearch [V] pass by reference common/ma2lsia.cc:36 pass by reference common/ma2lsia.h:42 LSParametersMemory [V] has by reference common/ma2lsia.h:96 PopulationReal pass by reference common/ma2lsia.cc:222 pass by reference common/ma2lsia.h:91 RestartStrategy [V] pass by reference common/ma2lsia.cc:106 pass by reference common/ma2lsia.h:68 has by reference common/ma2lsia.h:104 Running [V] pass by reference common/ma2lsia.cc:117 pass by reference common/ma2lsia.h:63 SelectImprovementLS [V] pass by reference common/ma2lsia.h:59 has by reference common/ma2lsia.h:105 bool [C] pass by value common/ma2lsia.cc:209 pass by value common/ma2lsia.h:92 has by value common/ma2lsia.h:106 string [C] pass by value common/ma2lsia.cc:209 pass by value common/ma2lsia.h:92 tChromosomeReal [V] pass by reference common/ma2lsia.cc:251 pass by reference common/ma2lsia.h:73 tFitness [CV] pass by value common/ma2lsia.cc:209 pass by value common/ma2lsia.cc:209 pass by reference common/ma2lsia.cc:251 pass by reference common/ma2lsia.h:73 pass by value common/ma2lsia.h:92 pass by value common/ma2lsia.h:92 tGen [V] pass by reference common/ma2lsia.cc:143 pass by reference common/ma2lsia.cc:143 pass by reference common/ma2lsia.cc:159 pass by reference common/ma2lsia.cc:159 pass by reference common/ma2lsia.h:54 pass by reference common/ma2lsia.h:54 pass by reference common/ma2lsia.h:55 pass by reference common/ma2lsia.h:55 tIndividualRealPtr [CV] pass by value common/ma2lsia.cc:159 pass by value common/ma2lsia.h:55 unsigned [CV] pass by value common/ma2lsia.cc:66 pass by value common/ma2lsia.cc:66 pass by value common/ma2lsia.cc:143 pass by value common/ma2lsia.cc:143 pass by value common/ma2lsia.cc:143 pass by reference common/ma2lsia.cc:159 pass by reference common/ma2lsia.cc:159 pass by value common/ma2lsia.cc:209 pass by value common/ma2lsia.h:54 pass by value common/ma2lsia.h:54 pass by value common/ma2lsia.h:54 pass by reference common/ma2lsia.h:55 pass by reference common/ma2lsia.h:55 pass by value common/ma2lsia.h:90 pass by value common/ma2lsia.h:90 pass by value common/ma2lsia.h:92 has by value common/ma2lsia.h:97 has by value common/ma2lsia.h:98 has by value common/ma2lsia.h:99 has by value common/ma2lsia.h:100 has by value common/ma2lsia.h:102 |