Detailed report on module EmberEntity

MetricTagOverallPer Function
Lines of CodeLOC 536******
McCabe's Cyclomatic NumberMVG 84******
Lines of CommentCOM 203********
LOC/COML_C 2.640 
MVG/COMM_C 0.414 
Weighted Methods per Class (  weighting = unity )WMC1 53 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 1 
Number of ChildrenNOC 2 
Coupling between objectsCBO 42 
Information Flow measure (  inclusive )IF4193600********
Information Flow measure (  visible )IF4v160000********
Information Flow measure (  concrete )IF4c 144********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/MotionManager.h:28
1 0 0------------
declaration   ./components/ogre/widgets/icons/IconManager.h:36
1 0 0------------
declaration   ./components/ogre/widgets/IngameChatWidget.h:34
1 0 0------------
declaration   ./components/ogre/widgets/EntityIcon.h:38
1 0 0------------
declaration   ./components/ogre/widgets/EntityIconManager.h:30
1 0 0------------
declaration   ./components/ogre/widgets/InventoryWidget.h:43
1 0 0------------
declaration   ./components/ogre/widgets/InspectWidget.h:29
1 0 0------------
declaration   ./components/ogre/AvatarCamera.h:44
1 0 0------------
declaration   ./components/ogre/AvatarEmberEntity.h:36
1 0 0------------
declaration   ./components/ogre/AvatarController.h:37
1 0 0------------
declaration   ./components/ogre/WorldEmberEntity.h:53
1 0 0------------
definition   ./components/ogre/EmberEntity.h:63
31 0 39 0.795------
declaration   ./components/ogre/scripting/bindings/lua/helpers/LuaConnector.h:52
1 0 0------------
declaration   ./components/ogre/EmberEntityFactory.h:49
1 0 0------------
declaration   ./components/ogre/EntityWorldPickListener.h:35
1 0 0------------
declaration   ./components/ogre/EmberEntityUserObject.h:40
1 0 0------------
declaration   ./components/ogre/EmberPhysicalEntity.h:40
1 0 0------------
declaration   ./components/ogre/terrain/TerrainEditor.h:40
1 0 0------------
declaration   ./components/ogre/terrain/TerrainGenerator.h:52
1 0 0------------
declaration   ./components/ogre/terrain/TerrainArea.h:36
1 0 0------------
declaration   ./components/ogre/manipulation/EntityMover.h:32
1 0 0------------
declaration   ./components/ogre/manipulation/EntityMoveManager.h:34
1 0 0------------
declaration   ./components/ogre/manipulation/EntityMoveAdjuster.h:30
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
BboxMaterialName(  ... )
declaration   ./components/ogre/EmberEntity.cpp:102

1 0 0------------
EmberEntity(  const string &,  TypeInfo *,  View *,  SceneManager * )
declaration   ./components/ogre/EmberEntity.h:94
definition   ./components/ogre/EmberEntity.cpp:105

12 0 0------------
MODE_FIXED(  ... )
declaration   ./components/ogre/EmberEntity.cpp:100

1 0 0------------
MODE_FLOATING(  ... )
declaration   ./components/ogre/EmberEntity.cpp:99

1 0 0------------
MODE_RUNNING(  ... )
declaration   ./components/ogre/EmberEntity.cpp:96

1 0 0------------
MODE_STANDING(  ... )
declaration   ./components/ogre/EmberEntity.cpp:95

1 0 0------------
MODE_SWIMMING(  ... )
declaration   ./components/ogre/EmberEntity.cpp:98

1 0 0------------
MODE_WALKING(  ... )
declaration   ./components/ogre/EmberEntity.cpp:97

1 0 0------------
addArea(  TerrainArea * )
declaration   ./components/ogre/EmberEntity.h:283
definition   ./components/ogre/EmberEntity.cpp:503

7 1 1------------
adjustPosition(   )
declaration   ./components/ogre/EmberEntity.h:112
definition   ./components/ogre/EmberEntity.cpp:344

7 1 5------------
adjustPosition(  const Vector3 & )
declaration   ./components/ogre/EmberEntity.h:113
definition   ./components/ogre/EmberEntity.cpp:351

11 2 0------------
adjustPositionForContainedNode(  ... )
declaration   ./components/ogre/EmberEntity.h:104
definition   ./components/ogre/EmberEntity.cpp:379

