Detailed report on module Sun

MetricTagOverallPer Function
Lines of CodeLOC 232******
McCabe's Cyclomatic NumberMVG 34******
Lines of CommentCOM 45********
LOC/COML_C 5.156 
MVG/COMM_C 0.756 
Weighted Methods per Class (  weighting = unity )WMC1 18 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 1 
Number of ChildrenNOC 0 
Coupling between objectsCBO 16 
Information Flow measure (  inclusive )IF4 784********
Information Flow measure (  visible )IF4v 784********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
definition   ./components/ogre/environment/Sun.h:42
16 0 12------------
declaration   ./components/ogre/environment/CaelumEnvironment.h:35
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
Sun(  Camera *,  SceneManager * )
declaration   ./components/ogre/environment/Sun.h:47
definition   ./components/ogre/environment/Sun.cpp:35

2 0 0------------
Sun(  SceneManager * )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:8

25 2 3 8.333------
createSunMaterial(   )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:167

25 1 125.000------
destroySunMaterial(   )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:196

8 1 0------------
frameEnded(  const FrameEvent & )
declaration   ./components/ogre/environment/Sun.h:99
definition   ./components/ogre/environment/Sun.cpp:133

6 1 0------------
getSunColour(   )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:163

3 1 0------------
getSunDirection(   )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:124

3 1 0------------
getSunPositionModel(   )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:120

3 1 0------------
notifyCameraChanged(  Camera * )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:62

15 2 2------------
runCommand(  const string &,  const string & )
declaration   ./components/ogre/environment/Sun.h:56
definition   ./components/ogre/environment/Sun.cpp:84

44 15 5 8.800 3.000
setAmbientLight(  const ColourValue & )
declaration   ./components/ogre/environment/Sun.h:96
definition   ./components/ogre/environment/Sun.cpp:157

5 0 4------------
setFarRadius(  float )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:80

9 1 0------------
setSunColour(  ColourValue )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:146

8 0 6------------
setSunColour(  const ColourValue & )
declaration   ./components/ogre/environment/Sun.h:89
definition   ./components/ogre/environment/Sun.cpp:150

7 0 4------------
setSunPosition(  const Vector3 & )
declaration   ./components/ogre/environment/Sun.h:82
definition   ./components/ogre/environment/Sun.cpp:141

8 0 5------------
setSunPositionModel(  SunPositionModel * )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:112

5 1 0------------
update(  const float )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:90

15 3 3------------
~Sun(   )
definition   ./components/ogre/environment/caelum/src/Sun.cpp:39
declaration   ./components/ogre/environment/Sun.h:49
definition   ./components/ogre/environment/Sun.cpp:78

24 4 0******------

Relationships

ClientsSuppliers
CaelumSun [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


SkyDome [V]
pass by reference   ./components/ogre/environment/caelum/src/SkyDome.cpp:198


 
Camera [V]
pass by reference   ./components/ogre/environment/caelum/src/Sun.cpp:62
pass by reference   ./components/ogre/environment/Sun.h:47
pass by reference   ./components/ogre/environment/Sun.cpp:35


ColourValue [CV]
pass by value   ./components/ogre/environment/caelum/src/Sun.cpp:146
pass by reference   ./components/ogre/environment/Sun.h:89
pass by reference   ./components/ogre/environment/Sun.h:96
pass by reference   ./components/ogre/environment/Sun.cpp:150
pass by reference   ./components/ogre/environment/Sun.cpp:157


ConsoleCommandWrapper [CV]
has by value   ./components/ogre/environment/Sun.h:73
has by value   ./components/ogre/environment/Sun.h:74
has by value   ./components/ogre/environment/Sun.h:75


ConsoleObject [CV]
inheritance   ./components/ogre/environment/Sun.h:43


FrameEvent [V]
pass by reference   ./components/ogre/environment/Sun.h:99
pass by reference   ./components/ogre/environment/Sun.cpp:133


FrameListener [CV]
inheritance   ./components/ogre/environment/Sun.h:44


LensFlare [CV]
has by value   ./components/ogre/environment/Sun.h:105


Light [V]
has by reference   ./components/ogre/environment/Sun.h:102


SceneManager [V]
pass by reference   ./components/ogre/environment/caelum/src/Sun.cpp:8
pass by reference   ./components/ogre/environment/Sun.h:47
pass by reference   ./components/ogre/environment/Sun.cpp:35


SceneNode [V]
has by reference   ./components/ogre/environment/Sun.h:104


SunPositionModel [V]
pass by reference   ./components/ogre/environment/caelum/src/Sun.cpp:112


Vector3 [V]
pass by reference   ./components/ogre/environment/Sun.h:82
pass by reference   ./components/ogre/environment/Sun.cpp:141


signal [CV]
has by value   ./components/ogre/environment/Sun.h:61
has by value   ./components/ogre/environment/Sun.h:66
has by value   ./components/ogre/environment/Sun.h:71


string [V]
pass by reference   ./components/ogre/environment/Sun.h:56
pass by reference   ./components/ogre/environment/Sun.h:56
pass by reference   ./components/ogre/environment/Sun.cpp:84
pass by reference   ./components/ogre/environment/Sun.cpp:84