Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 59 | ****** |
McCabe's Cyclomatic Number | MVG | 10 | ****** |
Lines of Comment | COM | 26 | ******** |
LOC/COM | L_C | 2.269 | |
MVG/COM | M_C | 0.385 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 3 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 3 | |
Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
Information Flow measure ( visible ) | IF4v | 0 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./services/input/InputDevice.h:241 |
8 | 0 | 14 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
KeyboardDevice( ) definition ./services/input/InputDevice.cpp:124 declaration ./services/input/InputDevice.h:264 | 18 | 2 | 7 | ------ | ------ |
getKeyState( SDLKey ) definition ./services/input/InputDevice.cpp:151 declaration ./services/input/InputDevice.h:274 | 10 | 4 | 2 | ------ | ------ |
handleEvent( SDL_Event & ) definition ./services/input/InputDevice.cpp:162 declaration ./services/input/InputDevice.h:281 | 18 | 4 | 0 | ------ | ------ |
~KeyboardDevice( ) definition ./services/input/InputDevice.cpp:146 declaration ./services/input/InputDevice.h:269 | 5 | 0 | 3 | ------ | ------ |
Clients | Suppliers |
---|---|
InputDevice [CV] inheritance ./services/input/InputDevice.h:241 SDLKey [CV] pass by value ./services/input/InputDevice.cpp:151 pass by value ./services/input/InputDevice.h:274 SDL_Event [V] pass by reference ./services/input/InputDevice.cpp:162 pass by reference ./services/input/InputDevice.h:281 |