| 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:98pass by reference ./services/input/InputDevice.cpp:108pass by value ./services/input/InputDevice.h:195pass by reference ./services/input/InputDevice.h:231pass by reference ./services/input/InputDevice.h:232InputMapping [V] pass by reference ./services/input/InputMapping.h:363pass by reference ./services/input/InputMapping.h:407RepetitionDevice [V] pass by reference ./services/input/InputDevice.cpp:326pass by reference ./services/input/RepetitionDevice.h:75 |
SDLKey [CV] has by value ./services/input/EmberKey.h:37pass by value ./services/input/EmberKey.h:41pass by value ./services/input/EmberKey.h:60Uint16 [CV] has by value ./services/input/EmberKey.h:39pass by value ./services/input/EmberKey.h:41pass by value ./services/input/EmberKey.h:65 |