9 1 7------------
allowVisibilityOfMember(  EmberEntity * )
declaration   ./components/ogre/EmberEntity.h:125
definition   ./components/ogre/EmberEntity.cpp:488

4 1 5------------
attachToPointOnModel(  const string &,  Model * )
definition   ./components/ogre/EmberEntity.h:155

0 0 0------------
checkVisibility(  bool )
declaration   ./components/ogre/EmberEntity.h:319
definition   ./components/ogre/EmberEntity.cpp:306

14 3 3------------
createErisBboxMaterial(   )
declaration   ./components/ogre/EmberEntity.h:304
definition   ./components/ogre/EmberEntity.cpp:605

11 1 3------------
createSceneNode(  SceneManager * )
declaration   ./components/ogre/EmberEntity.h:311
definition   ./components/ogre/EmberEntity.cpp:176

11 1 4------------
detachFromModel(   )
definition   ./components/ogre/EmberEntity.h:160

0 0 0------------
dumpAttributes(  iostream &,  ostream & )
declaration   ./components/ogre/EmberEntity.h:229
definition   ./components/ogre/EmberEntity.cpp:705

12 0 10------------
getDefaultUseOperators(   )
declaration   ./components/ogre/EmberEntity.h:217
definition   ./components/ogre/EmberEntity.cpp:658

10 2 6------------
getEmberLocation(   )
declaration   ./components/ogre/EmberEntity.h:150
definition   ./components/ogre/EmberEntity.cpp:640

5 1 4------------
getMovementMode(   )
declaration   ./components/ogre/EmberEntity.h:170
definition   ./components/ogre/EmberEntity.h:364

5 1 3------------
getOffsetForContainedNode(  ... )
declaration   ./components/ogre/EmberEntity.h:255
definition   ./components/ogre/EmberEntity.cpp:363

10 3 8------------
getSceneManager(   )
declaration   ./components/ogre/EmberEntity.h:334
definition   ./components/ogre/EmberEntity.cpp:672

6 1 3------------
getSceneNode(   )
declaration   ./components/ogre/EmberEntity.h:118
definition   ./components/ogre/EmberEntity.cpp:635

5 1 4------------
getShowErisBoundingBox(   )
declaration   ./components/ogre/EmberEntity.h:200
definition   ./components/ogre/EmberEntity.cpp:628

5 2 4------------
getShowOgreBoundingBox(   )
declaration   ./components/ogre/EmberEntity.h:194
definition   ./components/ogre/EmberEntity.cpp:624

5 1 3------------
getSuggestedResponses(   )
declaration   ./components/ogre/EmberEntity.h:136
definition   ./components/ogre/EmberEntity.cpp:492

5 1 3------------
getVisualize(  const string & )
declaration   ./components/ogre/EmberEntity.h:244
definition   ./components/ogre/EmberEntity.cpp:565

10 5 5------ 1.000
getWorldBoundingBox(  bool )
declaration   ./components/ogre/EmberEntity.h:207
definition   ./components/ogre/EmberEntity.cpp:646

6 1 5------------
getWorldBoundingSphere(  bool )
declaration   ./components/ogre/EmberEntity.h:210
definition   ./components/ogre/EmberEntity.cpp:652

6 1 0------------
hasSuggestedResponses(   )
declaration   ./components/ogre/EmberEntity.h:131
definition   ./components/ogre/EmberEntity.cpp:497

5 1 3------------
init(  const RootEntity &,  bool )
declaration   ./components/ogre/EmberEntity.h:317
definition   ./components/ogre/EmberEntity.cpp:141

16 2 5------------
isInitialized(   )
declaration   ./components/ogre/EmberEntity.h:165
definition   ./components/ogre/EmberEntity.h:359

5 1 4------------
onAction(  const RootOperation & )
declaration   ./components/ogre/EmberEntity.h:279
definition   ./components/ogre/EmberEntity.cpp:456

12 2 0------------
onAttrChanged(  const string &,  const Element & )
declaration   ./components/ogre/EmberEntity.h:284
definition   ./components/ogre/EmberEntity.cpp:511

12 3 0------------
onBboxChanged(   )
declaration   ./components/ogre/EmberEntity.h:292
definition   ./components/ogre/EmberEntity.cpp:616

7 1 3------------
onImaginary(  const Root & )
declaration   ./components/ogre/EmberEntity.h:280
definition   ./components/ogre/EmberEntity.cpp:472

