Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 101 | ****** |
McCabe's Cyclomatic Number | MVG | 10 | ****** |
Lines of Comment | COM | 35 | ******** |
LOC/COM | L_C | 2.886 | |
MVG/COM | M_C | 0.286 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 8 | |
Information Flow measure ( inclusive ) | IF4 | 49 | ******** |
Information Flow measure ( visible ) | IF4v | 49 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/environment/CaelumEnvironment.h:44 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/environment/Water.h:40 |
10 | 0 | 3 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Water( Camera *, SceneManager * ) definition ./components/ogre/environment/Water.cpp:130 declaration ./components/ogre/environment/Water.h:45 | 45 | 8 | 12 | 3.750 | 0.667 |
createFresnelWater( Camera *, SceneManager * ) definition ./components/ogre/environment/Water.cpp:197 declaration ./components/ogre/environment/Water.h:57 | 31 | 2 | 5 | 6.200 | ------ |
createSimpleWater( Camera *, SceneManager * ) definition ./components/ogre/environment/Water.cpp:240 declaration ./components/ogre/environment/Water.h:58 | 10 | 0 | 15 | ------ | ------ |
~Water( ) definition ./components/ogre/environment/Water.cpp:269 declaration ./components/ogre/environment/Water.h:47 | 4 | 0 | 0 | ------ | ------ |