Detailed report on module TerrainPageSurface

MetricTagOverallPer Function
Lines of CodeLOC 107******
McCabe's Cyclomatic NumberMVG 15******
Lines of CommentCOM 20********
LOC/COML_C 5.350 
MVG/COMM_C 0.750 
Weighted Methods per Class (  weighting = unity )WMC1 13 
Weighted Methods per Class (  weighting = visible )WMCv 1 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 7 
Information Flow measure (  inclusive )IF4 36********
Information Flow measure (  visible )IF4v 36********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
definition   ./components/ogre/terrain/TerrainPageSurface.h:48
10 0 3------------

Functions

Function prototypeLOCMVGCOML_CM_C
TerrainPageSurface(  TerrainPage & )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:35
declaration   ./components/ogre/terrain/TerrainPageSurface.h:51

9 0 3------------
createSurfaceLayer(  int,  Shader * )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:108
declaration   ./components/ogre/terrain/TerrainPageSurface.h:71

7 1 0------------
getLayers(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:55
declaration   ./components/ogre/terrain/TerrainPageSurface.h:79

5 1 0------------
getMaterial(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:91
declaration   ./components/ogre/terrain/TerrainPageSurface.h:73

5 1 0------------
getNumberOfSegmentsPerAxis(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:81
declaration   ./components/ogre/terrain/TerrainPageSurface.h:69

5 1 4------------
getPixelWidth(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:86
declaration   ./components/ogre/terrain/TerrainPageSurface.h:55

5 1 0------------
getValidSegments(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:75
declaration   ./components/ogre/terrain/TerrainPageSurface.h:63

5 1 0------------
getWFPosition(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:69
declaration   ./components/ogre/terrain/TerrainPageSurface.h:61

5 1 4------------
recompileMaterial(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:96
declaration   ./components/ogre/terrain/TerrainPageSurface.h:75

7 0 0------------
setShadow(  TerrainPageShadow * )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:103
declaration   ./components/ogre/terrain/TerrainPageSurface.h:77

5 0 0------------
updateLayer(  int )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:60
declaration   ./components/ogre/terrain/TerrainPageSurface.h:81

8 1 0------------
updateSceneManagersAfterMaterialsChange(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:115
declaration   ./components/ogre/terrain/TerrainPageSurface.h:85

27 7 6 4.500 1.167
~TerrainPageSurface(   )
definition   ./components/ogre/terrain/TerrainPageSurface.cpp:51
declaration   ./components/ogre/terrain/TerrainPageSurface.h:53

4 0 0------------

Relationships

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


 
MaterialPtr [CV]
has by value   ./components/ogre/terrain/TerrainPageSurface.h:87


Shader [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurface.cpp:108
pass by reference   ./components/ogre/terrain/TerrainPageSurface.h:71


TerrainPage [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurface.cpp:35
pass by reference   ./components/ogre/terrain/TerrainPageSurface.h:51
has by reference   ./components/ogre/terrain/TerrainPageSurface.h:88


TerrainPageShadow [V]
pass by reference   ./components/ogre/terrain/TerrainPageSurface.cpp:103
pass by reference   ./components/ogre/terrain/TerrainPageSurface.h:77
has by reference   ./components/ogre/terrain/TerrainPageSurface.h:91


TerrainPageSurfaceLayerStore [CV]
has by value   ./components/ogre/terrain/TerrainPageSurface.h:89


auto_ptr [CV]
has by value   ./components/ogre/terrain/TerrainPageSurface.h:90