Detailed report on module CollisionManager

MetricTagOverallPer Function
Lines of CodeLOC 380******
McCabe's Cyclomatic NumberMVG 99******
Lines of CommentCOM 50********
LOC/COML_C 7.600 
MVG/COMM_C 1.980 
Weighted Methods per Class (  weighting = unity )WMC1 28 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 5 
Information Flow measure (  inclusive )IF4 0********
Information Flow measure (  visible )IF4v 0********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/EmberOgre.h:58
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
CollisionManager(  SceneManager * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:53

23 0 20 1.150------
addCollClass(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:372

9 1 0------------
addCollType(  const String &,  const String &,  CollisionType )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:412

23 3 9 2.556------
attachContext(  CollisionContext * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:218

12 3 3------------
attachShape(  ICollisionShape * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:265

16 3 3------------
createBoxCollisionShape(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:198

4 1 0------------
createContext(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:112

11 3 1------------
createEntityCollisionShape(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:193

4 1 0------------
createMeshCollisionShape(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:188

4 1 0------------
createPtrCollisionShape(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:208

4 1 0------------
createShape(  const String &,  const ShapeType )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:126

54 16 510.800 3.200
createSphereMeshCollisionShape(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:203

4 1 0------------
createTerrainCollisionShape(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:213

4 1 0------------
destroyContext(  CollisionContext * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:249

15 3 0------------
destroyShape(  ICollisionShape * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:302

15 3 0------------
detachContext(  CollisionContext * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:234

14 3 0------------
detachShape(  ICollisionShape * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:287

14 3 0------------
getCollisionTypeEnum(  CollisionType )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:382

24 13 0************
getContext(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:323

9 2 0------------
getDefaultContext(  void )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:334

8 2 0------------
getResourceID(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:345

24 8 4 6.000 2.000
getSceneManager(  void )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:318

4 1 0------------
getSingleton(  void )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:48

4 1 0------------
getSingletonPtr(  void )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:43

4 1 0------------
queryCollClass(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:442

9 2 0------------
queryCollType(  CollisionClass,  CollisionClass )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:454

27 15 3 9.000 5.000
queryCollType(  const String &,  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:487

16 3 0------------
~CollisionManager(   )
definition   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:87

20 4 210.000------

Relationships

ClientsSuppliers
  CollisionClass [CV]
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:454
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:454


CollisionContext [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:218
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:234
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:249


ICollisionShape [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:265
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:287
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:302


SceneManager [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:53


String [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:112
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:126
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:188
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:193
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:198
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:203
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:208
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:213
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:323
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:345
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:372
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:412
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:412
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:442
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:487
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionManager.cpp:487