Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 30 | ****** |
McCabe's Cyclomatic Number | MVG | 2 | ****** |
Lines of Comment | COM | 6 | ******** |
LOC/COM | L_C | 5.000 | |
MVG/COM | M_C | ------ | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 6 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 6 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 5 | |
Information Flow measure ( inclusive ) | IF4 | 36 | ******** |
Information Flow measure ( visible ) | IF4v | 36 | ******** |
Information Flow measure ( concrete ) | IF4c | 4 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./services/input/EmberKey.h:33 |
7 | 0 | 6 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
DimeKey( SDLKey, Uint16 ) definition ./services/input/EmberKey.h:41 | 4 | 0 | 0 | ------ | ------ |
getKey( ) definition ./services/input/EmberKey.h:50 | 4 | 1 | 0 | ------ | ------ |
getUnicode( ) definition ./services/input/EmberKey.h:55 | 4 | 1 | 0 | ------ | ------ |
setKey( SDLKey ) definition ./services/input/EmberKey.h:60 | 4 | 0 | 0 | ------ | ------ |
setUnicode( Uint16 ) definition ./services/input/EmberKey.h:65 | 4 | 0 | 0 | ------ | ------ |
~DimeKey( ) definition ./services/input/EmberKey.h:46 | 3 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
InputDevice [CV] pass by reference ./services/input/InputDevice.cpp:98 pass by reference ./services/input/InputDevice.cpp:108 pass by value ./services/input/InputDevice.h:195 pass by reference ./services/input/InputDevice.h:231 pass by reference ./services/input/InputDevice.h:232 InputMapping [V] pass by reference ./services/input/InputMapping.h:363 pass by reference ./services/input/InputMapping.h:407 RepetitionDevice [V] pass by reference ./services/input/InputDevice.cpp:326 pass by reference ./services/input/RepetitionDevice.h:75 |
SDLKey [CV] has by value ./services/input/EmberKey.h:37 pass by value ./services/input/EmberKey.h:41 pass by value ./services/input/EmberKey.h:60 Uint16 [CV] has by value ./services/input/EmberKey.h:39 pass by value ./services/input/EmberKey.h:41 pass by value ./services/input/EmberKey.h:65 |