Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 129 | ****** |
McCabe's Cyclomatic Number | MVG | 29 | ****** |
Lines of Comment | COM | 112 | ******** |
LOC/COM | L_C | 1.152 | |
MVG/COM | M_C | 0.259 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 11 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 7 | |
Depth of Inheritance Tree | DIT | 2 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 4 | |
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 |
---|---|---|---|---|---|
declaration
./services/EmberServices.h:31 |
1 | 0 | 0 | ------ | ------ |
definition
./services/input/InputService.h:58 |
15 | 0 | 43 | ------ | ------ |
declaration
./services/input/InputDevice.h:102 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
InputService( ) definition ./services/input/InputService.h:324 | 5 | 0 | 3 | ------ | ------ |
addInputMapping( InputMapping * ) definition ./services/input/InputService.h:149 | 14 | 2 | 5 | ------ | ------ |
getDevices( ) definition ./services/input/InputService.h:217 | 4 | 1 | 3 | ------ | ------ |
getInputDevice( ... ) definition ./services/input/InputService.h:229 | 18 | 7 | 6 | ------ | 1.167 |
getInputMappings( ) definition ./services/input/InputService.h:139 | 4 | 1 | 5 | ------ | ------ |
getInstance( ) definition ./services/input/InputService.h:112 | 5 | 1 | 5 | ------ | ------ |
handleEvent( SDL_Event & ) definition ./services/input/InputService.h:305 | 8 | 4 | 9 | ------ | ------ |
removeInputMapping( InputMapping * ) definition ./services/input/InputService.h:171 | 37 | 11 | 3 | 12.333 | 3.667 |
start( ) definition ./services/input/InputService.h:267 | 6 | 1 | 18 | ------ | ------ |
stop( int ) definition ./services/input/InputService.h:285 | 4 | 0 | 8 | ------ | ------ |
~InputService( ) definition ./services/input/InputService.h:123 | 7 | 1 | 4 | ------ | ------ |
Clients | Suppliers |
---|---|
InputMapping [V] pass by reference ./services/input/InputService.h:149 pass by reference ./services/input/InputService.h:171 SDL_Event [V] pass by reference ./services/input/InputService.h:305 Service [CV] inheritance ./services/input/InputService.h:58 vector [CV] has by value ./services/input/InputService.h:95 has by value ./services/input/InputService.h:99 |