Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 113 | ****** |
McCabe's Cyclomatic Number | MVG | 17 | ****** |
Lines of Comment | COM | 82 | ******** |
LOC/COM | L_C | 1.378 | |
MVG/COM | M_C | 0.207 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 22 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 21 | |
Depth of Inheritance Tree | DIT | 2 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 18 | |
Information Flow measure ( inclusive ) | IF4 | 6561 | ******** |
Information Flow measure ( visible ) | IF4v | 6561 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
common/problem.h:68 |
8 | 0 | 10 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Problem( void ) definition common/problem.cc:26 declaration common/problem.h:77 | 3 | 0 | 3 | ------ | ------ |
copy( Problem * ) definition common/problem.cc:128 declaration common/problem.h:177 | 9 | 1 | 0 | ------ | ------ |
eval( const tChromosomeReal & ) definition common/problem.cc:119 declaration common/problem.h:176 | 5 | 1 | 0 | ------ | ------ |
getDimension( void ) definition common/problem.cc:124 declaration common/problem.h:117 | 4 | 1 | 3 | ------ | ------ |
getDomain( void ) definition common/problem.cc:82 declaration common/problem.h:164 | 7 | 2 | 3 | ------ | ------ |
getFinishCriterion( void ) definition common/problem.h:170 | 3 | 1 | 0 | ------ | ------ |
getMaxEval( unsigned ) declaration common/problem.h:174 | 1 | 0 | 0 | ------ | ------ |
getMaxEval( void ) definition common/problem.cc:112 declaration common/problem.h:158 | 4 | 1 | 3 | ------ | ------ |
getOptime( void ) definition common/problem.cc:97 declaration common/problem.h:168 | 7 | 2 | 3 | ------ | ------ |
isBetter( tFitness, tFitness ) definition common/problem.cc:29 declaration common/problem.h:106 | 4 | 1 | 3 | ------ | ------ |
maximize( void ) definition common/problem.cc:41 declaration common/problem.h:102 | 4 | 1 | 3 | ------ | ------ |
minimize( void ) definition common/problem.cc:33 declaration common/problem.h:98 | 7 | 2 | 3 | ------ | ------ |
setDimension( int ) definition common/problem.cc:54 declaration common/problem.h:113 | 4 | 0 | 5 | ------ | ------ |
setDomainValues( int, tGen, tGen, bool ) definition common/problem.cc:58 declaration common/problem.h:127 | 7 | 1 | 8 | ------ | ------ |
setEval( tEval ) definition common/problem.cc:104 declaration common/problem.h:85 | 4 | 0 | 6 | ------ | ------ |
setMaxEval( int ) declaration common/problem.h:153 | 1 | 0 | 5 | ------ | ------ |
setMaxEval( unsigned ) definition common/problem.cc:108 | 3 | 0 | 0 | ------ | ------ |
setMaximize( void ) definition common/problem.cc:45 declaration common/problem.h:94 | 4 | 0 | 3 | ------ | ------ |
setMinimize( void ) definition common/problem.cc:49 declaration common/problem.h:90 | 4 | 0 | 3 | ------ | ------ |
setOptimize( tFitness, double ) definition common/problem.cc:78 declaration common/problem.h:137 | 4 | 0 | 8 | ------ | ------ |
setThreshold( double ) definition common/problem.cc:89 declaration common/problem.h:146 | 7 | 1 | 7 | ------ | ------ |
~Problem( void ) definition common/problem.cc:67 declaration common/problem.h:73 | 9 | 2 | 3 | ------ | ------ |
Clients | Suppliers |
---|---|
ClassEAlgorithm [V] pass by reference common/iea.h:186 has by reference common/iea.h:241 EAlgorithm [V] has by reference common/ea.h:124 ICrossEAlgorithm [V] pass by reference common/iea.cc:138 pass by reference common/iea.h:266 IEAlgorithm [V] pass by reference common/iea.h:90 ILocalSearch [V] pass by reference common/ilocalsearch.h:99 has by reference common/ilocalsearch.h:122 RestartBest [V] pass by reference common/restart.cc:5 pass by reference common/restart.h:47 RestartReduce [V] pass by reference common/restart.cc:14 pass by reference common/restart.h:57 RestartStrategy [V] pass by reference common/restart.h:37 Statistics [V] pass by reference common/statistics.h:42 has by reference common/statistics.h:79 |
DomainRealPtr [CV] has by value common/problem.h:181 IEval [CV] inheritance common/problem.h:68 Resetable [CV] inheritance common/problem.h:68 bool [CV] pass by value common/problem.cc:58 pass by value common/problem.h:127 tChromosomeReal [V] pass by reference common/problem.cc:119 pass by reference common/problem.h:176 tEval [CV] pass by value common/problem.cc:104 pass by value common/problem.h:85 has by value common/problem.h:183 tFitness [CV] pass by value common/problem.cc:29 pass by value common/problem.cc:29 pass by value common/problem.cc:78 pass by value common/problem.h:106 pass by value common/problem.h:106 pass by value common/problem.h:137 tGen [CV] pass by value common/problem.cc:58 pass by value common/problem.cc:58 pass by value common/problem.h:127 pass by value common/problem.h:127 unsigned [CV] pass by value common/problem.cc:108 pass by value common/problem.h:174 has by value common/problem.h:182 |