| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 403 | ****** |
| McCabe's Cyclomatic Number | MVG | 95 | ****** |
| Lines of Comment | COM | 184 | ******** |
| LOC/COM | L_C | 2.190 | |
| MVG/COM | M_C | 0.516 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 27 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 14 | |
| Information Flow measure ( inclusive ) | IF4 | 169 | ******** |
| Information Flow measure ( visible ) | IF4v | 169 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/AvatarController.h:43 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/input/Input.h:82 |
40 | 0 | 85 | 0.471 | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| BINDCOMMAND( ... ) declaration ./components/ogre/input/Input.cpp:39 | 1 | 0 | 0 | ------ | ------ |
| Input( ) definition ./components/ogre/input/Input.cpp:43declaration ./components/ogre/input/Input.h:124 | 28 | 0 | 1 | 28.000 | ------ |
| UNBINDCOMMAND( ... ) declaration ./components/ogre/input/Input.cpp:40 | 1 | 0 | 0 | ------ | ------ |
| addAdapter( IInputAdapter * ) definition ./components/ogre/input/Input.cpp:481declaration ./components/ogre/input/Input.h:229 | 5 | 0 | 4 | ------ | ------ |
| deregisterCommandMapper( InputCommandMapper * ) definition ./components/ogre/input/Input.cpp:173declaration ./components/ogre/input/Input.h:283 | 5 | 0 | 4 | ------ | ------ |
| getInputMode( ) definition ./components/ogre/input/Input.cpp:462declaration ./components/ogre/input/Input.h:215 | 5 | 1 | 4 | ------ | ------ |
| getMovementModeEnabled( ) definition ./components/ogre/input/Input.cpp:149declaration ./components/ogre/input/Input.h:255 | 5 | 1 | 3 | ------ | ------ |
| initialize( int, int ) definition ./components/ogre/input/Input.cpp:83declaration ./components/ogre/input/Input.h:133 | 13 | 1 | 6 | ------ | ------ |
| isApplicationVisible( ) definition ./components/ogre/input/Input.cpp:179declaration ./components/ogre/input/Input.h:141 | 5 | 1 | 0 | ------ | ------ |
| isKeyDown( const SDLKey & ) definition ./components/ogre/input/Input.cpp:408declaration ./components/ogre/input/Input.h:194 | 5 | 1 | 5 | ------ | ------ |
| keyChanged( const SDL_KeyboardEvent & ) definition ./components/ogre/input/Input.cpp:387declaration ./components/ogre/input/Input.h:298 | 17 | 6 | 2 | ------ | 3.000 |
| keyPressed( const SDL_KeyboardEvent & ) definition ./components/ogre/input/Input.cpp:413declaration ./components/ogre/input/Input.h:300 | 19 | 11 | 3 | ------ | 3.667 |
| keyReleased( const SDL_KeyboardEvent & ) definition ./components/ogre/input/Input.cpp:441declaration ./components/ogre/input/Input.h:301 | 14 | 6 | 0 | ------ | ****** |
| pasteFromClipboard( ) definition ./components/ogre/input/Input.cpp:374declaration ./components/ogre/input/Input.h:336 | 12 | 4 | 3 | ------ | ------ |
| pollEvents( float ) definition ./components/ogre/input/Input.cpp:330declaration ./components/ogre/input/Input.h:296 | 40 | 17 | 2 | 20.000 | 8.500 |
| pollMouse( float ) definition ./components/ogre/input/Input.cpp:196declaration ./components/ogre/input/Input.h:295 | 80 | 31 | 22 | 3.636 | 1.409 |
| processInput( ) definition ./components/ogre/input/Input.cpp:184declaration ./components/ogre/input/Input.h:139 | 10 | 0 | 4 | ------ | ------ |
| registerCommandMapper( InputCommandMapper * ) definition ./components/ogre/input/Input.cpp:168declaration ./components/ogre/input/Input.h:277 | 5 | 0 | 4 | ------ | ------ |
| removeAdapter( IInputAdapter * ) definition ./components/ogre/input/Input.cpp:487declaration ./components/ogre/input/Input.h:236 | 10 | 3 | 4 | ------ | ------ |
| runCommand( const string &, const string & ) definition ./components/ogre/input/Input.cpp:107declaration ./components/ogre/input/Input.h:245 | 37 | 9 | 5 | 7.400 | 1.800 |
| setGeometry( int, int ) definition ./components/ogre/input/Input.cpp:101declaration ./components/ogre/input/Input.h:203 | 6 | 0 | 5 | ------ | ------ |
| setInputMode( InputMode ) definition ./components/ogre/input/Input.cpp:456declaration ./components/ogre/input/Input.h:209 | 6 | 0 | 4 | ------ | ------ |
| setMovementModeEnabled( bool ) definition ./components/ogre/input/Input.cpp:154declaration ./components/ogre/input/Input.h:260 | 5 | 0 | 3 | ------ | ------ |
| suppressFurtherHandlingOfCurrentEvent( ) definition ./components/ogre/input/Input.cpp:144declaration ./components/ogre/input/Input.h:250 | 5 | 0 | 3 | ------ | ------ |
| toggleInputMode( ) definition ./components/ogre/input/Input.cpp:468declaration ./components/ogre/input/Input.h:222 | 12 | 3 | 4 | ------ | ------ |
| writeToClipboard( const string & ) definition ./components/ogre/input/Input.cpp:159declaration ./components/ogre/input/Input.h:266 | 7 | 0 | 4 | ------ | ------ |
| ~Input( ) definition ./components/ogre/input/Input.cpp:78declaration ./components/ogre/input/Input.h:126 | 4 | 0 | 0 | ------ | ------ |