Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 365 | ****** |
McCabe's Cyclomatic Number | MVG | 66 | ****** |
Lines of Comment | COM | 146 | ******** |
LOC/COM | L_C | 2.500 | |
MVG/COM | M_C | 0.452 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 30 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 25 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 21 | |
Information Flow measure ( inclusive ) | IF4 | 10816 | ******** |
Information Flow measure ( visible ) | IF4v | 3969 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
common/populationreal.h:44 |
15 | 0 | 16 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
PopulationReal( Random *, int, int ) definition common/populationreal.cc:37 declaration common/populationreal.h:52 | 8 | 0 | 7 | ------ | ------ |
append( tChromosomeReal &, tFitness ) definition common/populationreal.cc:258 declaration common/populationreal.h:98 | 6 | 0 | 0 | ------ | ------ |
append( tIndividualReal * ) definition common/populationreal.cc:264 declaration common/populationreal.h:97 | 8 | 1 | 5 | ------ | ------ |
change( int, const tChromosomeReal &, tFitness ) definition common/populationreal.cc:273 declaration common/populationreal.h:102 | 6 | 0 | 3 | ------ | ------ |
eval( IEvalInd *, unsigned ) definition common/populationreal.cc:380 declaration common/populationreal.h:156 | 14 | 4 | 6 | ------ | ------ |
getBest( void ) definition common/populationreal.cc:279 declaration common/populationreal.h:114 | 30 | 7 | 4 | 7.500 | 1.750 |
getBests( unsigned ) definition common/populationreal.cc:329 declaration common/populationreal.h:136 | 12 | 2 | 7 | ------ | ------ |
getInd( int ) definition common/populationreal.cc:253 declaration common/populationreal.h:82 | 5 | 1 | 4 | ------ | ------ |
getInstance( tChromosomeReal & ) definition common/populationreal.cc:112 declaration common/populationreal.h:171 | 4 | 1 | 3 | ------ | ------ |
getInstance( tChromosomeReal &, tFitness ) definition common/populationreal.cc:116 declaration common/populationreal.h:166 | 4 | 1 | 3 | ------ | ------ |
getMean( void ) definition common/populationreal.cc:441 declaration common/populationreal.h:123 | 11 | 3 | 3 | ------ | ------ |
getMedian( void ) definition common/populationreal.cc:454 declaration common/populationreal.h:119 | 13 | 2 | 3 | ------ | ------ |
getPercentils( double *, unsigned ) definition common/populationreal.cc:470 declaration common/populationreal.h:128 | 16 | 2 | 4 | ------ | ------ |
getWorst( void ) definition common/populationreal.cc:344 declaration common/populationreal.h:141 | 29 | 7 | 3 | 9.667 | 2.333 |
ndim( void ) definition common/populationreal.cc:405 declaration common/populationreal.h:149 | 5 | 1 | 3 | ------ | ------ |
notifyObservers( unsigned ) definition common/populationreal.cc:154 declaration common/populationreal.h:227 | 7 | 1 | 10 | ------ | ------ |
random( void ) definition common/populationreal.cc:232 declaration common/populationreal.h:71 | 16 | 3 | 3 | ------ | ------ |
remove( unsigned, unsigned ) definition common/populationreal.cc:206 declaration common/populationreal.h:200 | 11 | 1 | 6 | ------ | ------ |
removePending( void ) definition common/populationreal.cc:193 declaration common/populationreal.h:204 | 9 | 3 | 5 | ------ | ------ |
removeWorses( void ) definition common/populationreal.cc:219 declaration common/populationreal.h:66 | 11 | 2 | 3 | ------ | ------ |
replace( int, const tIndividualReal * ) declaration common/populationreal.h:90 | 1 | 0 | 6 | ------ | ------ |
replace( unsigned, tIndividualRealPtr ) definition common/populationreal.cc:410 declaration common/populationreal.h:108 | 24 | 6 | 5 | 4.800 | 1.200 |
reset( DomainRealPtr, int ) definition common/populationreal.cc:67 declaration common/populationreal.h:61 | 38 | 7 | 7 | 5.429 | 1.000 |
resetObservers( void ) definition common/populationreal.cc:167 declaration common/populationreal.h:187 | 7 | 1 | 10 | ------ | ------ |
setObserver( PopulationObserver * ) definition common/populationreal.cc:33 declaration common/populationreal.h:161 | 4 | 0 | 3 | ------ | ------ |
size( void ) definition common/populationreal.cc:397 declaration common/populationreal.h:145 | 7 | 3 | 3 | ------ | ------ |
sort( void ) definition common/populationreal.cc:176 declaration common/populationreal.h:76 | 10 | 1 | 3 | ------ | ------ |
thereNull( void ) definition common/populationreal.cc:124 declaration common/populationreal.h:192 | 6 | 2 | 3 | ------ | ------ |
updateObservers( void ) definition common/populationreal.cc:131 declaration common/populationreal.h:180 | 16 | 2 | 5 | ------ | ------ |
~PopulationReal( void ) definition common/populationreal.cc:46 declaration common/populationreal.h:53 | 12 | 2 | 0 | ------ | ------ |