| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 85 | ****** |
| McCabe's Cyclomatic Number | MVG | 14 | ****** |
| Lines of Comment | COM | 10 | ******** |
| LOC/COM | L_C | 8.500 | |
| MVG/COM | M_C | 1.400 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 7 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 3 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 5 | |
| Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
| Information Flow measure ( visible ) | IF4v | 0 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./components/ogre/environment/Sky.h:46 |
5 | 0 | 3 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| ConfigService_EventChangedConfigItem( const string &, const string & ) declaration ./components/ogre/environment/Sky.h:58definition ./components/ogre/environment/Sky.cpp:95 | 9 | 4 | 0 | ------ | ------ |
| Sky( ... ) declaration ./components/ogre/environment/Sky.h:49 | 1 | 0 | 0 | ------ | ------ |
| Sky( Camera *, SceneManager * ) definition ./components/ogre/environment/Sky.cpp:44 | 6 | 0 | 0 | ------ | ------ |
| createSimpleSky( Camera *, SceneManager * ) declaration ./components/ogre/environment/Sky.h:55definition ./components/ogre/environment/Sky.cpp:54 | 6 | 0 | 0 | ------ | ------ |
| setFogValues( float, float, ColourValue ) declaration ./components/ogre/environment/Sky.h:57definition ./components/ogre/environment/Sky.cpp:104 | 28 | 4 | 5 | 5.600 | ------ |
| updateFogValuesFromConfig( ) declaration ./components/ogre/environment/Sky.h:52definition ./components/ogre/environment/Sky.cpp:66 | 26 | 6 | 2 | 13.000 | 3.000 |
| ~Sky( ) declaration ./components/ogre/environment/Sky.h:51definition ./components/ogre/environment/Sky.cpp:62 | 4 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Camera [V] pass by reference ./components/ogre/environment/Sky.h:55pass by reference ./components/ogre/environment/Sky.cpp:44pass by reference ./components/ogre/environment/Sky.cpp:54ColourValue [CV] pass by value ./components/ogre/environment/Sky.h:57pass by value ./components/ogre/environment/Sky.cpp:104SceneManager [V] pass by reference ./components/ogre/environment/Sky.h:55pass by reference ./components/ogre/environment/Sky.cpp:44pass by reference ./components/ogre/environment/Sky.cpp:54string [V] pass by reference ./components/ogre/environment/Sky.h:58pass by reference ./components/ogre/environment/Sky.h:58pass by reference ./components/ogre/environment/Sky.cpp:95pass by reference ./components/ogre/environment/Sky.cpp:95trackable [CV] inheritance ./components/ogre/environment/Sky.h:46 |