Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 447 | ****** |
McCabe's Cyclomatic Number | MVG | 95 | ****** |
Lines of Comment | COM | 109 | ******** |
LOC/COM | L_C | 4.101 | |
MVG/COM | M_C | 0.872 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 19 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 10 | |
Information Flow measure ( inclusive ) | IF4 | 81 | ******** |
Information Flow measure ( visible ) | IF4v | 81 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/ogreopcode/include/OgreCollisionObject.h:39 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/ogreopcode/include/OgreCollisionObject.h:55 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_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 | 1 | 23.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 | 6 | 18.333 | 4.500 |
~CollisionContext( ) definition ./components/ogre/ogreopcode/src/OgreCollisionContext.cpp:53 | 9 | 1 | 2 | ------ | ------ |