| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 237 | ****** |
| McCabe's Cyclomatic Number | MVG | 46 | ****** |
| Lines of Comment | COM | 81 | ******** |
| LOC/COM | L_C | 2.926 | |
| MVG/COM | M_C | 0.568 | |
| 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:62 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| MeshCollisionShape( const String & ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:39 | 6 | 0 | 1 | ------ | ------ |
| _rebuildFromCachedData( ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:409 | 9 | 3 | 5 | ------ | ------ |
| _refitToCachedData( ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:381 | 15 | 3 | 12 | ------ | ------ |
| convertMeshData( Entity *, float *, size_t, size_t *, size_t ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:119 | 107 | 20 | 26 | 4.115 | 0.769 |
| countIndicesAndVertices( Entity *, size_t &, size_t & ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:69 | 26 | 3 | 11 | 2.364 | ------ |
| createDummyNode( ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:426 | 9 | 1 | 1 | ------ | ------ |
| load( const String &, const Quaternion &, const Vector3 & ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:277 | 16 | 3 | 9 | ------ | ------ |
| rebuild( ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:309 | 26 | 7 | 10 | 2.600 | 0.700 |
| refit( ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:352 | 12 | 4 | 5 | ------ | ------ |
| ~MeshCollisionShape( ) definition ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:47 | 10 | 2 | 1 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Entity [V] pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:69pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:119Quaternion [V] pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:277String [V] pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:39pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:277Vector3 [V] pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:277size_t [CV] pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:69pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:69pass by value ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:120pass by reference ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:121pass by value ./components/ogre/ogreopcode/src/OgreMeshCollisionShape.cpp:121 |