Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 466 | ****** |
McCabe's Cyclomatic Number | MVG | 95 | ****** |
Lines of Comment | COM | 116 | ******** |
LOC/COM | L_C | 4.017 | |
MVG/COM | M_C | 0.819 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 41 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 2 | |
Number of Children | NOC | 2 | |
Coupling between objects | CBO | 21 | |
Information Flow measure ( inclusive ) | IF4 | 10816 | ******** |
Information Flow measure ( visible ) | IF4v | 10816 | ******** |
Information Flow measure ( concrete ) | IF4c | 36 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/MotionManager.h:29 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/IngameChatWidget.h:33 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/EmberEntityFactory.h:48 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/EmberPhysicalEntity.h:48 |
4 | 0 | 4 | ------ | ------ |
declaration
./components/ogre/PersonEmberEntity.h:25 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
EmberPhysicalEntity( const string &, TypeInfo *, View *, SceneManager * ) definition ./components/ogre/EmberPhysicalEntity.cpp:68 | 11 | 0 | 0 | ------ | ------ |
Model_Reloaded( ) definition ./components/ogre/EmberPhysicalEntity.cpp:368 | 5 | 0 | 0 | ------ | ------ |
Model_Resetting( ) definition ./components/ogre/EmberPhysicalEntity.cpp:374 | 8 | 1 | 0 | ------ | ------ |
allowVisibilityOfMember( EmberEntity * ) definition ./components/ogre/EmberPhysicalEntity.cpp:723 | 3 | 1 | 0 | ------ | ------ |
attachAllEntities( ) definition ./components/ogre/EmberPhysicalEntity.cpp:656 | 10 | 2 | 1 | ------ | ------ |
attachEntity( const string &, const string & ) definition ./components/ogre/EmberPhysicalEntity.cpp:637 | 10 | 2 | 1 | ------ | ------ |
attachToPointOnModel( const string &, Model * ) definition ./components/ogre/EmberPhysicalEntity.cpp:326 | 14 | 3 | 1 | ------ | ------ |
connectEntities( ) definition ./components/ogre/EmberPhysicalEntity.cpp:312 | 11 | 2 | 1 | ------ | ------ |
createModelMapping( ) definition ./components/ogre/EmberPhysicalEntity.cpp:305 | 6 | 0 | 0 | ------ | ------ |
createScaleNode( ) definition ./components/ogre/EmberPhysicalEntity.cpp:143 | 4 | 0 | 0 | ------ | ------ |
detachAllEntities( ) definition ./components/ogre/EmberPhysicalEntity.cpp:649 | 6 | 1 | 0 | ------ | ------ |
detachEntity( const string & ) definition ./components/ogre/EmberPhysicalEntity.cpp:615 | 19 | 6 | 1 | ------ | 6.000 |
detachFromModel( ) definition ./components/ogre/EmberPhysicalEntity.cpp:342 | 9 | 1 | 0 | ------ | ------ |
getEntityAttachedToPoint( const string & ) definition ./components/ogre/EmberPhysicalEntity.cpp:107 | 15 | 6 | 2 | ------ | 3.000 |
getModel( ) definition ./components/ogre/EmberPhysicalEntity.cpp:363 | 4 | 1 | 0 | ------ | ------ |
getOffsetForContainedNode( ... ) definition ./components/ogre/EmberPhysicalEntity.cpp:557 | 9 | 3 | 1 | ------ | ------ |
getShowOgreBoundingBox( ) definition ./components/ogre/EmberPhysicalEntity.cpp:358 | 4 | 1 | 0 | ------ | ------ |
getVisualize( const string & ) definition ./components/ogre/EmberPhysicalEntity.cpp:741 | 14 | 7 | 0 | ------ | ****** |
getWorldBoundingBox( bool ) definition ./components/ogre/EmberPhysicalEntity.cpp:675 | 4 | 1 | 0 | ------ | ------ |
getWorldBoundingSphere( bool ) definition ./components/ogre/EmberPhysicalEntity.cpp:680 | 4 | 1 | 0 | ------ | ------ |
hideModelPart( const string & ) definition ./components/ogre/EmberPhysicalEntity.cpp:190 | 11 | 3 | 1 | ------ | ------ |
init( const RootEntity &, bool ) definition ./components/ogre/EmberPhysicalEntity.cpp:204 | 30 | 4 | 17 | 1.765 | ------ |
initFromModel( ) definition ./components/ogre/EmberPhysicalEntity.cpp:268 | 20 | 3 | 9 | 2.222 | ------ |
onAction( const RootOperation & ) definition ./components/ogre/EmberPhysicalEntity.cpp:685 | 19 | 3 | 12 | ------ | ------ |
onAttrChanged( const string &, const Element & ) definition ./components/ogre/EmberPhysicalEntity.cpp:401 | 15 | 7 | 11 | ------ | 0.636 |
onBboxChanged( ) definition ./components/ogre/EmberPhysicalEntity.cpp:669 | 5 | 0 | 0 | ------ | ------ |
onChildAdded( Entity * ) definition ./components/ogre/EmberPhysicalEntity.cpp:469 | 8 | 1 | 3 | ------ | ------ |
onChildRemoved( Entity * ) definition ./components/ogre/EmberPhysicalEntity.cpp:486 | 4 | 0 | 1 | ------ | ------ |
onModeChanged( MovementMode ) definition ./components/ogre/EmberPhysicalEntity.cpp:432 | 26 | 7 | 6 | 4.333 | 1.167 |
processOutfit( const MapType & ) definition ./components/ogre/EmberPhysicalEntity.cpp:396 | 3 | 0 | 0 | ------ | ------ |
processWield( const string &, const Element & ) definition ./components/ogre/EmberPhysicalEntity.cpp:383 | 11 | 1 | 1 | ------ | ------ |
scaleNode( ) definition ./components/ogre/EmberPhysicalEntity.cpp:493 | 43 | 9 | 4 | 10.750 | 2.250 |
setModel( const string & ) definition ./components/ogre/EmberPhysicalEntity.cpp:148 | 19 | 4 | 5 | ------ | ------ |
setMoving( bool ) definition ./components/ogre/EmberPhysicalEntity.cpp:598 | 4 | 0 | 12 | ------ | ------ |
setVisible( bool ) definition ./components/ogre/EmberPhysicalEntity.cpp:127 | 5 | 1 | 10 | ------ | ------ |
setVisualize( const string &, bool ) definition ./components/ogre/EmberPhysicalEntity.cpp:727 | 13 | 4 | 0 | ------ | ------ |
showModelPart( const string & ) definition ./components/ogre/EmberPhysicalEntity.cpp:176 | 11 | 3 | 1 | ------ | ------ |
showOgreBoundingBox( bool ) definition ./components/ogre/EmberPhysicalEntity.cpp:352 | 4 | 0 | 0 | ------ | ------ |
updateAnimation( Real ) definition ./components/ogre/EmberPhysicalEntity.cpp:576 | 20 | 4 | 1 | 20.000 | ------ |
updateMotion( Real ) definition ./components/ogre/EmberPhysicalEntity.cpp:570 | 4 | 0 | 0 | ------ | ------ |
~EmberPhysicalEntity( ) definition ./components/ogre/EmberPhysicalEntity.cpp:80 | 13 | 2 | 10 | ------ | ------ |