Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 52 | ****** |
McCabe's Cyclomatic Number | MVG | 8 | ****** |
Lines of Comment | COM | 36 | ******** |
LOC/COM | L_C | 1.444 | |
MVG/COM | M_C | 0.222 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 3 | |
Depth of Inheritance Tree | DIT | 2 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 8 | |
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/localsearch.h:83 |
8 | 0 | 8 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
RatioLocalSearchManager( ILocalSearch *, unsigned, double ) definition common/localsearch.cc:73 declaration common/localsearch.h:92 | 7 | 1 | 7 | ------ | ------ |
applyNewSol( ... ) declaration common/localsearch.h:114 | 1 | 0 | 12 | ------ | ------ |
applyNewSol( tChromosomeReal &, tFitness *, ILSParameters * ) definition common/localsearch.cc:35 | 28 | 6 | 1 | 28.000 | 6.000 |
getIntensity( void ) definition common/localsearch.cc:80 declaration common/localsearch.h:123 | 4 | 1 | 4 | ------ | ------ |
setRandom( Random * ) definition common/localsearch.cc:87 declaration common/localsearch.h:98 | 4 | 0 | 4 | ------ | ------ |
Clients | Suppliers |
---|---|
ILSParameters [V] pass by reference common/localsearch.cc:35 ILocalSearch [V] pass by reference common/localsearch.cc:73 pass by reference common/localsearch.h:92 NewIndividualLocalSearchManager [CV] inheritance common/localsearch.h:83 Random [V] pass by reference common/localsearch.cc:87 pass by reference common/localsearch.h:98 has by reference common/localsearch.h:126 bool [C] has by value common/localsearch.h:130 tChromosomeReal [V] pass by reference common/localsearch.cc:35 tFitness [V] pass by reference common/localsearch.cc:35 unsigned [CV] pass by value common/localsearch.cc:73 pass by value common/localsearch.h:92 has by value common/localsearch.h:129 |