Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 536 | ****** |
McCabe's Cyclomatic Number | MVG | 84 | ****** |
Lines of Comment | COM | 203 | ******** |
LOC/COM | L_C | 2.640 | |
MVG/COM | M_C | 0.414 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 53 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 2 | |
Coupling between objects | CBO | 42 | |
Information Flow measure ( inclusive ) | IF4 | 193600 | ******** |
Information Flow measure ( visible ) | IF4v | 160000 | ******** |
Information Flow measure ( concrete ) | IF4c | 144 | ******** |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
BboxMaterialName( ... ) declaration ./components/ogre/EmberEntity.cpp:102 | 1 | 0 | 0 | ------ | ------ |
EmberEntity( const string &, TypeInfo *, View *, SceneManager * ) declaration ./components/ogre/EmberEntity.h:94 definition ./components/ogre/EmberEntity.cpp:105 | 12 | 0 | 0 | ------ | ------ |
MODE_FIXED( ... ) declaration ./components/ogre/EmberEntity.cpp:100 | 1 | 0 | 0 | ------ | ------ |
MODE_FLOATING( ... ) declaration ./components/ogre/EmberEntity.cpp:99 | 1 | 0 | 0 | ------ | ------ |
MODE_RUNNING( ... ) declaration ./components/ogre/EmberEntity.cpp:96 | 1 | 0 | 0 | ------ | ------ |
MODE_STANDING( ... ) declaration ./components/ogre/EmberEntity.cpp:95 | 1 | 0 | 0 | ------ | ------ |
MODE_SWIMMING( ... ) declaration ./components/ogre/EmberEntity.cpp:98 | 1 | 0 | 0 | ------ | ------ |
MODE_WALKING( ... ) declaration ./components/ogre/EmberEntity.cpp:97 | 1 | 0 | 0 | ------ | ------ |
addArea( TerrainArea * ) declaration ./components/ogre/EmberEntity.h:283 definition ./components/ogre/EmberEntity.cpp:503 | 7 | 1 | 1 | ------ | ------ |
adjustPosition( ) declaration ./components/ogre/EmberEntity.h:112 definition ./components/ogre/EmberEntity.cpp:344 | 7 | 1 | 5 | ------ | ------ |
adjustPosition( const Vector3 & ) declaration ./components/ogre/EmberEntity.h:113 definition ./components/ogre/EmberEntity.cpp:351 | 11 | 2 | 0 | ------ | ------ |
adjustPositionForContainedNode( ... ) declaration ./components/ogre/EmberEntity.h:104 definition ./components/ogre/EmberEntity.cpp:379 | 9 | 1 | 7 | ------ | ------ |
allowVisibilityOfMember( EmberEntity * ) declaration ./components/ogre/EmberEntity.h:125 definition ./components/ogre/EmberEntity.cpp:488 | 4 | 1 | 5 | ------ | ------ |
attachToPointOnModel( const string &, Model * ) definition ./components/ogre/EmberEntity.h:155 | 0 | 0 | 0 | ------ | ------ |
checkVisibility( bool ) declaration ./components/ogre/EmberEntity.h:319 definition ./components/ogre/EmberEntity.cpp:306 | 14 | 3 | 3 | ------ | ------ |
createErisBboxMaterial( ) declaration ./components/ogre/EmberEntity.h:304 definition ./components/ogre/EmberEntity.cpp:605 | 11 | 1 | 3 | ------ | ------ |
createSceneNode( SceneManager * ) declaration ./components/ogre/EmberEntity.h:311 definition ./components/ogre/EmberEntity.cpp:176 | 11 | 1 | 4 | ------ | ------ |
detachFromModel( ) definition ./components/ogre/EmberEntity.h:160 | 0 | 0 | 0 | ------ | ------ |
dumpAttributes( iostream &, ostream & ) declaration ./components/ogre/EmberEntity.h:229 definition ./components/ogre/EmberEntity.cpp:705 | 12 | 0 | 10 | ------ | ------ |
getDefaultUseOperators( ) declaration ./components/ogre/EmberEntity.h:217 definition ./components/ogre/EmberEntity.cpp:658 | 10 | 2 | 6 | ------ | ------ |
getEmberLocation( ) declaration ./components/ogre/EmberEntity.h:150 definition ./components/ogre/EmberEntity.cpp:640 | 5 | 1 | 4 | ------ | ------ |
getMovementMode( ) declaration ./components/ogre/EmberEntity.h:170 definition ./components/ogre/EmberEntity.h:364 | 5 | 1 | 3 | ------ | ------ |
getOffsetForContainedNode( ... ) declaration ./components/ogre/EmberEntity.h:255 definition ./components/ogre/EmberEntity.cpp:363 | 10 | 3 | 8 | ------ | ------ |
getSceneManager( ) declaration ./components/ogre/EmberEntity.h:334 definition ./components/ogre/EmberEntity.cpp:672 | 6 | 1 | 3 | ------ | ------ |
getSceneNode( ) declaration ./components/ogre/EmberEntity.h:118 definition ./components/ogre/EmberEntity.cpp:635 | 5 | 1 | 4 | ------ | ------ |
getShowErisBoundingBox( ) declaration ./components/ogre/EmberEntity.h:200 definition ./components/ogre/EmberEntity.cpp:628 | 5 | 2 | 4 | ------ | ------ |
getShowOgreBoundingBox( ) declaration ./components/ogre/EmberEntity.h:194 definition ./components/ogre/EmberEntity.cpp:624 | 5 | 1 | 3 | ------ | ------ |
getSuggestedResponses( ) declaration ./components/ogre/EmberEntity.h:136 definition ./components/ogre/EmberEntity.cpp:492 | 5 | 1 | 3 | ------ | ------ |
getVisualize( const string & ) declaration ./components/ogre/EmberEntity.h:244 definition ./components/ogre/EmberEntity.cpp:565 | 10 | 5 | 5 | ------ | 1.000 |
getWorldBoundingBox( bool ) declaration ./components/ogre/EmberEntity.h:207 definition ./components/ogre/EmberEntity.cpp:646 | 6 | 1 | 5 | ------ | ------ |
getWorldBoundingSphere( bool ) declaration ./components/ogre/EmberEntity.h:210 definition ./components/ogre/EmberEntity.cpp:652 | 6 | 1 | 0 | ------ | ------ |
hasSuggestedResponses( ) declaration ./components/ogre/EmberEntity.h:131 definition ./components/ogre/EmberEntity.cpp:497 | 5 | 1 | 3 | ------ | ------ |
init( const RootEntity &, bool ) declaration ./components/ogre/EmberEntity.h:317 definition ./components/ogre/EmberEntity.cpp:141 | 16 | 2 | 5 | ------ | ------ |
isInitialized( ) declaration ./components/ogre/EmberEntity.h:165 definition ./components/ogre/EmberEntity.h:359 | 5 | 1 | 4 | ------ | ------ |
onAction( const RootOperation & ) declaration ./components/ogre/EmberEntity.h:279 definition ./components/ogre/EmberEntity.cpp:456 | 12 | 2 | 0 | ------ | ------ |
onAttrChanged( const string &, const Element & ) declaration ./components/ogre/EmberEntity.h:284 definition ./components/ogre/EmberEntity.cpp:511 | 12 | 3 | 0 | ------ | ------ |
onBboxChanged( ) declaration ./components/ogre/EmberEntity.h:292 definition ./components/ogre/EmberEntity.cpp:616 | 7 | 1 | 3 | ------ | ------ |
onImaginary( const Root & ) declaration ./components/ogre/EmberEntity.h:280 definition ./components/ogre/EmberEntity.cpp:472 | 11 | 2 | 0 | ------ | ------ |
onLocationChanged( Entity * ) declaration ./components/ogre/EmberEntity.h:278 definition ./components/ogre/EmberEntity.cpp:391 | 44 | 9 | 11 | 4.000 | 0.818 |
onModeChanged( MovementMode ) declaration ./components/ogre/EmberEntity.h:287 definition ./components/ogre/EmberEntity.cpp:548 | 8 | 1 | 0 | ------ | ------ |
onMoved( ) declaration ./components/ogre/EmberEntity.h:273 definition ./components/ogre/EmberEntity.cpp:206 | 8 | 0 | 4 | ------ | ------ |
onSoundAction( const RootOperation & ) declaration ./components/ogre/EmberEntity.h:281 definition ./components/ogre/EmberEntity.cpp:294 | 5 | 0 | 0 | ------ | ------ |
onTalk( const RootOperation & ) declaration ./components/ogre/EmberEntity.h:275 definition ./components/ogre/EmberEntity.cpp:238 | 35 | 7 | 7 | 5.000 | 1.000 |
onVisibilityChanged( bool ) declaration ./components/ogre/EmberEntity.h:277 definition ./components/ogre/EmberEntity.cpp:300 | 6 | 0 | 1 | ------ | ------ |
parseModeChange( const Element & ) declaration ./components/ogre/EmberEntity.h:353 definition ./components/ogre/EmberEntity.cpp:523 | 24 | 7 | 5 | 4.800 | 1.400 |
setMoving( bool ) declaration ./components/ogre/EmberEntity.h:274 definition ./components/ogre/EmberEntity.cpp:214 | 17 | 3 | 3 | ------ | ------ |
setVisible( bool ) declaration ./components/ogre/EmberEntity.h:143 definition ./components/ogre/EmberEntity.cpp:325 | 16 | 5 | 5 | ------ | 1.000 |
setVisualize( const string &, bool ) declaration ./components/ogre/EmberEntity.h:236 definition ./components/ogre/EmberEntity.cpp:556 | 9 | 2 | 5 | ------ | ------ |
showErisBoundingBox( bool ) declaration ./components/ogre/EmberEntity.h:189 definition ./components/ogre/EmberEntity.cpp:581 | 16 | 1 | 7 | ------ | ------ |
showOgreBoundingBox( bool ) declaration ./components/ogre/EmberEntity.h:181 definition ./components/ogre/EmberEntity.cpp:576 | 5 | 0 | 4 | ------ | ------ |
synchronizeWithServer( ) declaration ./components/ogre/EmberEntity.h:223 definition ./components/ogre/EmberEntity.cpp:163 | 11 | 2 | 3 | ------ | ------ |
updateMotion( Real ) declaration ./components/ogre/EmberEntity.h:175 definition ./components/ogre/EmberEntity.cpp:190 | 10 | 1 | 4 | ------ | ------ |
~EmberEntity( ) declaration ./components/ogre/EmberEntity.h:95 definition ./components/ogre/EmberEntity.cpp:117 | 18 | 3 | 4 | ------ | ------ |