Detailed report on module TerrainShader

MetricTagOverallPer Function
Lines of CodeLOC 59******
McCabe's Cyclomatic NumberMVG 7******
Lines of CommentCOM 188********
LOC/COML_C 0.314 
MVG/COMM_C 0.037 
Weighted Methods per Class (  weighting = unity )WMC1 11 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 9 
Information Flow measure (  inclusive )IF4 196********
Information Flow measure (  visible )IF4v 196********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
definition   ./components/ogre/terrain/TerrainShader.h:33
8 0 3------------

Functions

Function prototypeLOCMVGCOML_CM_C
TerrainShader(  Terrain *,  int,  const TerrainLayerDefinition *,  Shader * )
declaration   ./components/ogre/terrain/TerrainShader.h:36
definition   ./components/ogre/terrain/TerrainShader.cpp:25

9 0 2------------
addMaterialToTechnique(  Technique *,  const String & )
declaration   ./components/ogre/terrain/TerrainShader.h:59
definition   ./components/ogre/terrain/TerrainShader.cpp:177

3 0 53------------
addPassToTechnique(  Technique *,  const String & )
declaration   ./components/ogre/terrain/TerrainShader.h:55
definition   ./components/ogre/terrain/TerrainShader.cpp:132

4 1 44------------
addSplatToTechnique(  Technique *,  const String & )
declaration   ./components/ogre/terrain/TerrainShader.h:60
definition   ./components/ogre/terrain/TerrainShader.cpp:234

3 0 8------------
addTextureUnitsToPass(  Pass *,  const String & )
declaration   ./components/ogre/terrain/TerrainShader.h:47
definition   ./components/ogre/terrain/TerrainShader.cpp:77

3 0 52------------
getLayerDefinition(   )
declaration   ./components/ogre/terrain/TerrainShader.h:73
definition   ./components/ogre/terrain/TerrainShader.cpp:71

5 1 6------------
getMaxTextureUnits(   )
declaration   ./components/ogre/terrain/TerrainShader.h:83
definition   ./components/ogre/terrain/TerrainShader.cpp:56

5 1 1------------
getShader(   )
declaration   ./components/ogre/terrain/TerrainShader.h:40
definition   ./components/ogre/terrain/TerrainShader.cpp:61

5 1 0------------
getSurfaceForSegment(  Segment * )
declaration   ./components/ogre/terrain/TerrainShader.h:68
definition   ./components/ogre/terrain/TerrainShader.cpp:246

9 2 5------------
getTerrainIndex(   )
definition   ./components/ogre/terrain/TerrainShader.h:57

1 1 0------------
~TerrainShader(   )
declaration   ./components/ogre/terrain/TerrainShader.h:38
definition   ./components/ogre/terrain/TerrainShader.cpp:50

4 0 14------------

Relationships

ClientsSuppliers
TerrainGenerator [V]
pass by reference   ./components/ogre/terrain/TerrainGenerator.cpp:250
pass by reference   ./components/ogre/terrain/TerrainGenerator.cpp:709


TerrainPage [V]
pass by reference   ./components/ogre/terrain/TerrainPage.cpp:621
pass by reference   ./components/ogre/terrain/TerrainPage.cpp:1068


 
Pass [V]
pass by reference   ./components/ogre/terrain/TerrainShader.h:47
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:77


Segment [V]
pass by reference   ./components/ogre/terrain/TerrainShader.h:68
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:246


Shader [V]
pass by reference   ./components/ogre/terrain/TerrainShader.h:36
has by reference   ./components/ogre/terrain/TerrainShader.h:78
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:25


String [V]
pass by reference   ./components/ogre/terrain/TerrainShader.h:47
pass by reference   ./components/ogre/terrain/TerrainShader.h:55
pass by reference   ./components/ogre/terrain/TerrainShader.h:59
pass by reference   ./components/ogre/terrain/TerrainShader.h:60
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:77
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:132
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:177
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:234


Technique [V]
pass by reference   ./components/ogre/terrain/TerrainShader.h:55
pass by reference   ./components/ogre/terrain/TerrainShader.h:59
pass by reference   ./components/ogre/terrain/TerrainShader.h:60
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:132
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:177
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:234


Terrain [V]
pass by reference   ./components/ogre/terrain/TerrainShader.h:36
has by reference   ./components/ogre/terrain/TerrainShader.h:79
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:25


TerrainLayerDefinition [V]
pass by reference   ./components/ogre/terrain/TerrainShader.h:36
has by reference   ./components/ogre/terrain/TerrainShader.h:76
pass by reference   ./components/ogre/terrain/TerrainShader.cpp:25