| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 184 | ****** |
| McCabe's Cyclomatic Number | MVG | 25 | ****** |
| Lines of Comment | COM | 171 | ******** |
| LOC/COM | L_C | 1.076 | |
| MVG/COM | M_C | 0.146 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 14 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 14 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 9 | |
| Information Flow measure ( inclusive ) | IF4 | 64 | ******** |
| Information Flow measure ( visible ) | IF4v | 49 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./services/input/InputMapping.h:117 |
25 | 0 | 92 | 0.272 | ------ |
declaration
./services/input/InputDevice.h:98 |
1 | 0 | 16 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| InputMapping( InputDevice *, InputDevice *, SDLKey, SDLKey, SDLMod, InputSignalType, const InputSlot & ) definition ./services/input/InputMapping.h:312 | 13 | 0 | 3 | ------ | ------ |
| InputMapping( InputDevice *, InputDevice *, SDLKey, SDLMod, InputSignalType, const InputSlot & ) definition ./services/input/InputMapping.h:293 | 13 | 0 | 3 | ------ | ------ |
| InputMapping( InputDevice *, SDLKey, SDLKey, SDLMod, bool, const InputSlot & ) definition ./services/input/InputMapping.h:274 | 13 | 1 | 3 | ------ | ------ |
| InputMapping( InputDevice *, SDLKey, SDLKey, bool, const InputSlot & ) definition ./services/input/InputMapping.h:256 | 13 | 1 | 3 | ------ | ------ |
| InputMapping( InputDevice *, SDLKey, SDLMod, bool, const InputSlot & ) definition ./services/input/InputMapping.h:237 | 13 | 1 | 3 | ------ | ------ |
| InputMapping( InputDevice *, SDLKey, bool, const InputSlot & ) definition ./services/input/InputMapping.h:220 | 13 | 1 | 3 | ------ | ------ |
| InputMapping( InputDevice *, const InputSlot & ) definition ./services/input/InputMapping.h:205 | 9 | 0 | 22 | ------ | ------ |
| getKeyDevice( ) definition ./services/input/InputMapping.h:336 | 4 | 1 | 2 | ------ | ------ |
| getMotionDevice( ) definition ./services/input/InputMapping.h:341 | 4 | 1 | 0 | ------ | ------ |
| getSignal( ) definition ./services/input/InputMapping.h:346 | 4 | 1 | 0 | ------ | ------ |
| keyPressed( DimeKey &, SDLMod ) definition ./services/input/InputMapping.h:363 | 31 | 12 | 6 | 5.167 | 2.000 |
| keyReleased( DimeKey & ) definition ./services/input/InputMapping.h:407 | 14 | 4 | 7 | ------ | ------ |
| motion( ) definition ./services/input/InputMapping.h:431 | 11 | 2 | 6 | ------ | ------ |
| ~InputMapping( ) definition ./services/input/InputMapping.h:328 | 3 | 0 | 2 | ------ | ------ |