Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 94 | ****** |
McCabe's Cyclomatic Number | MVG | 13 | ****** |
Lines of Comment | COM | 74 | ******** |
LOC/COM | L_C | 1.270 | |
MVG/COM | M_C | 0.176 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 10 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 7 | |
Depth of Inheritance Tree | DIT | 2 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 11 | |
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/ea.h:40 |
13 | 0 | 19 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
EAlgorithm( IEAlgorithm *, ProblemParamPtr ) definition common/ea.cc:29 declaration common/ea.h:47 | 4 | 0 | 5 | ------ | ------ |
apply( tChromosomeReal &, tFitness * ) definition common/ea.cc:111 declaration common/ea.h:81 | 15 | 5 | 14 | ------ | 0.357 |
getRunning( void ) definition common/ea.cc:87 declaration common/ea.h:71 | 4 | 1 | 3 | ------ | ------ |
setDefaultPopsize( void ) definition common/ea.cc:91 declaration common/ea.h:109 | 12 | 1 | 4 | ------ | ------ |
setEval( IEval * ) definition common/ea.cc:41 declaration common/ea.h:103 | 4 | 0 | 5 | ------ | ------ |
setMaxEval( int ) definition common/ea.cc:79 declaration common/ea.h:59 | 4 | 0 | 5 | ------ | ------ |
setPopsize( int ) definition common/ea.cc:83 declaration common/ea.h:66 | 4 | 0 | 5 | ------ | ------ |
setProblem( ProblemParamPtr ) definition common/ea.cc:45 declaration common/ea.h:96 | 18 | 2 | 6 | ------ | ------ |
setShow( Statistics * ) definition common/ea.cc:33 declaration common/ea.h:89 | 7 | 1 | 5 | ------ | ------ |
~EAlgorithm( void ) definition common/ea.cc:67 declaration common/ea.h:52 | 9 | 3 | 3 | ------ | ------ |
Clients | Suppliers |
---|---|
CrossBinaryPtr [CV] has by value common/ea.h:127 IEAlgorithm [V] pass by reference common/ea.cc:29 pass by reference common/ea.h:47 has by reference common/ea.h:123 IEval [V] pass by reference common/ea.cc:41 pass by reference common/ea.h:103 has by reference common/ea.h:125 Problem [V] has by reference common/ea.h:124 ProblemParamPtr [CV] pass by value common/ea.cc:29 pass by value common/ea.cc:45 pass by value common/ea.h:47 pass by value common/ea.h:96 Resetable [CV] inheritance common/ea.h:40 RunningPtr [CV] has by value common/ea.h:129 Statistics [V] pass by reference common/ea.cc:33 pass by reference common/ea.h:89 has by reference common/ea.h:128 tChromosomeReal [V] pass by reference common/ea.cc:111 pass by reference common/ea.h:81 tFitness [V] pass by reference common/ea.cc:111 pass by reference common/ea.h:81 unsigned [CV] has by value common/ea.h:126 |