Detailed report on module TerrainPageSurfaceLayer

MetricTagOverallPer Function
Lines of CodeLOC 113******
McCabe's Cyclomatic NumberMVG 21******
Lines of CommentCOM 12********
LOC/COML_C 9.417 
MVG/COMM_C 1.750 
Weighted Methods per Class (  weighting = unity )WMC1 18 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 10 
Information Flow measure (  inclusive )IF4 625********
Information Flow measure (  visible )IF4v 625********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/terrain/TerrainPageSurface.h:41
1 0 0------------
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:35
1 0 0------------
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompiler.h:31
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
TerrainPageSurfaceLayer(  TerrainPageSurface &,  int,  Shader * )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:37

4 0 0------------
fillAlphaLayer(  char *,  char *,  int,  int,  int,  short )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:70

19 2 2------------
getCoverageTextureName(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:162

4 1 0------------
getDiffuseTextureName(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:167

4 1 0------------
getNormalTextureName(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:183

4 1 0------------
getPixelWidth(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:97

4 1 0------------
getScale(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:102

4 1 0------------
getShader(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:192

4 1 0------------
getSpecularTextureName(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:175

4 1 0------------
getSurfaceForSegment(  Segment * )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:153

8 3 0------------
getSurfaceIndex(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:196

4 1 0------------
intersects(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:59

9 4 1------------
setDiffuseTextureName(  const string & )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:171

4 0 0------------
setNormalTextureName(  const string & )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:187

4 0 0------------
setScale(  float )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:107

4 0 0------------
setSpecularTextureName(  const string & )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:179

4 0 0------------
updateCoverageImage(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:114

19 4 9------------
~TerrainPageSurfaceLayer(   )
definition   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:55

3 0 0------------

Relationships

ClientsSuppliers
TerrainPageSurfaceCompilerShaderNormalMappedPass [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:160
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:424


TerrainPageSurfaceCompilerShaderPass [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:76
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:77
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:80
has by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:107
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:213
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:239
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:325


TerrainPageSurfaceCompilerShaderPassCoverageBatch [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:47
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:48


TerrainPageSurfaceCompilerTechniqueShader [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:131
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:132


TerrainPageSurfaceCompilerTechniqueSimple [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueSimple.cpp:138
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueSimple.h:48


 
Segment [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:153


Shader [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:37


TerrainPageSurface [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:37


short [CV]
pass by value   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:70


string [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:171
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:179
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceLayer.cpp:187