Detailed report on module ModelDefinition

MetricTagOverallPer Function
Lines of CodeLOC 235******
McCabe's Cyclomatic NumberMVG 25******
Lines of CommentCOM 151********
LOC/COML_C 1.556 
MVG/COMM_C 0.166 
Weighted Methods per Class (  weighting = unity )WMC1 37 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 1 
Number of ChildrenNOC 0 
Coupling between objectsCBO 18 
Information Flow measure (  inclusive )IF4 2025********
Information Flow measure (  visible )IF4v 2025********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/model/SubModelPart.h:36
1 0 0------------
declaration   ./components/ogre/model/SubModelPart.h:48
1 0 0------------
declaration   ./components/ogre/model/Model.h:33
1 0 0------------
declaration   ./components/ogre/model/Model.h:80
1 0 0------------
declaration   ./components/ogre/model/SubModel.h:30
1 0 0------------
declaration   ./components/ogre/model/SubModel.h:33
1 0 0------------
declaration   ./components/ogre/model/ModelDefinition.h:37
1 0 0------------
declaration   ./components/ogre/model/ModelDefinition.h:147
1 0 0------------
declaration   ./components/ogre/model/ModelDefinition.h:228
1 0 0------------
definition   ./components/ogre/model/ModelDefinition.h:258
19 0 20------------

Functions

Function prototypeLOCMVGCOML_CM_C
ModelDefinition(  ResourceManager *,  const String &,  ResourceHandle,  const String &,  bool,  ManualResourceLoader * )
definition   ./components/ogre/model/ModelDefinition.cpp:35
declaration   ./components/ogre/model/ModelDefinition.h:281

6 0 1------------
addModelInstance(  Model * )
definition   ./components/ogre/model/ModelDefinition.cpp:91

4 0 0------------
calculateSize(  void )
declaration   ./components/ogre/model/ModelDefinition.h:294
definition   ./components/ogre/model/ModelDefinition.h:592

5 1 1------------
createActionDefinition(  const string & )
definition   ./components/ogre/model/ModelDefinition.cpp:225
declaration   ./components/ogre/model/ModelDefinition.h:387

7 1 5------------
createSubModelDefinition(  const string & )
definition   ./components/ogre/model/ModelDefinition.cpp:200
declaration   ./components/ogre/model/ModelDefinition.h:368

7 1 5------------
createViewDefinition(  const string & )
definition   ./components/ogre/model/ModelDefinition.cpp:110
declaration   ./components/ogre/model/ModelDefinition.h:408

14 3 5------------
getActionDefinitions(   )
definition   ./components/ogre/model/ModelDefinition.cpp:232
declaration   ./components/ogre/model/ModelDefinition.h:393

5 1 4------------
getAttachPointsDefinitions(   )
definition   ./components/ogre/model/ModelDefinition.cpp:237
declaration   ./components/ogre/model/ModelDefinition.h:401

5 1 0------------
getContentOffset(   )
declaration   ./components/ogre/model/ModelDefinition.h:340
definition   ./components/ogre/model/ModelDefinition.h:578

5 1 6------------
getIconPath(   )
declaration   ./components/ogre/model/ModelDefinition.h:360
definition   ./components/ogre/model/ModelDefinition.h:626

5 1 4------------
getRenderingDefinition(   )
definition   ./components/ogre/model/ModelDefinition.cpp:184

4 1 0------------
getRenderingDistance(   )
declaration   ./components/ogre/model/ModelDefinition.h:332
definition   ./components/ogre/model/ModelDefinition.h:616

5 1 4------------
getRotation(   )
definition   ./components/ogre/model/ModelDefinition.cpp:174
declaration   ./components/ogre/model/ModelDefinition.h:347

5 1 4------------
getScale(   )
declaration   ./components/ogre/model/ModelDefinition.h:302
definition   ./components/ogre/model/ModelDefinition.h:598

5 1 5------------
getShowContained(   )
definition   ./components/ogre/model/ModelDefinition.cpp:162
declaration   ./components/ogre/model/ModelDefinition.h:325

5 1 5------------
getShowContained(  bool )
definition   ./components/ogre/model/ModelDefinition.cpp:167
declaration   ./components/ogre/model/ModelDefinition.h:326

5 0 0------------
getSubModelDefinitions(   )
definition   ./components/ogre/model/ModelDefinition.cpp:207
declaration   ./components/ogre/model/ModelDefinition.h:374

5 1 4------------
getTranslate(   )
definition   ./components/ogre/model/ModelDefinition.cpp:151
declaration   ./components/ogre/model/ModelDefinition.h:317

5 1 4------------
getUseScaleOf(   )
declaration   ./components/ogre/model/ModelDefinition.h:310
definition   ./components/ogre/model/ModelDefinition.h:607

5 1 5------------
getViewDefinitions(   )
definition   ./components/ogre/model/ModelDefinition.cpp:124
declaration   ./components/ogre/model/ModelDefinition.h:414

5 1 4------------
isValid(  void )
definition   ./components/ogre/model/ModelDefinition.cpp:105
declaration   ./components/ogre/model/ModelDefinition.h:286

5 1 0------------
loadImpl(  void )
definition   ./components/ogre/model/ModelDefinition.cpp:72
declaration   ./components/ogre/model/ModelDefinition.h:290

4 0 14------------
reloadAllInstances(   )
definition   ./components/ogre/model/ModelDefinition.cpp:191

6 1 1------------
removeActionDefinition(  ActionDefinition * )
definition   ./components/ogre/model/ModelDefinition.cpp:243
declaration   ./components/ogre/model/ModelDefinition.h:399

