Detailed report on module Environment

MetricTagOverallPer Function
Lines of CodeLOC 92******
McCabe's Cyclomatic NumberMVG 12******
Lines of CommentCOM 30********
LOC/COML_C 3.067 
MVG/COMM_C 0.400 
Weighted Methods per Class (  weighting = unity )WMC1 12 
Weighted Methods per Class (  weighting = visible )WMCv 2 
Depth of Inheritance TreeDIT 1 
Number of ChildrenNOC 0 
Coupling between objectsCBO 8 
Information Flow measure (  inclusive )IF4 49********
Information Flow measure (  visible )IF4v 36********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
definition   ./components/ogre/environment/Environment.h:83
11 0 10------------
declaration   ./components/ogre/WorldEmberEntity.h:26
1 0 0------------
declaration   ./components/ogre/terrain/TerrainGenerator.h:58
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
Environment(  IEnvironmentProvider * )
definition   ./components/ogre/environment/Environment.cpp:32
declaration   ./components/ogre/environment/Environment.h:86

2 0 0------------
getFog(   )
declaration   ./components/ogre/environment/Environment.h:103
definition   ./components/ogre/environment/Environment.h:146

5 1 0------------
getForest(   )
declaration   ./components/ogre/environment/Environment.h:105
definition   ./components/ogre/environment/Environment.h:156

5 1 0------------
getSky(   )
declaration   ./components/ogre/environment/Environment.h:102
definition   ./components/ogre/environment/Environment.h:141

5 1 0------------
getSun(   )
declaration   ./components/ogre/environment/Environment.h:101
definition   ./components/ogre/environment/Environment.h:136

5 1 0------------
getWater(   )
declaration   ./components/ogre/environment/Environment.h:104
definition   ./components/ogre/environment/Environment.h:151

5 1 0------------
initialize(   )
definition   ./components/ogre/environment/Environment.cpp:90
declaration   ./components/ogre/environment/Environment.h:111

5 0 0------------
runCommand(  const string &,  const string & )
definition   ./components/ogre/environment/Environment.cpp:48
declaration   ./components/ogre/environment/Environment.h:95

26 7 16 1.625 0.437
setAmbientLight(  const ColourValue & )
definition   ./components/ogre/environment/Environment.cpp:105
declaration   ./components/ogre/environment/Environment.h:117

5 0 4------------
setTime(  int )
definition   ./components/ogre/environment/Environment.cpp:100
declaration   ./components/ogre/environment/Environment.h:109

5 0 0------------
setTime(  int,  int,  int )
definition   ./components/ogre/environment/Environment.cpp:95
declaration   ./components/ogre/environment/Environment.h:108

5 0 0------------
~Environment(   )
definition   ./components/ogre/environment/Environment.cpp:42
declaration   ./components/ogre/environment/Environment.h:88

6 0 0------------

Relationships

ClientsSuppliers
WorldEmberEntity [V]
has by reference   ./components/ogre/WorldEmberEntity.h:86


 
ColourValue [V]
pass by reference   ./components/ogre/environment/Environment.cpp:105
pass by reference   ./components/ogre/environment/Environment.h:117


ConsoleCommandWrapper [CV]
has by value   ./components/ogre/environment/Environment.h:97
has by value   ./components/ogre/environment/Environment.h:98
has by value   ./components/ogre/environment/Environment.h:99


ConsoleObject [CV]
inheritance   ./components/ogre/environment/Environment.h:83


Forest
has by reference   ./components/ogre/environment/Environment.h:128


IEnvironmentProvider [V]
pass by reference   ./components/ogre/environment/Environment.cpp:32
pass by reference   ./components/ogre/environment/Environment.h:86
has by reference   ./components/ogre/environment/Environment.h:127


signal [CV]
has by value   ./components/ogre/environment/Environment.h:123


string [V]
pass by reference   ./components/ogre/environment/Environment.cpp:48
pass by reference   ./components/ogre/environment/Environment.cpp:48
pass by reference   ./components/ogre/environment/Environment.h:95
pass by reference   ./components/ogre/environment/Environment.h:95