| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 380 | ****** |
| McCabe's Cyclomatic Number | MVG | 99 | ****** |
| Lines of Comment | COM | 50 | ******** |
| LOC/COM | L_C | 7.600 | |
| MVG/COM | M_C | 1.980 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 28 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 5 | |
| Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
| Information Flow measure ( visible ) | IF4v | 0 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/EmberOgre.h:58 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_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 | 5 | 10.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 | 2 | 10.000 | ------ |