11 2 0------------
onLocationChanged(  Entity * )
declaration   ./components/ogre/EmberEntity.h:278
definition   ./components/ogre/EmberEntity.cpp:391

44 9 11 4.000 0.818
onModeChanged(  MovementMode )
declaration   ./components/ogre/EmberEntity.h:287
definition   ./components/ogre/EmberEntity.cpp:548

8 1 0------------
onMoved(   )
declaration   ./components/ogre/EmberEntity.h:273
definition   ./components/ogre/EmberEntity.cpp:206

8 0 4------------
onSoundAction(  const RootOperation & )
declaration   ./components/ogre/EmberEntity.h:281
definition   ./components/ogre/EmberEntity.cpp:294

5 0 0------------
onTalk(  const RootOperation & )
declaration   ./components/ogre/EmberEntity.h:275
definition   ./components/ogre/EmberEntity.cpp:238

35 7 7 5.000 1.000
onVisibilityChanged(  bool )
declaration   ./components/ogre/EmberEntity.h:277
definition   ./components/ogre/EmberEntity.cpp:300

6 0 1------------
parseModeChange(  const Element & )
declaration   ./components/ogre/EmberEntity.h:353
definition   ./components/ogre/EmberEntity.cpp:523

24 7 5 4.800 1.400
setMoving(  bool )
declaration   ./components/ogre/EmberEntity.h:274
definition   ./components/ogre/EmberEntity.cpp:214

17 3 3------------
setVisible(  bool )
declaration   ./components/ogre/EmberEntity.h:143
definition   ./components/ogre/EmberEntity.cpp:325

16 5 5------ 1.000
setVisualize(  const string &,  bool )
declaration   ./components/ogre/EmberEntity.h:236
definition   ./components/ogre/EmberEntity.cpp:556

9 2 5------------
showErisBoundingBox(  bool )
declaration   ./components/ogre/EmberEntity.h:189
definition   ./components/ogre/EmberEntity.cpp:581

16 1 7------------
showOgreBoundingBox(  bool )
declaration   ./components/ogre/EmberEntity.h:181
definition   ./components/ogre/EmberEntity.cpp:576

5 0 4------------
synchronizeWithServer(   )
declaration   ./components/ogre/EmberEntity.h:223
definition   ./components/ogre/EmberEntity.cpp:163

11 2 3------------
updateMotion(  Real )
declaration   ./components/ogre/EmberEntity.h:175
definition   ./components/ogre/EmberEntity.cpp:190

10 1 4------------
~EmberEntity(   )
declaration   ./components/ogre/EmberEntity.h:95
definition   ./components/ogre/EmberEntity.cpp:117

18 3 4------------

Relationships

ClientsSuppliers
AttributeTextBuilder
has by reference   ./components/ogre/widgets/InspectWidget.h:117


AvatarController [V]
pass by reference   ./components/ogre/AvatarController.cpp:362
pass by reference   ./components/ogre/AvatarController.h:175
has by reference   ./components/ogre/AvatarController.h:199
has by reference   ./components/ogre/AvatarController.h:200


EmberEntityUserObject
pass by reference   ./components/ogre/EmberEntityUserObject.cpp:34
pass by reference   ./components/ogre/EmberEntityUserObject.h:115
has by reference   ./components/ogre/EmberEntityUserObject.h:149


EmberPhysicalEntity [CV]
pass by reference   ./components/ogre/EmberPhysicalEntity.cpp:723
inheritance   ./components/ogre/EmberPhysicalEntity.h:48


EntityIcon [V]
pass by reference   ./components/ogre/widgets/EntityIcon.h:76
has by reference   ./components/ogre/widgets/EntityIcon.h:85
pass by reference   ./components/ogre/widgets/EntityIcon.cpp:32


EntityIconManager [V]
pass by reference   ./components/ogre/widgets/EntityIconManager.h:56
pass by reference   ./components/ogre/widgets/EntityIconManager.cpp:52


EntityMoveAdjuster [V]
pass by reference   ./components/ogre/manipulation/EntityMoveAdjuster.cpp:71
pass by reference   ./components/ogre/manipulation/EntityMoveAdjuster.h:114
has by reference   ./components/ogre/manipulation/EntityMoveAdjuster.h:119


