Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 54 | ****** |
McCabe's Cyclomatic Number | MVG | 8 | ****** |
Lines of Comment | COM | 29 | ******** |
LOC/COM | L_C | 1.862 | |
MVG/COM | M_C | 0.276 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 5 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 4 | |
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/mutation.h:37 |
9 | 0 | 10 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Mutation( IMutation *, double ) definition common/mutation.cc:30 declaration common/mutation.h:46 | 10 | 2 | 7 | ------ | ------ |
apply( tChromosomeReal & ) definition common/mutation.cc:42 declaration common/mutation.h:65 | 19 | 5 | 5 | ------ | 1.000 |
setDomain( DomainRealPtr ) definition common/mutation.cc:72 declaration common/mutation.h:57 | 5 | 0 | 0 | ------ | ------ |
setRandom( Random * ) definition common/mutation.cc:67 declaration common/mutation.h:56 | 5 | 0 | 7 | ------ | ------ |
~Mutation( void ) definition common/mutation.cc:129 declaration common/mutation.h:59 | 6 | 1 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
DomainRealPtr [CV] pass by value common/mutation.cc:72 pass by value common/mutation.h:57 has by value common/mutation.h:69 IMutation [V] pass by reference common/mutation.cc:30 pass by reference common/mutation.h:46 has by reference common/mutation.h:68 Random [V] pass by reference common/mutation.cc:67 pass by reference common/mutation.h:56 has by reference common/mutation.h:72 tChromosomeReal [V] pass by reference common/mutation.cc:42 pass by reference common/mutation.h:65 |