Detailed report on module InputCommandMapper

MetricTagOverallPer Function
Lines of CodeLOC 258******
McCabe's Cyclomatic NumberMVG 18******
Lines of CommentCOM 135********
LOC/COML_C 1.911 
MVG/COMM_C 0.133 
Weighted Methods per Class (  weighting = unity )WMC1 17 
Weighted Methods per Class (  weighting = visible )WMCv 0 
Depth of Inheritance TreeDIT 1 
Number of ChildrenNOC 0 
Coupling between objectsCBO 11 
Information Flow measure (  inclusive )IF4 324********
Information Flow measure (  visible )IF4v 324********
Information Flow measure (  concrete )IF4c 49********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
definition   ./components/ogre/input/InputCommandMapper.h:42
14 0 26------------
declaration   ./components/ogre/input/Input.h:40
1 0 0------------
declaration   ./components/ogre/input/Input.h:84
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
InputCommandMapper(  const string & )
definition   ./components/ogre/input/InputCommandMapper.cpp:33
declaration   ./components/ogre/input/InputCommandMapper.h:54

5 0 5------------
InputCommandMapper(  const string &,  const string & )
definition   ./components/ogre/input/InputCommandMapper.cpp:38
declaration   ./components/ogre/input/InputCommandMapper.h:62

6 0 6------------
Input_EventKeyPressed(  const SDL_keysym &,  InputMode )
definition   ./components/ogre/input/InputCommandMapper.cpp:63
declaration   ./components/ogre/input/InputCommandMapper.h:132

11 3 6------------
Input_EventKeyReleased(  const SDL_keysym &,  InputMode )
definition   ./components/ogre/input/InputCommandMapper.cpp:76
declaration   ./components/ogre/input/InputCommandMapper.h:138

13 4 8------------
bindCommand(  const string &,  const string & )
definition   ./components/ogre/input/InputCommandMapper.cpp:111
declaration   ./components/ogre/input/InputCommandMapper.h:75

6 0 5------------
bindToInput(  Input & )
definition   ./components/ogre/input/InputCommandMapper.cpp:92
declaration   ./components/ogre/input/InputCommandMapper.h:111

8 0 4------------
getCommandForKey(  SDLKey )
definition   ./components/ogre/input/InputCommandMapper.cpp:123
declaration   ./components/ogre/input/InputCommandMapper.h:155

13 4 6------------
getEnabled(   )
declaration   ./components/ogre/input/InputCommandMapper.h:105
definition   ./components/ogre/input/InputCommandMapper.h:193

2 1 4------------
getState(   )
declaration   ./components/ogre/input/InputCommandMapper.h:87
definition   ./components/ogre/input/InputCommandMapper.h:190

2 1 4------------
initKeyMap(   )
definition   ./components/ogre/input/InputCommandMapper.cpp:165
declaration   ./components/ogre/input/InputCommandMapper.h:165

136 0 30 4.533------
isActiveForInputMode(  InputMode )
definition   ./components/ogre/input/InputCommandMapper.cpp:100
declaration   ./components/ogre/input/InputCommandMapper.h:182

9 3 6------------
readFromConfigSection(  const string & )
definition   ./components/ogre/input/InputCommandMapper.cpp:51
declaration   ./components/ogre/input/InputCommandMapper.h:93

8 1 5------------
restrictToInputMode(  InputMode )
declaration   ./components/ogre/input/InputCommandMapper.h:123
definition   ./components/ogre/input/InputCommandMapper.h:196

6 0 4------------
restrictToInputModes(  InputModeStore )
declaration   ./components/ogre/input/InputCommandMapper.h:117
definition   ./components/ogre/input/InputCommandMapper.h:195

2 0 4------------
setEnabled(  bool )
declaration   ./components/ogre/input/InputCommandMapper.h:99
definition   ./components/ogre/input/InputCommandMapper.h:192

2 0 4------------
unbindCommand(  const string & )
definition   ./components/ogre/input/InputCommandMapper.cpp:117
declaration   ./components/ogre/input/InputCommandMapper.h:81

6 0 4------------
~InputCommandMapper(   )
definition   ./components/ogre/input/InputCommandMapper.cpp:44
declaration   ./components/ogre/input/InputCommandMapper.h:68

7 1 4------------

Relationships

ClientsSuppliers
AvatarController [CV]
has by value   ./components/ogre/AvatarController.h:179


Input [V]
pass by reference   ./components/ogre/input/Input.cpp:168
pass by reference   ./components/ogre/input/Input.cpp:173
pass by reference   ./components/ogre/input/Input.h:277
pass by reference   ./components/ogre/input/Input.h:283


 
Input [V]
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:92
pass by reference   ./components/ogre/input/InputCommandMapper.h:111
has by reference   ./components/ogre/input/InputCommandMapper.h:187


InputModeStore [CV]
pass by value   ./components/ogre/input/InputCommandMapper.h:117
has by value   ./components/ogre/input/InputCommandMapper.h:175
pass by value   ./components/ogre/input/InputCommandMapper.h:195


KeyCommandStore [CV]
has by value   ./components/ogre/input/InputCommandMapper.h:143


KeyMapStore [CV]
has by value   ./components/ogre/input/InputCommandMapper.h:160


SDLKey [CV]
pass by value   ./components/ogre/input/InputCommandMapper.cpp:123
pass by value   ./components/ogre/input/InputCommandMapper.h:155


SDL_keysym [V]
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:63
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:76
pass by reference   ./components/ogre/input/InputCommandMapper.h:132
pass by reference   ./components/ogre/input/InputCommandMapper.h:138


bool [CV]
pass by value   ./components/ogre/input/InputCommandMapper.h:99
has by value   ./components/ogre/input/InputCommandMapper.h:170
pass by value   ./components/ogre/input/InputCommandMapper.h:192


string [CV]
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:33
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:38
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:38
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:51
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:111
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:111
pass by reference   ./components/ogre/input/InputCommandMapper.cpp:117
pass by reference   ./components/ogre/input/InputCommandMapper.h:54
pass by reference   ./components/ogre/input/InputCommandMapper.h:62
pass by reference   ./components/ogre/input/InputCommandMapper.h:62
pass by reference   ./components/ogre/input/InputCommandMapper.h:75
pass by reference   ./components/ogre/input/InputCommandMapper.h:75
pass by reference   ./components/ogre/input/InputCommandMapper.h:81
pass by reference   ./components/ogre/input/InputCommandMapper.h:93
has by value   ./components/ogre/input/InputCommandMapper.h:148


trackable [CV]
inheritance   ./components/ogre/input/InputCommandMapper.h:42