| 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:38definition ./components/ogre/environment/CaelumSun.cpp:31 | 5 | 0 | 0 | ------ | ------ |
| getSunDirection( ) declaration ./components/ogre/environment/CaelumSun.h:44definition ./components/ogre/environment/CaelumSun.cpp:45 | 5 | 1 | 0 | ------ | ------ |
| setAmbientLight( const ColourValue & ) declaration ./components/ogre/environment/CaelumSun.h:42definition ./components/ogre/environment/CaelumSun.cpp:41 | 4 | 0 | 0 | ------ | ------ |
| ~CaelumSun( ) declaration ./components/ogre/environment/CaelumSun.h:40definition ./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:38pass by reference ./components/ogre/environment/CaelumSun.cpp:31CaelumEnvironmentComponent [C] inheritance ./components/ogre/environment/CaelumSun.h:35ColourValue [V] pass by reference ./components/ogre/environment/CaelumSun.h:42pass by reference ./components/ogre/environment/CaelumSun.cpp:41ISun [CV] inheritance ./components/ogre/environment/CaelumSun.h:35Sun [V] pass by reference ./components/ogre/environment/CaelumSun.h:38has by reference ./components/ogre/environment/CaelumSun.h:48pass by reference ./components/ogre/environment/CaelumSun.cpp:31 |