Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 25 | ****** |
McCabe's Cyclomatic Number | MVG | 1 | ****** |
Lines of Comment | COM | 3 | ******** |
LOC/COM | L_C | 8.333 | |
MVG/COM | M_C | ------ | |
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 | 6 | |
Information Flow measure ( inclusive ) | IF4 | 25 | ******** |
Information Flow measure ( visible ) | IF4v | 16 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./components/ogre/environment/CaelumSun.h:35 |
6 | 0 | 3 | ------ | ------ |
declaration
./components/ogre/environment/CaelumEnvironment.h:43 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
CaelumSun( CaelumEnvironment &, Sun * ) declaration ./components/ogre/environment/CaelumSun.h:38 definition ./components/ogre/environment/CaelumSun.cpp:31 | 5 | 0 | 0 | ------ | ------ |
getSunDirection( ) declaration ./components/ogre/environment/CaelumSun.h:44 definition ./components/ogre/environment/CaelumSun.cpp:45 | 5 | 1 | 0 | ------ | ------ |
setAmbientLight( const ColourValue & ) declaration ./components/ogre/environment/CaelumSun.h:42 definition ./components/ogre/environment/CaelumSun.cpp:41 | 4 | 0 | 0 | ------ | ------ |
~CaelumSun( ) declaration ./components/ogre/environment/CaelumSun.h:40 definition ./components/ogre/environment/CaelumSun.cpp:37 | 4 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
CaelumEnvironment [V] has by reference ./components/ogre/environment/CaelumEnvironment.h:106 |
CaelumEnvironment [V] pass by reference ./components/ogre/environment/CaelumSun.h:38 pass by reference ./components/ogre/environment/CaelumSun.cpp:31 CaelumEnvironmentComponent [C] inheritance ./components/ogre/environment/CaelumSun.h:35 ColourValue [V] pass by reference ./components/ogre/environment/CaelumSun.h:42 pass by reference ./components/ogre/environment/CaelumSun.cpp:41 ISun [CV] inheritance ./components/ogre/environment/CaelumSun.h:35 Sun [V] pass by reference ./components/ogre/environment/CaelumSun.h:38 has by reference ./components/ogre/environment/CaelumSun.h:48 pass by reference ./components/ogre/environment/CaelumSun.cpp:31 |