Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 48 | ****** |
McCabe's Cyclomatic Number | MVG | 6 | ****** |
Lines of Comment | COM | 51 | ******** |
LOC/COM | L_C | 0.941 | |
MVG/COM | M_C | 0.118 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 7 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 7 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 14 | |
Information Flow measure ( inclusive ) | IF4 | 576 | ******** |
Information Flow measure ( visible ) | IF4v | 576 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
common/random.h:48 |
5 | 0 | 9 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Random( IRealRandom * ) definition common/random.cc:27 declaration common/random.h:55 | 5 | 0 | 5 | ------ | ------ |
getSample( int *, int * ) definition common/random.cc:61 declaration common/random.h:114 | 12 | 1 | 8 | ------ | ------ |
normal( double ) definition common/random.cc:39 declaration common/random.h:104 | 11 | 2 | 7 | ------ | ------ |
rand( void ) definition common/random.h:64 | 3 | 1 | 3 | ------ | ------ |
randint( unsigned, unsigned ) definition common/random.h:77 | 5 | 1 | 8 | ------ | ------ |
randreal( double, double ) definition common/random.h:92 | 3 | 1 | 8 | ------ | ------ |
~Random( void ) definition common/random.cc:32 declaration common/random.h:59 | 4 | 0 | 3 | ------ | ------ |
Clients | Suppliers |
---|---|
ClassEAlgorithm [V] pass by reference common/iea.cc:26 pass by reference common/iea.h:175 pass by reference common/iea.h:177 has by reference common/iea.h:247 DomainReal [V] pass by reference common/domain.cc:145 pass by reference common/domain.cc:151 pass by reference common/domain.h:137 pass by reference common/domain.h:169 ElemDimInit [V] pass by reference common/initind.cc:44 pass by reference common/initind.h:104 ICrossEAlgorithm [V] pass by reference common/iea.cc:126 pass by reference common/iea.h:255 IEAlgorithm [V] pass by reference common/iea.h:86 ILocalSearch [V] pass by reference common/ilocalsearch.h:108 has by reference common/ilocalsearch.h:120 IMutation [V] pass by reference common/imutation.h:56 has by reference common/imutation.h:66 Mutation [V] pass by reference common/mutation.cc:67 pass by reference common/mutation.h:56 has by reference common/mutation.h:72 PopulationReal [V] pass by reference common/populationreal.cc:37 pass by reference common/populationreal.h:52 has by reference common/populationreal.h:230 RatioLocalSearchManager [V] pass by reference common/localsearch.cc:87 pass by reference common/localsearch.h:98 has by reference common/localsearch.h:126 SimpleInitInd [V] pass by reference common/initind.h:58 has by reference common/initind.h:66 UniformInitInd [V] pass by reference common/initind.h:109 has by reference common/initind.h:118 |
IRealRandom [V] pass by reference common/random.cc:27 pass by reference common/random.h:55 has by reference common/random.h:116 unsigned [CV] pass by value common/random.h:77 pass by value common/random.h:77 |