| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 280 | ****** |
| McCabe's Cyclomatic Number | MVG | 33 | ****** |
| Lines of Comment | COM | 53 | ******** |
| LOC/COM | L_C | 5.283 | |
| MVG/COM | M_C | 0.623 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 11 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 7 | |
| Information Flow measure ( inclusive ) | IF4 | 100 | ******** |
| Information Flow measure ( visible ) | IF4v | 100 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/OpcodeCollisionDetector.h:30 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/OpcodeCollisionDetectorVisualizer.h:31 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/ogreopcode/include/OgreCollisionReporter.h:38 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/ogreopcode/include/OgreCollisionContext.h:41 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| addToCollideList( CollisionObject * ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:230 | 4 | 0 | 0 | ------ | ------ |
| collide( void ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:235 | 33 | 5 | 11 | 3.000 | 0.455 |
| contact( CollisionObject *, CollisionType, CollisionPair & ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:109 | 87 | 14 | 24 | 3.625 | 0.583 |
| do_broadphase( ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:396 | 11 | 1 | 0 | ------ | ------ |
| getSAPMinMax( Vector3 &, Vector3 & ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:42 | 5 | 0 | 6 | ------ | ------ |
| nodeUpdated( const Node * ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:391 | 4 | 0 | 0 | ------ | ------ |
| remove_broadphase( ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:408 | 8 | 1 | 0 | ------ | ------ |
| update( Real, Matrix4 & ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:54 | 37 | 2 | 8 | 4.625 | ------ |
| visualizeBoundingBoxes( ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:371 | 17 | 0 | 1 | ------ | ------ |
| visualizeContacts( ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:318 | 44 | 8 | 2 | 22.000 | 4.000 |
| visualizeRadii( ) definition ./components/ogre/ogreopcode/src/OgreCollisionObject.cpp:289 | 26 | 2 | 1 | 26.000 | ------ |