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:43 declaration ./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:481 declaration ./components/ogre/input/Input.h:229 | 5 | 0 | 4 | ------ | ------ |
deregisterCommandMapper( InputCommandMapper * ) definition ./components/ogre/input/Input.cpp:173 declaration ./components/ogre/input/Input.h:283 | 5 | 0 | 4 | ------ | ------ |
getInputMode( ) definition ./components/ogre/input/Input.cpp:462 declaration ./components/ogre/input/Input.h:215 | 5 | 1 | 4 | ------ | ------ |
getMovementModeEnabled( ) definition ./components/ogre/input/Input.cpp:149 declaration ./components/ogre/input/Input.h:255 | 5 | 1 | 3 | ------ | ------ |
initialize( int, int ) definition ./components/ogre/input/Input.cpp:83 declaration ./components/ogre/input/Input.h:133 | 13 | 1 | 6 | ------ | ------ |
isApplicationVisible( ) definition ./components/ogre/input/Input.cpp:179 declaration ./components/ogre/input/Input.h:141 | 5 | 1 | 0 | ------ | ------ |
isKeyDown( const SDLKey & ) definition ./components/ogre/input/Input.cpp:408 declaration ./components/ogre/input/Input.h:194 | 5 | 1 | 5 | ------ | ------ |
keyChanged( const SDL_KeyboardEvent & ) definition ./components/ogre/input/Input.cpp:387 declaration ./components/ogre/input/Input.h:298 | 17 | 6 | 2 | ------ | 3.000 |
keyPressed( const SDL_KeyboardEvent & ) definition ./components/ogre/input/Input.cpp:413 declaration ./components/ogre/input/Input.h:300 | 19 | 11 | 3 | ------ | 3.667 |
keyReleased( const SDL_KeyboardEvent & ) definition ./components/ogre/input/Input.cpp:441 declaration ./components/ogre/input/Input.h:301 | 14 | 6 | 0 | ------ | ****** |
pasteFromClipboard( ) definition ./components/ogre/input/Input.cpp:374 declaration ./components/ogre/input/Input.h:336 | 12 | 4 | 3 | ------ | ------ |
pollEvents( float ) definition ./components/ogre/input/Input.cpp:330 declaration ./components/ogre/input/Input.h:296 | 40 | 17 | 2 | 20.000 | 8.500 |
pollMouse( float ) definition ./components/ogre/input/Input.cpp:196 declaration ./components/ogre/input/Input.h:295 | 80 | 31 | 22 | 3.636 | 1.409 |
processInput( ) definition ./components/ogre/input/Input.cpp:184 declaration ./components/ogre/input/Input.h:139 | 10 | 0 | 4 | ------ | ------ |
registerCommandMapper( InputCommandMapper * ) definition ./components/ogre/input/Input.cpp:168 declaration ./components/ogre/input/Input.h:277 | 5 | 0 | 4 | ------ | ------ |
removeAdapter( IInputAdapter * ) definition ./components/ogre/input/Input.cpp:487 declaration ./components/ogre/input/Input.h:236 | 10 | 3 | 4 | ------ | ------ |
runCommand( const string &, const string & ) definition ./components/ogre/input/Input.cpp:107 declaration ./components/ogre/input/Input.h:245 | 37 | 9 | 5 | 7.400 | 1.800 |
setGeometry( int, int ) definition ./components/ogre/input/Input.cpp:101 declaration ./components/ogre/input/Input.h:203 | 6 | 0 | 5 | ------ | ------ |
setInputMode( InputMode ) definition ./components/ogre/input/Input.cpp:456 declaration ./components/ogre/input/Input.h:209 | 6 | 0 | 4 | ------ | ------ |
setMovementModeEnabled( bool ) definition ./components/ogre/input/Input.cpp:154 declaration ./components/ogre/input/Input.h:260 | 5 | 0 | 3 | ------ | ------ |
suppressFurtherHandlingOfCurrentEvent( ) definition ./components/ogre/input/Input.cpp:144 declaration ./components/ogre/input/Input.h:250 | 5 | 0 | 3 | ------ | ------ |
toggleInputMode( ) definition ./components/ogre/input/Input.cpp:468 declaration ./components/ogre/input/Input.h:222 | 12 | 3 | 4 | ------ | ------ |
writeToClipboard( const string & ) definition ./components/ogre/input/Input.cpp:159 declaration ./components/ogre/input/Input.h:266 | 7 | 0 | 4 | ------ | ------ |
~Input( ) definition ./components/ogre/input/Input.cpp:78 declaration ./components/ogre/input/Input.h:126 | 4 | 0 | 0 | ------ | ------ |