Detailed report on module InputDevice

MetricTagOverallPer Function
Lines of CodeLOC 131******
McCabe's Cyclomatic NumberMVG 15******
Lines of CommentCOM 58********
LOC/COML_C 2.259 
MVG/COMM_C 0.259 
Weighted Methods per Class (  weighting = unity )WMC1 14 
Weighted Methods per Class (  weighting = visible )WMCv 14 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 3 
Coupling between objectsCBO 9 
Information Flow measure (  inclusive )IF4 400********
Information Flow measure (  visible )IF4v 400********
Information Flow measure (  concrete )IF4c 144********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./services/input/InputService.h:60
1 0 0------------
declaration   ./services/input/InputMapping.h:119
1 0 0------------
definition   ./services/input/InputDevice.h:100
34 0 22 1.545------

Functions

Function prototypeLOCMVGCOML_CM_C
InputDevice(  DeviceType,  int,  int )
definition   ./services/input/InputDevice.cpp:26
declaration   ./services/input/InputDevice.h:178

9 0 11------------
getAxis(  int )
declaration   ./services/input/InputDevice.h:190

1 0 0------------
getAxisCount(   )
definition   ./services/input/InputDevice.cpp:70
declaration   ./services/input/InputDevice.h:189

5 1 0------------
getAxisPosition(  int )
definition   ./services/input/InputDevice.cpp:75
declaration   ./services/input/InputDevice.h:191

5 1 0------------
getAxisScaledPosition(  int )
definition   ./services/input/InputDevice.cpp:80
declaration   ./services/input/InputDevice.h:192

6 1 0------------
getKeyState(  DimeKey )
definition   ./services/input/InputDevice.h:195

4 1 0------------
getKeyState(  SDLKey )
definition   ./services/input/InputDevice.cpp:92
declaration   ./services/input/InputDevice.h:194

5 1 1------------
getType(   )
definition   ./services/input/InputDevice.cpp:65
declaration   ./services/input/InputDevice.h:188

5 1 2------------
handleEvent(  SDL_Event & )
definition   ./services/input/InputDevice.h:221

4 1 6------------
initAxis(   )
definition   ./services/input/InputDevice.cpp:86
declaration   ./services/input/InputDevice.h:214

4 0 9------------
keyPressed(  DimeKey & )
definition   ./services/input/InputDevice.cpp:98
declaration   ./services/input/InputDevice.h:231

9 1 3------------
keyReleased(  DimeKey & )
definition   ./services/input/InputDevice.cpp:108
declaration   ./services/input/InputDevice.h:232

8 1 0------------
motion(   )
definition   ./services/input/InputDevice.cpp:116
declaration   ./services/input/InputDevice.h:233

8 1 0------------
~InputDevice(   )
definition   ./services/input/InputDevice.cpp:38
declaration   ./services/input/InputDevice.h:183

22 5 4 5.500 1.250

Relationships

ClientsSuppliers
InputMapping [V]
has by reference   ./services/input/InputMapping.h:164
has by reference   ./services/input/InputMapping.h:165
pass by reference   ./services/input/InputMapping.h:205
pass by reference   ./services/input/InputMapping.h:220
pass by reference   ./services/input/InputMapping.h:237
pass by reference   ./services/input/InputMapping.h:256
pass by reference   ./services/input/InputMapping.h:274
pass by reference   ./services/input/InputMapping.h:293
pass by reference   ./services/input/InputMapping.h:294
pass by reference   ./services/input/InputMapping.h:312
pass by reference   ./services/input/InputMapping.h:313


KeyboardDevice [CV]
inheritance   ./services/input/InputDevice.h:241


MouseDevice [CV]
inheritance   ./services/input/InputDevice.h:288


RepetitionDevice [CV]
pass by reference   ./services/input/InputDevice.cpp:325
pass by reference   ./services/input/InputDevice.cpp:325
inheritance   ./services/input/RepetitionDevice.h:54
pass by reference   ./services/input/RepetitionDevice.h:74
pass by reference   ./services/input/RepetitionDevice.h:74


 
DimeKey [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


MappingVector [CV]
has by value   ./services/input/InputDevice.h:157
has by value   ./services/input/InputDevice.h:158


SDLKey [CV]
pass by value   ./services/input/InputDevice.cpp:92
pass by value   ./services/input/InputDevice.h:194


SDL_Event [V]
pass by reference   ./services/input/InputDevice.h:221


vector [CV]
has by value   ./services/input/InputDevice.h:153
has by value   ./services/input/InputDevice.h:154
has by value   ./services/input/InputDevice.h:155