Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 149 | ****** |
McCabe's Cyclomatic Number | MVG | 32 | ****** |
Lines of Comment | COM | 4 | ******** |
LOC/COM | L_C | 37.250 | |
MVG/COM | M_C | 8.000 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 12 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 7 | |
Information Flow measure ( inclusive ) | IF4 | 100 | ******** |
Information Flow measure ( visible ) | IF4v | 100 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/environment/CaelumEnvironment.h:34 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
SkyDome( SceneManager * ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:15 | 11 | 0 | 0 | ------ | ------ |
createSkyDomeMaterial( ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:233 | 27 | 1 | 2 | 13.500 | ------ |
destroySkyDomeMaterial( ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:297 | 8 | 1 | 0 | ------ | ------ |
getTextureUnitState( ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:219 | 5 | 3 | 0 | ------ | ------ |
notifyCameraChanged( Camera * ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:62 | 9 | 2 | 0 | ------ | ------ |
setAtmosphereHeight( float ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:172 | 11 | 4 | 0 | ------ | ------ |
setFarRadius( float ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:79 | 9 | 1 | 0 | ------ | ------ |
setLightAbsorption( float ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:116 | 19 | 7 | 0 | ------ | ****** |
setLightScattering( float ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:150 | 9 | 3 | 0 | ------ | ------ |
setSunDirection( Vector3 ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:96 | 13 | 4 | 0 | ------ | ------ |
updateSkyDomeMaterialTime( SkyColourModel *, float, Sun * ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:198 | 18 | 5 | 0 | ------ | ****** |
~SkyDome( ) definition ./components/ogre/environment/caelum/src/SkyDome.cpp:41 | 9 | 1 | 2 | ------ | ------ |
Clients | Suppliers |
---|---|
CaelumEnvironment [V] has by reference ./components/ogre/environment/CaelumEnvironment.h:99 CaelumSky [V] pass by reference ./components/ogre/environment/CaelumSky.cpp:32 pass by reference ./components/ogre/environment/CaelumSky.h:42 has by reference ./components/ogre/environment/CaelumSky.h:61 |
Camera [V] pass by reference ./components/ogre/environment/caelum/src/SkyDome.cpp:62 SceneManager [V] pass by reference ./components/ogre/environment/caelum/src/SkyDome.cpp:15 SkyColourModel [V] pass by reference ./components/ogre/environment/caelum/src/SkyDome.cpp:198 Sun [V] pass by reference ./components/ogre/environment/caelum/src/SkyDome.cpp:198 Vector3 [CV] pass by value ./components/ogre/environment/caelum/src/SkyDome.cpp:96 |