5 0 12------------
removeDefinition(  T *,  T1 & )
definition   ./components/ogre/model/ModelDefinition.cpp:258

7 1 0------------
removeModelInstance(  Model * )
definition   ./components/ogre/model/ModelDefinition.cpp:96

4 0 0------------
removeSubModelDefinition(  SubModelDefinition * )
definition   ./components/ogre/model/ModelDefinition.cpp:212
declaration   ./components/ogre/model/ModelDefinition.h:380

5 0 12------------
removeViewDefinition(  const string )
definition   ./components/ogre/model/ModelDefinition.cpp:129
declaration   ./components/ogre/model/ModelDefinition.h:420

5 0 19------------
setContentOffset(  const Vector3 & )
declaration   ./components/ogre/model/ModelDefinition.h:341
definition   ./components/ogre/model/ModelDefinition.h:582

5 0 0------------
setRenderingDistance(  float )
declaration   ./components/ogre/model/ModelDefinition.h:333
definition   ./components/ogre/model/ModelDefinition.h:621

5 0 0------------
setRotation(  const Quaternion )
definition   ./components/ogre/model/ModelDefinition.cpp:179
declaration   ./components/ogre/model/ModelDefinition.h:353

5 0 4------------
setScale(  Real )
declaration   ./components/ogre/model/ModelDefinition.h:303
definition   ./components/ogre/model/ModelDefinition.h:602

5 0 0------------
setTranslate(  const Vector3 )
definition   ./components/ogre/model/ModelDefinition.cpp:156
declaration   ./components/ogre/model/ModelDefinition.h:318

5 0 0------------
setUseScaleOf(  const UseScaleOf )
declaration   ./components/ogre/model/ModelDefinition.h:311
definition   ./components/ogre/model/ModelDefinition.h:611

5 0 0------------
setValid(  bool )
declaration   ./components/ogre/model/ModelDefinition.h:287
definition   ./components/ogre/model/ModelDefinition.h:587

5 0 0------------
unloadImpl(  void )
definition   ./components/ogre/model/ModelDefinition.cpp:101
declaration   ./components/ogre/model/ModelDefinition.h:292

4 0 0------------
~ModelDefinition(   )
definition   ./components/ogre/model/ModelDefinition.cpp:54
declaration   ./components/ogre/model/ModelDefinition.h:284

15 3 3------------

Relationships

ClientsSuppliers
ModelDefnPtr [V]
pass by reference   ./components/ogre/model/ModelDefinition.h:539


SubModelDefinition [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:273
pass by reference   ./components/ogre/model/ModelDefinition.h:160
has by reference   ./components/ogre/model/ModelDefinition.h:163


XMLModelDefinitionSerializer [V]
pass by reference   ./components/ogre/model/XMLModelDefinitionSerializer.cpp:58
pass by reference   ./components/ogre/model/XMLModelDefinitionSerializer.h:46


 
ActionDefinition [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:243
pass by reference   ./components/ogre/model/ModelDefinition.h:399


ManualResourceLoader [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:36
pass by reference   ./components/ogre/model/ModelDefinition.h:282


Model [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:91
pass by reference   ./components/ogre/model/ModelDefinition.cpp:96


Quaternion [CV]
pass by value   ./components/ogre/model/ModelDefinition.cpp:179
pass by value   ./components/ogre/model/ModelDefinition.h:353


Real [CV]
pass by value   ./components/ogre/model/ModelDefinition.h:303
pass by value   ./components/ogre/model/ModelDefinition.h:602


Resource [CV]
inheritance   ./components/ogre/model/ModelDefinition.h:258


ResourceHandle [CV]
pass by value   ./components/ogre/model/ModelDefinition.cpp:35
pass by value   ./components/ogre/model/ModelDefinition.h:281


ResourceManager [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:35
pass by reference   ./components/ogre/model/ModelDefinition.h:281


String [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:35
pass by reference   ./components/ogre/model/ModelDefinition.cpp:36
pass by reference   ./components/ogre/model/ModelDefinition.h:281
pass by reference   ./components/ogre/model/ModelDefinition.h:282


SubModelDefinition [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:212
pass by reference   ./components/ogre/model/ModelDefinition.h:380


T [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:258


T1 [V]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:258


Vector3 [CV]
pass by value   ./components/ogre/model/ModelDefinition.cpp:156
pass by value   ./components/ogre/model/ModelDefinition.h:318
pass by reference   ./components/ogre/model/ModelDefinition.h:341
pass by reference   ./components/ogre/model/ModelDefinition.h:582


bool [CV]
pass by value   ./components/ogre/model/ModelDefinition.cpp:36
pass by value   ./components/ogre/model/ModelDefinition.cpp:167
pass by value   ./components/ogre/model/ModelDefinition.h:282
pass by value   ./components/ogre/model/ModelDefinition.h:287
pass by value   ./components/ogre/model/ModelDefinition.h:326
pass by value   ./components/ogre/model/ModelDefinition.h:587


string [CV]
pass by reference   ./components/ogre/model/ModelDefinition.cpp:110
pass by value   ./components/ogre/model/ModelDefinition.cpp:129
pass by reference   ./components/ogre/model/ModelDefinition.cpp:200
pass by reference   ./components/ogre/model/ModelDefinition.cpp:225
pass by reference   ./components/ogre/model/ModelDefinition.h:368
pass by reference   ./components/ogre/model/ModelDefinition.h:387
pass by reference   ./components/ogre/model/ModelDefinition.h:408
pass by value   ./components/ogre/model/ModelDefinition.h:420