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:58 definition ./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:55 definition ./components/ogre/environment/Sky.cpp:54 | 6 | 0 | 0 | ------ | ------ |
setFogValues( float, float, ColourValue ) declaration ./components/ogre/environment/Sky.h:57 definition ./components/ogre/environment/Sky.cpp:104 | 28 | 4 | 5 | 5.600 | ------ |
updateFogValuesFromConfig( ) declaration ./components/ogre/environment/Sky.h:52 definition ./components/ogre/environment/Sky.cpp:66 | 26 | 6 | 2 | 13.000 | 3.000 |
~Sky( ) declaration ./components/ogre/environment/Sky.h:51 definition ./components/ogre/environment/Sky.cpp:62 | 4 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
Camera [V] pass by reference ./components/ogre/environment/Sky.h:55 pass by reference ./components/ogre/environment/Sky.cpp:44 pass by reference ./components/ogre/environment/Sky.cpp:54 ColourValue [CV] pass by value ./components/ogre/environment/Sky.h:57 pass by value ./components/ogre/environment/Sky.cpp:104 SceneManager [V] pass by reference ./components/ogre/environment/Sky.h:55 pass by reference ./components/ogre/environment/Sky.cpp:44 pass by reference ./components/ogre/environment/Sky.cpp:54 string [V] pass by reference ./components/ogre/environment/Sky.h:58 pass by reference ./components/ogre/environment/Sky.h:58 pass by reference ./components/ogre/environment/Sky.cpp:95 pass by reference ./components/ogre/environment/Sky.cpp:95 trackable [CV] inheritance ./components/ogre/environment/Sky.h:46 |