| 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:94definition ./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:283definition ./components/ogre/EmberEntity.cpp:503 | 7 | 1 | 1 | ------ | ------ |
| adjustPosition( ) declaration ./components/ogre/EmberEntity.h:112definition ./components/ogre/EmberEntity.cpp:344 | 7 | 1 | 5 | ------ | ------ |
| adjustPosition( const Vector3 & ) declaration ./components/ogre/EmberEntity.h:113definition ./components/ogre/EmberEntity.cpp:351 | 11 | 2 | 0 | ------ | ------ |
| adjustPositionForContainedNode( ... ) declaration ./components/ogre/EmberEntity.h:104definition ./components/ogre/EmberEntity.cpp:379 | 9 | 1 | 7 | ------ | ------ |
| allowVisibilityOfMember( EmberEntity * ) declaration ./components/ogre/EmberEntity.h:125definition ./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:319definition ./components/ogre/EmberEntity.cpp:306 | 14 | 3 | 3 | ------ | ------ |
| createErisBboxMaterial( ) declaration ./components/ogre/EmberEntity.h:304definition ./components/ogre/EmberEntity.cpp:605 | 11 | 1 | 3 | ------ | ------ |
| createSceneNode( SceneManager * ) declaration ./components/ogre/EmberEntity.h:311definition ./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:229definition ./components/ogre/EmberEntity.cpp:705 | 12 | 0 | 10 | ------ | ------ |
| getDefaultUseOperators( ) declaration ./components/ogre/EmberEntity.h:217definition ./components/ogre/EmberEntity.cpp:658 | 10 | 2 | 6 | ------ | ------ |
| getEmberLocation( ) declaration ./components/ogre/EmberEntity.h:150definition ./components/ogre/EmberEntity.cpp:640 | 5 | 1 | 4 | ------ | ------ |
| getMovementMode( ) declaration ./components/ogre/EmberEntity.h:170definition ./components/ogre/EmberEntity.h:364 | 5 | 1 | 3 | ------ | ------ |
| getOffsetForContainedNode( ... ) declaration ./components/ogre/EmberEntity.h:255definition ./components/ogre/EmberEntity.cpp:363 | 10 | 3 | 8 | ------ | ------ |
| getSceneManager( ) declaration ./components/ogre/EmberEntity.h:334definition ./components/ogre/EmberEntity.cpp:672 | 6 | 1 | 3 | ------ | ------ |
| getSceneNode( ) declaration ./components/ogre/EmberEntity.h:118definition ./components/ogre/EmberEntity.cpp:635 | 5 | 1 | 4 | ------ | ------ |
| getShowErisBoundingBox( ) declaration ./components/ogre/EmberEntity.h:200definition ./components/ogre/EmberEntity.cpp:628 | 5 | 2 | 4 | ------ | ------ |
| getShowOgreBoundingBox( ) declaration ./components/ogre/EmberEntity.h:194definition ./components/ogre/EmberEntity.cpp:624 | 5 | 1 | 3 | ------ | ------ |
| getSuggestedResponses( ) declaration ./components/ogre/EmberEntity.h:136definition ./components/ogre/EmberEntity.cpp:492 | 5 | 1 | 3 | ------ | ------ |
| getVisualize( const string & ) declaration ./components/ogre/EmberEntity.h:244definition ./components/ogre/EmberEntity.cpp:565 | 10 | 5 | 5 | ------ | 1.000 |
| getWorldBoundingBox( bool ) declaration ./components/ogre/EmberEntity.h:207definition ./components/ogre/EmberEntity.cpp:646 | 6 | 1 | 5 | ------ | ------ |
| getWorldBoundingSphere( bool ) declaration ./components/ogre/EmberEntity.h:210definition ./components/ogre/EmberEntity.cpp:652 | 6 | 1 | 0 | ------ | ------ |
| hasSuggestedResponses( ) declaration ./components/ogre/EmberEntity.h:131definition ./components/ogre/EmberEntity.cpp:497 | 5 | 1 | 3 | ------ | ------ |
| init( const RootEntity &, bool ) declaration ./components/ogre/EmberEntity.h:317definition ./components/ogre/EmberEntity.cpp:141 | 16 | 2 | 5 | ------ | ------ |
| isInitialized( ) declaration ./components/ogre/EmberEntity.h:165definition ./components/ogre/EmberEntity.h:359 | 5 | 1 | 4 | ------ | ------ |
| onAction( const RootOperation & ) declaration ./components/ogre/EmberEntity.h:279definition ./components/ogre/EmberEntity.cpp:456 | 12 | 2 | 0 | ------ | ------ |
| onAttrChanged( const string &, const Element & ) declaration ./components/ogre/EmberEntity.h:284definition ./components/ogre/EmberEntity.cpp:511 | 12 | 3 | 0 | ------ | ------ |
| onBboxChanged( ) declaration ./components/ogre/EmberEntity.h:292definition ./components/ogre/EmberEntity.cpp:616 | 7 | 1 | 3 | ------ | ------ |
| onImaginary( const Root & ) declaration ./components/ogre/EmberEntity.h:280definition ./components/ogre/EmberEntity.cpp:472 | 11 | 2 | 0 | ------ | ------ |
| onLocationChanged( Entity * ) declaration ./components/ogre/EmberEntity.h:278definition ./components/ogre/EmberEntity.cpp:391 | 44 | 9 | 11 | 4.000 | 0.818 |
| onModeChanged( MovementMode ) declaration ./components/ogre/EmberEntity.h:287definition ./components/ogre/EmberEntity.cpp:548 | 8 | 1 | 0 | ------ | ------ |
| onMoved( ) declaration ./components/ogre/EmberEntity.h:273definition ./components/ogre/EmberEntity.cpp:206 | 8 | 0 | 4 | ------ | ------ |
| onSoundAction( const RootOperation & ) declaration ./components/ogre/EmberEntity.h:281definition ./components/ogre/EmberEntity.cpp:294 | 5 | 0 | 0 | ------ | ------ |
| onTalk( const RootOperation & ) declaration ./components/ogre/EmberEntity.h:275definition ./components/ogre/EmberEntity.cpp:238 | 35 | 7 | 7 | 5.000 | 1.000 |
| onVisibilityChanged( bool ) declaration ./components/ogre/EmberEntity.h:277definition ./components/ogre/EmberEntity.cpp:300 | 6 | 0 | 1 | ------ | ------ |
| parseModeChange( const Element & ) declaration ./components/ogre/EmberEntity.h:353definition ./components/ogre/EmberEntity.cpp:523 | 24 | 7 | 5 | 4.800 | 1.400 |
| setMoving( bool ) declaration ./components/ogre/EmberEntity.h:274definition ./components/ogre/EmberEntity.cpp:214 | 17 | 3 | 3 | ------ | ------ |
| setVisible( bool ) declaration ./components/ogre/EmberEntity.h:143definition ./components/ogre/EmberEntity.cpp:325 | 16 | 5 | 5 | ------ | 1.000 |
| setVisualize( const string &, bool ) declaration ./components/ogre/EmberEntity.h:236definition ./components/ogre/EmberEntity.cpp:556 | 9 | 2 | 5 | ------ | ------ |
| showErisBoundingBox( bool ) declaration ./components/ogre/EmberEntity.h:189definition ./components/ogre/EmberEntity.cpp:581 | 16 | 1 | 7 | ------ | ------ |
| showOgreBoundingBox( bool ) declaration ./components/ogre/EmberEntity.h:181definition ./components/ogre/EmberEntity.cpp:576 | 5 | 0 | 4 | ------ | ------ |
| synchronizeWithServer( ) declaration ./components/ogre/EmberEntity.h:223definition ./components/ogre/EmberEntity.cpp:163 | 11 | 2 | 3 | ------ | ------ |
| updateMotion( Real ) declaration ./components/ogre/EmberEntity.h:175definition ./components/ogre/EmberEntity.cpp:190 | 10 | 1 | 4 | ------ | ------ |
| ~EmberEntity( ) declaration ./components/ogre/EmberEntity.h:95definition ./components/ogre/EmberEntity.cpp:117 | 18 | 3 | 4 | ------ | ------ |