Detailed report on module TerrainPageSurfaceCompilerShaderPass

MetricTagOverallPer Function
Lines of CodeLOC 156******
McCabe's Cyclomatic NumberMVG 18******
Lines of CommentCOM 28********
LOC/COML_C 5.571 
MVG/COMM_C 0.643 
Weighted Methods per Class (  weighting = unity )WMC1 14 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 1 
Coupling between objectsCBO 10 
Information Flow measure (  inclusive )IF4 441********
Information Flow measure (  visible )IF4v 441********
Information Flow measure (  concrete )IF4c 9********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:37
1 0 0------------
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:69
12 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
TerrainPageSurfaceCompilerShaderPass(  Pass *,  TerrainPage & )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:73
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:196

8 0 1------------
addLayer(  TerrainPageSurfaceLayer * )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:76
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:239

7 0 10------------
addShadowLayer(  TerrainPageShadow * )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:78
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:340

11 0 1------------
assignCombinedCoverageTexture(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:98

1 0 1------------
createNewBatch(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:100
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:232

6 1 0------------
finalize(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:86
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:266

41 5 13 3.154 0.385
getCombinedCoverageTexture(  size_t,  size_t )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:104
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:136

16 2 1------------
getCoveragePixelWidth(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:102
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:353

5 1 0------------
getCurrentBatch(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:99
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:220

12 4 0------------
getLayers(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:88
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:261

5 1 0------------
getPass(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:90
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:130

5 1 0------------
hasRoomForLayer(  TerrainPageSurfaceLayer * )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:80
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:325

12 2 1------------
setBaseLayer(  TerrainPageSurfaceLayer * )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:77
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:213

7 0 0------------
~TerrainPageSurfaceCompilerShaderPass(   )
declaration   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:74
definition   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:205

7 1 0------------

Relationships

ClientsSuppliers
TerrainPageSurfaceCompilerShaderNormalMappedPass [CV]
inheritance   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:151


TerrainPageSurfaceCompilerShaderNormalMappedPassCoverageBatch [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:142
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:380


TerrainPageSurfaceCompilerShaderPassCoverageBatch [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:44
has by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:55
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:34


 
CoverageBatchStore [CV]
has by value   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:105


LayerStore [CV]
has by value   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:106


Pass [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:73
has by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:95
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:196


TerrainPage [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:73
has by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:108
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:196


TerrainPageShadow [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:78
pass by reference   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:340


TerrainPageSurfaceLayer [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


size_t [CV]
pass by value   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:104
pass by value   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.h:104
pass by value   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:136
pass by value   ./components/ogre/terrain/TerrainPageSurfaceCompilerTechniqueShader.cpp:136