EntityMoveAdjustmentInstance [V]
pass by reference   ./components/ogre/manipulation/EntityMoveAdjuster.cpp:29
pass by reference   ./components/ogre/manipulation/EntityMoveAdjuster.h:47
has by reference   ./components/ogre/manipulation/EntityMoveAdjuster.h:53


EntityMoveManager [V]
pass by reference   ./components/ogre/manipulation/EntityMoveManager.cpp:46
pass by reference   ./components/ogre/manipulation/EntityMoveManager.cpp:53
pass by reference   ./components/ogre/manipulation/EntityMoveManager.h:52
pass by reference   ./components/ogre/manipulation/EntityMoveManager.h:88


EntityMover [V]
pass by reference   ./components/ogre/manipulation/EntityMover.h:43
has by reference   ./components/ogre/manipulation/EntityMover.h:59
pass by reference   ./components/ogre/manipulation/EntityMover.cpp:32


GUIManager [V]
pass by reference   ./components/ogre/GUIManager.cpp:305


IconManager [V]
pass by reference   ./components/ogre/widgets/icons/IconManager.h:53
pass by reference   ./components/ogre/widgets/icons/IconManager.cpp:93


IngameChatWidget [V]
pass by reference   ./components/ogre/widgets/IngameChatWidget.h:241
pass by reference   ./components/ogre/widgets/IngameChatWidget.cpp:161


InspectWidget [V]
pass by reference   ./components/ogre/widgets/InspectWidget.cpp:159
pass by reference   ./components/ogre/widgets/InspectWidget.cpp:166
pass by reference   ./components/ogre/widgets/InspectWidget.cpp:192
pass by reference   ./components/ogre/widgets/InspectWidget.h:70
pass by reference   ./components/ogre/widgets/InspectWidget.h:79
pass by reference   ./components/ogre/widgets/InspectWidget.h:81
has by reference   ./components/ogre/widgets/InspectWidget.h:86


InventoryWidget [V]
pass by reference   ./components/ogre/widgets/InventoryWidget.h:78
pass by reference   ./components/ogre/widgets/InventoryWidget.h:79
pass by reference   ./components/ogre/widgets/InventoryWidget.cpp:123
pass by reference   ./components/ogre/widgets/InventoryWidget.cpp:177


Label [V]
pass by reference   ./components/ogre/widgets/IngameChatWidget.h:121
has by reference   ./components/ogre/widgets/IngameChatWidget.h:145


MotionManager [V]
pass by reference   ./components/ogre/MotionManager.h:60
pass by reference   ./components/ogre/MotionManager.h:61
pass by reference   ./components/ogre/MotionManager.h:148
pass by reference   ./components/ogre/MotionManager.cpp:70
pass by reference   ./components/ogre/MotionManager.cpp:97
pass by reference   ./components/ogre/MotionManager.cpp:104


PersonEmberEntity [V]
pass by reference   ./components/ogre/PersonEmberEntity.cpp:41
pass by reference   ./components/ogre/PersonEmberEntity.h:32


TerrainArea [V]
pass by reference   ./components/ogre/terrain/TerrainArea.cpp:31
pass by reference   ./components/ogre/terrain/TerrainArea.h:46
has by reference   ./components/ogre/terrain/TerrainArea.h:59


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


TerrainGenerator [V]
pass by reference   ./components/ogre/terrain/TerrainGenerator.cpp:674


WorldEmberEntity [CV]
inheritance   ./components/ogre/WorldEmberEntity.h:56


 
Element [V]
pass by reference   ./components/ogre/EmberEntity.h:284
pass by reference   ./components/ogre/EmberEntity.h:353
pass by reference   ./components/ogre/EmberEntity.cpp:511
pass by reference   ./components/ogre/EmberEntity.cpp:523


Entity [CV]
inheritance   ./components/ogre/EmberEntity.h:63
pass by reference   ./components/ogre/EmberEntity.h:278
pass by reference   ./components/ogre/EmberEntity.cpp:391


Model [V]
pass by reference   ./components/ogre/EmberEntity.h:155


OOBBWireBoundingBox [V]
has by reference   ./components/ogre/EmberEntity.h:299


Real [CV]
pass by value   ./components/ogre/EmberEntity.h:175
pass by value   ./components/ogre/EmberEntity.cpp:190


Root [V]
pass by reference   ./components/ogre/EmberEntity.h:280
pass by reference   ./components/ogre/EmberEntity.cpp:472


