Detailed report on module TerrainLayerDefinitionManager

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

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/terrain/XMLLayerDefinitionSerializer.h:32
1 0 0------------
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:39
7 0 3------------

Functions

Function prototypeLOCMVGCOML_CM_C
TerrainLayerDefinitionManager(   )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:36
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:43

9 0 1------------
addDefinition(  TerrainLayerDefinition * )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:64
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:53

5 0 4------------
createImpl(  const String &,  ResourceHandle,  const String &,  bool,  ManualResourceLoader *,  const NameValuePairList * )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:74
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:63

9 1 0------------
getDefinitionForArea(  int )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:81
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:57

10 4 0------------
getDefinitionForShader(  const string & )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:91
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:58

10 4 0------------
getDefinitions(   )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:69
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:55

5 1 0------------
parseScript(  DataStreamPtr &,  const String & )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:58
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:47

6 0 0------------
~TerrainLayerDefinitionManager(   )
definition   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:49
declaration   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:45

9 1 0------------

Relationships

ClientsSuppliers
XMLLayerDefinitionSerializer [V]
pass by reference   ./components/ogre/terrain/XMLLayerDefinitionSerializer.cpp:37
pass by reference   ./components/ogre/terrain/XMLLayerDefinitionSerializer.h:39
has by reference   ./components/ogre/terrain/XMLLayerDefinitionSerializer.h:46


 
DataStreamPtr [V]
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:58
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:47


DefinitionStore [CV]
has by value   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:61


ManualResourceLoader [V]
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:75
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:64


NameValuePairList [V]
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:76
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:65


ResourceHandle [CV]
pass by value   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:74
pass by value   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:63


ResourceManager [CV]
inheritance   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:39


Singleton [CV]
inheritance   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:39


String [V]
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:58
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:74
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:75
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:47
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:63
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:64


TerrainLayerDefinition [V]
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:64
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:53


bool [CV]
pass by value   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:75
pass by value   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:64


string [V]
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.cpp:91
pass by reference   ./components/ogre/terrain/TerrainLayerDefinitionManager.h:58