Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 282 | ****** |
McCabe's Cyclomatic Number | MVG | 48 | ****** |
Lines of Comment | COM | 80 | ******** |
LOC/COM | L_C | 3.525 | |
MVG/COM | M_C | 0.600 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 10 | |
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/ogreopcode/include/OgreCollisionManager.h:65 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
SphereMeshCollisionShape( const String & ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:39 | 4 | 0 | 1 | ------ | ------ |
_rebuildFromCachedData( ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:474 | 9 | 3 | 4 | ------ | ------ |
_refitToCachedData( ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:448 | 15 | 3 | 6 | ------ | ------ |
convertMeshData( Entity *, float *, size_t, size_t *, size_t ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:116 | 107 | 20 | 26 | 4.115 | 0.769 |
countIndicesAndVertices( Entity *, size_t &, size_t & ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:67 | 26 | 3 | 11 | 2.364 | ------ |
createSphere( const string &, const float, const int, const int ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:267 | 59 | 3 | 16 | 3.687 | ------ |
load( const String &, SceneNode *, const float, const int, const int ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:357 | 13 | 3 | 5 | ------ | ------ |
rebuild( ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:382 | 26 | 7 | 6 | 4.333 | 1.167 |
refit( ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:424 | 12 | 4 | 4 | ------ | ------ |
~SphereMeshCollisionShape( ) definition ./components/ogre/ogreopcode/src/OgreSphereMeshCollisionShape.cpp:45 | 10 | 2 | 1 | ------ | ------ |