RootEntity [V]
pass by reference   ./components/ogre/EmberEntity.h:317
pass by reference   ./components/ogre/EmberEntity.cpp:141


RootOperation [V]
pass by reference   ./components/ogre/EmberEntity.h:275
pass by reference   ./components/ogre/EmberEntity.h:279
pass by reference   ./components/ogre/EmberEntity.h:281
pass by reference   ./components/ogre/EmberEntity.cpp:238
pass by reference   ./components/ogre/EmberEntity.cpp:294
pass by reference   ./components/ogre/EmberEntity.cpp:456


SceneManager [V]
pass by reference   ./components/ogre/EmberEntity.h:94
pass by reference   ./components/ogre/EmberEntity.h:311
pass by reference   ./components/ogre/EmberEntity.cpp:105
pass by reference   ./components/ogre/EmberEntity.cpp:176


SceneNode [V]
has by reference   ./components/ogre/EmberEntity.h:329


TerrainArea [V]
pass by reference   ./components/ogre/EmberEntity.h:283
pass by reference   ./components/ogre/EmberEntity.cpp:503


TypeInfo [V]
pass by reference   ./components/ogre/EmberEntity.h:94
pass by reference   ./components/ogre/EmberEntity.cpp:105


Vector3 [V]
pass by reference   ./components/ogre/EmberEntity.h:113
pass by reference   ./components/ogre/EmberEntity.cpp:351


View [V]
pass by reference   ./components/ogre/EmberEntity.h:94
pass by reference   ./components/ogre/EmberEntity.cpp:105


auto_ptr [CV]
has by value   ./components/ogre/EmberEntity.h:339


bool [CV]
pass by value   ./components/ogre/EmberEntity.h:143
pass by value   ./components/ogre/EmberEntity.h:181
pass by value   ./components/ogre/EmberEntity.h:189
pass by value   ./components/ogre/EmberEntity.h:207
pass by value   ./components/ogre/EmberEntity.h:210
pass by value   ./components/ogre/EmberEntity.h:236
has by value   ./components/ogre/EmberEntity.h:261
has by value   ./components/ogre/EmberEntity.h:267
pass by value   ./components/ogre/EmberEntity.h:274
pass by value   ./components/ogre/EmberEntity.h:277
pass by value   ./components/ogre/EmberEntity.h:317
pass by value   ./components/ogre/EmberEntity.h:319
pass by value   ./components/ogre/EmberEntity.cpp:141
pass by value   ./components/ogre/EmberEntity.cpp:214
pass by value   ./components/ogre/EmberEntity.cpp:300
pass by value   ./components/ogre/EmberEntity.cpp:306
pass by value   ./components/ogre/EmberEntity.cpp:325
pass by value   ./components/ogre/EmberEntity.cpp:556
pass by value   ./components/ogre/EmberEntity.cpp:576
pass by value   ./components/ogre/EmberEntity.cpp:581
pass by value   ./components/ogre/EmberEntity.cpp:646
pass by value   ./components/ogre/EmberEntity.cpp:652


iostream [V]
pass by reference   ./components/ogre/EmberEntity.h:229
pass by reference   ./components/ogre/EmberEntity.cpp:705


ostream [V]
pass by reference   ./components/ogre/EmberEntity.h:229
pass by reference   ./components/ogre/EmberEntity.cpp:705


string [CV]
has by value   ./components/ogre/EmberEntity.h:80
has by value   ./components/ogre/EmberEntity.h:81
has by value   ./components/ogre/EmberEntity.h:82
has by value   ./components/ogre/EmberEntity.h:83
has by value   ./components/ogre/EmberEntity.h:84
has by value   ./components/ogre/EmberEntity.h:85
has by value   ./components/ogre/EmberEntity.h:90
pass by reference   ./components/ogre/EmberEntity.h:94
pass by reference   ./components/ogre/EmberEntity.h:155
pass by reference   ./components/ogre/EmberEntity.h:236
pass by reference   ./components/ogre/EmberEntity.h:244
pass by reference   ./components/ogre/EmberEntity.h:284
pass by reference   ./components/ogre/EmberEntity.cpp:105
pass by reference   ./components/ogre/EmberEntity.cpp:511
pass by reference   ./components/ogre/EmberEntity.cpp:556
pass by reference   ./components/ogre/EmberEntity.cpp:565


vector [CV]
has by value   ./components/ogre/EmberEntity.h:324