| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 12 | ****** |
| McCabe's Cyclomatic Number | MVG | 0 | ****** |
| Lines of Comment | COM | 34 | ******** |
| LOC/COM | L_C | ------ | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 7 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 2 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 4 | |
| Coupling between objects | CBO | 7 | |
| Information Flow measure ( inclusive ) | IF4 | 100 | ******** |
| Information Flow measure ( visible ) | IF4v | 100 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./components/ogre/input/IInputAdapter.h:37 |
4 | 0 | 3 | ------ | ------ |
declaration
./components/ogre/input/Input.h:39 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| injectChar( char ) declaration ./components/ogre/input/IInputAdapter.h:66 | 1 | 0 | 5 | ------ | ------ |
| injectKeyDown( const SDLKey & ) declaration ./components/ogre/input/IInputAdapter.h:72 | 1 | 0 | 5 | ------ | ------ |
| injectKeyUp( const SDLKey & ) declaration ./components/ogre/input/IInputAdapter.h:78 | 1 | 0 | 5 | ------ | ------ |
| injectMouseButtonDown( const MouseButton & ) declaration ./components/ogre/input/IInputAdapter.h:60 | 1 | 0 | 5 | ------ | ------ |
| injectMouseButtonUp( const MouseButton & ) declaration ./components/ogre/input/IInputAdapter.h:54 | 1 | 0 | 5 | ------ | ------ |
| injectMouseMove( const MouseMotion &, bool & ) declaration ./components/ogre/input/IInputAdapter.h:48 | 1 | 0 | 6 | ------ | ------ |
| ~IInputAdapter( ) definition ./components/ogre/input/IInputAdapter.h:41 | 1 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
EntityMoveAdapter [CV] inheritance ./components/ogre/manipulation/EntityMoveAdapter.h:41GUICEGUIAdapter [CV] inheritance ./components/ogre/GUICEGUIAdapter.h:50Input [V] pass by reference ./components/ogre/input/Input.cpp:481pass by reference ./components/ogre/input/Input.cpp:487pass by reference ./components/ogre/input/Input.h:229pass by reference ./components/ogre/input/Input.h:236MovableObjectRenderer [CV] inheritance ./components/ogre/widgets/MovableObjectRenderer.h:46TerrainEditor [CV] inheritance ./components/ogre/terrain/TerrainEditor.h:220 |
SDLKey [V] pass by reference ./components/ogre/input/IInputAdapter.h:72pass by reference ./components/ogre/input/IInputAdapter.h:78bool [V] pass by reference ./components/ogre/input/IInputAdapter.h:48 |