Detailed report on module TerrainEditor

MetricTagOverallPer Function
Lines of CodeLOC 277******
McCabe's Cyclomatic NumberMVG 37******
Lines of CommentCOM 144********
LOC/COML_C 1.924 
MVG/COMM_C 0.257 
Weighted Methods per Class (  weighting = unity )WMC1 24 
Weighted Methods per Class (  weighting = visible )WMCv 8 
Depth of Inheritance TreeDIT 1 
Number of ChildrenNOC 0 
Coupling between objectsCBO 14 
Information Flow measure (  inclusive )IF4 169********
Information Flow measure (  visible )IF4v 169********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/terrain/TerrainEditor.h:43
1 0 0------------
definition   ./components/ogre/terrain/TerrainEditor.h:220
17 0 15------------

Functions

Function prototypeLOCMVGCOML_CM_C
TerrainEditor(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:160
declaration   ./components/ogre/terrain/TerrainEditor.h:223

1 0 0------------
catchInput(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:323
declaration   ./components/ogre/terrain/TerrainEditor.h:335

5 0 3------------
commitAction(  const TerrainEditAction &,  bool )
definition   ./components/ogre/terrain/TerrainEditor.cpp:458
declaration   ./components/ogre/terrain/TerrainEditor.h:257

33 6 63 0.524 0.095
createAction(  bool )
definition   ./components/ogre/terrain/TerrainEditor.cpp:337
declaration   ./components/ogre/terrain/TerrainEditor.h:292

19 3 7------------
createOverlay(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:214
declaration   ./components/ogre/terrain/TerrainEditor.h:239

35 3 6 5.833------
getCurrentBasePointUserObject(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:268
declaration   ./components/ogre/terrain/TerrainEditor.h:281

5 1 4------------
getUserObject(  const TerrainPosition & )
definition   ./components/ogre/terrain/TerrainEditor.cpp:256
declaration   ./components/ogre/terrain/TerrainEditor.h:299

11 3 5------------
hideOverlay(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:200
declaration   ./components/ogre/terrain/TerrainEditor.h:234

8 1 3------------
injectChar(  char )
definition   ./components/ogre/terrain/TerrainEditor.cpp:308
declaration   ./components/ogre/terrain/TerrainEditor.h:320

5 1 0------------
injectKeyDown(  const SDLKey & )
definition   ./components/ogre/terrain/TerrainEditor.cpp:313
declaration   ./components/ogre/terrain/TerrainEditor.h:321

5 1 0------------
injectKeyUp(  const SDLKey & )
definition   ./components/ogre/terrain/TerrainEditor.cpp:318
declaration   ./components/ogre/terrain/TerrainEditor.h:322

5 1 0------------
injectMouseButtonDown(  const MouseButton & )
definition   ./components/ogre/terrain/TerrainEditor.cpp:303
declaration   ./components/ogre/terrain/TerrainEditor.h:319

5 1 0------------
injectMouseButtonUp(  const MouseButton & )
definition   ./components/ogre/terrain/TerrainEditor.cpp:295
declaration   ./components/ogre/terrain/TerrainEditor.h:318

8 2 0------------
injectMouseMove(  const MouseMotion &,  bool & )
definition   ./components/ogre/terrain/TerrainEditor.cpp:283
declaration   ./components/ogre/terrain/TerrainEditor.h:317

9 1 5------------
isOverlayShown(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:208
declaration   ./components/ogre/terrain/TerrainEditor.h:245

5 2 4------------
pickedBasePoint(  BasePointUserObject * )
definition   ./components/ogre/terrain/TerrainEditor.cpp:274
declaration   ./components/ogre/terrain/TerrainEditor.h:247

8 0 0------------
redoAction(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:446
declaration   ./components/ogre/terrain/TerrainEditor.h:311

11 2 4------------
releaseInput(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:328
declaration   ./components/ogre/terrain/TerrainEditor.h:340

6 0 4------------
sendChangesToServer(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:364
declaration   ./components/ogre/terrain/TerrainEditor.h:286

49 5 5 9.800 1.000
showOverlay(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:191
declaration   ./components/ogre/terrain/TerrainEditor.h:230

8 1 3------------
undoLastAction(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:430
declaration   ./components/ogre/terrain/TerrainEditor.h:305

12 3 7------------
updateEntityPosition(  EmberEntity *,  const set & )
declaration   ./components/ogre/terrain/TerrainEditor.h:357

1 0 3------------
updateEntityPositions(  const set & )
declaration   ./components/ogre/terrain/TerrainEditor.h:352

1 0 3------------
~TerrainEditor(   )
definition   ./components/ogre/terrain/TerrainEditor.cpp:187
declaration   ./components/ogre/terrain/TerrainEditor.h:225

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

Relationships

ClientsSuppliers
BasePointPickListener [V]
pass by reference   ./components/ogre/terrain/TerrainEditor.cpp:113
pass by reference   ./components/ogre/terrain/TerrainEditor.h:53
has by reference   ./components/ogre/terrain/TerrainEditor.h:62


 
ActionStore [CV]
has by value   ./components/ogre/terrain/TerrainEditor.h:343
has by value   ./components/ogre/terrain/TerrainEditor.h:344


BasePointPickListener [CV]
has by value   ./components/ogre/terrain/TerrainEditor.h:330


BasePointUserObject [V]
pass by reference   ./components/ogre/terrain/TerrainEditor.cpp:274
pass by reference   ./components/ogre/terrain/TerrainEditor.h:247
has by reference   ./components/ogre/terrain/TerrainEditor.h:341


BasePointUserObjectStore [CV]
has by value   ./components/ogre/terrain/TerrainEditor.h:328


EmberEntity [V]
pass by reference   ./components/ogre/terrain/TerrainEditor.h:357


IInputAdapter [CV]
inheritance   ./components/ogre/terrain/TerrainEditor.h:220


SDLKey [V]
pass by reference   ./components/ogre/terrain/TerrainEditor.cpp:313
pass by reference   ./components/ogre/terrain/TerrainEditor.cpp:318
pass by reference   ./components/ogre/terrain/TerrainEditor.h:321
pass by reference   ./components/ogre/terrain/TerrainEditor.h:322


SceneNode [V]
has by reference   ./components/ogre/terrain/TerrainEditor.h:345


TerrainEditAction [V]
pass by reference   ./components/ogre/terrain/TerrainEditor.cpp:458
pass by reference   ./components/ogre/terrain/TerrainEditor.h:257


TerrainPosition [V]
pass by reference   ./components/ogre/terrain/TerrainEditor.cpp:256
pass by reference   ./components/ogre/terrain/TerrainEditor.h:299


bool [CV]
pass by reference   ./components/ogre/terrain/TerrainEditor.cpp:283
pass by value   ./components/ogre/terrain/TerrainEditor.cpp:337
pass by value   ./components/ogre/terrain/TerrainEditor.cpp:458
pass by value   ./components/ogre/terrain/TerrainEditor.h:257
pass by value   ./components/ogre/terrain/TerrainEditor.h:292
pass by reference   ./components/ogre/terrain/TerrainEditor.h:317
has by value   ./components/ogre/terrain/TerrainEditor.h:347


set [V]
pass by reference   ./components/ogre/terrain/TerrainEditor.h:352
pass by reference   ./components/ogre/terrain/TerrainEditor.h:357


signal [CV]
has by value   ./components/ogre/terrain/TerrainEditor.h:263
has by value   ./components/ogre/terrain/TerrainEditor.h:269
has by value   ./components/ogre/terrain/TerrainEditor.h:274