| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 35 | ****** |
| McCabe's Cyclomatic Number | MVG | 2 | ****** |
| Lines of Comment | COM | 7 | ******** |
| LOC/COM | L_C | 5.000 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 9 | |
| Information Flow measure ( inclusive ) | IF4 | 64 | ******** |
| 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:42 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/environment/CaelumSky.h:37 |
10 | 0 | 6 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| CaelumSky( CaelumEnvironment &, SkyColourModel *, SkyDome * ) definition ./components/ogre/environment/CaelumSky.cpp:32declaration ./components/ogre/environment/CaelumSky.h:42 | 5 | 0 | 0 | ------ | ------ |
| frameEnded( const FrameEvent & ) definition ./components/ogre/environment/CaelumSky.cpp:52declaration ./components/ogre/environment/CaelumSky.h:51 | 5 | 1 | 0 | ------ | ------ |
| getDensity( ) definition ./components/ogre/environment/CaelumSky.cpp:46declaration ./components/ogre/environment/CaelumSky.h:48 | 5 | 1 | 1 | ------ | ------ |
| setDensity( float ) definition ./components/ogre/environment/CaelumSky.cpp:42declaration ./components/ogre/environment/CaelumSky.h:47 | 5 | 0 | 0 | ------ | ------ |
| ~CaelumSky( ) definition ./components/ogre/environment/CaelumSky.cpp:38declaration ./components/ogre/environment/CaelumSky.h:44 | 4 | 0 | 0 | ------ | ------ |