Detailed report on module CollisionContext

MetricTagOverallPer Function
Lines of CodeLOC 447******
McCabe's Cyclomatic NumberMVG 95******
Lines of CommentCOM 109********
LOC/COML_C 4.101 
MVG/COMM_C 0.872 
Weighted Methods per Class (  weighting = unity )WMC1 19 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 10 
Information Flow measure (  inclusive )IF4 81********
Information Flow measure (  visible )IF4v 81********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./components/ogre/ogreopcode/include/OgreCollisionObject.h:39
1 0 0------------
declaration   ./components/ogre/ogreopcode/include/OgreCollisionObject.h:55
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
CollisionContext(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:74

10 0 0------------
addObject(  CollisionObject * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:111

7 1 0------------
collide(  Real )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:137

27 7 9 3.000 0.778
createObject(  const String & )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:65

8 1 1------------
destroyObject(  CollisionObject * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:86

23 4 123.000------
getAttachedObject(  String )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:193

9 3 0------------
getCheckReport(   )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:223

4 1 1------------
getCollisionReport(   )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:211

4 1 1------------
getCollisions(  CollisionObject *,  CollisionPair **& )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:181

11 3 3------------
getNumCollisions(   )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:217

4 1 1------------
getPotentialColliders(  const CollisionObject * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:205

4 1 1------------
rayCheck(  const Ray,  const Real,  CollisionType,  CollisionClass,  CollisionPair **& )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:488

46 10 27 1.704 0.370
removeObject(  CollisionObject * )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:120

13 2 0------------
reset(   )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:661

9 1 4------------
sphereCheck(  const Sphere &,  CollisionType,  CollisionClass,  CollisionPair **& )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:568

58 13 28 2.071 0.464
sweptSphereCheck(  const Vector3 &,  const Vector3 &,  Real,  CollisionClass,  CollisionPair **&,  String )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:370

82 17 24 3.417 0.708
update(  Real )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:650

7 1 0------------
visualize(  bool,  bool,  bool,  bool,  bool,  bool )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:229

110 27 618.333 4.500
~CollisionContext(   )
definition   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:53

9 1 2------------

Relationships

ClientsSuppliers
CollisionManager [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


 
CollisionClass [CV]
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:370
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:488
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:568


CollisionObject [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:86
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:111
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:120
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:181
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:205


CollisionPair [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:181
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:370
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:488
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:568


Ray [CV]
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:488


Real [CV]
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:137
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:370
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:488
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:650


Sphere [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:568


String [CV]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:65
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:74
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:193
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:370


Vector3 [V]
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:370
pass by reference   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:370


bool [CV]
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:229
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:229
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:229
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:229
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:229
pass by value   ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:229