Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 142 | ****** |
McCabe's Cyclomatic Number | MVG | 31 | ****** |
Lines of Comment | COM | 109 | ******** |
LOC/COM | L_C | 1.303 | |
MVG/COM | M_C | 0.284 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 18 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 16 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 5 | |
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/domain.h:36 |
11 | 0 | 15 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
DomainReal( int ) definition common/domain.cc:28 declaration common/domain.h:45 | 5 | 0 | 7 | ------ | ------ |
canBeChanged( unsigned ) definition common/domain.cc:82 declaration common/domain.h:91 | 9 | 5 | 7 | ------ | 0.714 |
check( const tChromosomeReal & ) definition common/domain.cc:107 declaration common/domain.h:129 | 12 | 5 | 6 | ------ | 0.833 |
checkGen( int ) definition common/domain.cc:34 declaration common/domain.h:174 | 8 | 1 | 3 | ------ | ------ |
clip( int, tReal, bool ) definition common/domain.cc:61 declaration common/domain.h:103 | 17 | 8 | 10 | ------ | 0.800 |
clip( tChromosomeReal & ) definition common/domain.cc:93 declaration common/domain.h:121 | 10 | 3 | 5 | ------ | ------ |
getDimension( void ) definition common/domain.h:142 | 3 | 1 | 3 | ------ | ------ |
getInit( Random *, tChromosomeReal & ) definition common/domain.cc:151 declaration common/domain.h:137 | 4 | 0 | 6 | ------ | ------ |
getInitRandom( Random *, tChromosomeReal & ) definition common/domain.cc:145 declaration common/domain.h:169 | 6 | 1 | 6 | ------ | ------ |
getSearchDomain( bool *, int ) definition common/domain.cc:166 declaration common/domain.h:72 | 5 | 0 | 4 | ------ | ------ |
getValues( int, tReal *, tReal *, bool ) definition common/domain.cc:43 declaration common/domain.h:82 | 7 | 1 | 8 | ------ | ------ |
isBound( ) definition common/domain.h:158 | 3 | 1 | 0 | ------ | ------ |
setBounds( void ) definition common/domain.h:150 | 3 | 0 | 4 | ------ | ------ |
setDomainCenter( tChromosomeReal, double ) definition common/domain.cc:121 declaration common/domain.h:114 | 17 | 3 | 9 | ------ | ------ |
setNotBounds( void ) definition common/domain.h:154 | 3 | 0 | 0 | ------ | ------ |
setSearchDomain( bool *, int ) definition common/domain.cc:161 declaration common/domain.h:66 | 5 | 0 | 7 | ------ | ------ |
setValues( int, tReal, tReal, bool ) definition common/domain.cc:51 declaration common/domain.h:57 | 8 | 1 | 9 | ------ | ------ |
~DomainReal( void ) definition common/domain.cc:155 declaration common/domain.h:46 | 6 | 1 | 0 | ------ | ------ |