Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 97 | ****** |
McCabe's Cyclomatic Number | MVG | 4 | ****** |
Lines of Comment | COM | 96 | ******** |
LOC/COM | L_C | 1.010 | |
MVG/COM | M_C | ------ | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 32 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 24 | |
Information Flow measure ( inclusive ) | IF4 | 529 | ******** |
Information Flow measure ( visible ) | IF4v | 529 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./components/ogre/AvatarCamera.h:67 |
47 | 0 | 12 | 3.917 | ------ |
declaration
./components/ogre/AvatarController.h:38 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/Avatar.h:43 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
AvatarCamera( SceneNode *, SceneManager *, RenderWindow *, GUIManager *, Camera * ) declaration ./components/ogre/AvatarCamera.h:80 definition ./components/ogre/AvatarCamera.cpp:109 | 2 | 0 | 0 | ------ | ------ |
ConfigService_EventChangedConfigItem( const string &, const string & ) declaration ./components/ogre/AvatarCamera.h:292 | 1 | 0 | 0 | ------ | ------ |
Input_MouseMoved( const MouseMotion &, InputMode ) declaration ./components/ogre/AvatarCamera.h:290 | 1 | 0 | 0 | ------ | ------ |
_setCameraDistance( Real ) declaration ./components/ogre/AvatarCamera.h:300 | 1 | 0 | 4 | ------ | ------ |
_takeScreenshot( ) declaration ./components/ogre/AvatarCamera.h:256 | 1 | 0 | 0 | ------ | ------ |
adjustForTerrain( ) declaration ./components/ogre/AvatarCamera.h:172 | 1 | 0 | 4 | ------ | ------ |
attach( SceneNode * ) declaration ./components/ogre/AvatarCamera.h:166 | 1 | 0 | 4 | ------ | ------ |
createNodesForCamera( ) declaration ./components/ogre/AvatarCamera.h:254 | 1 | 0 | 3 | ------ | ------ |
createRayQueries( ) declaration ./components/ogre/AvatarCamera.h:248 | 1 | 0 | 3 | ------ | ------ |
createViewPort( ) declaration ./components/ogre/AvatarCamera.h:258 | 1 | 0 | 0 | ------ | ------ |
enableCompositor( const string &, bool ) declaration ./components/ogre/AvatarCamera.h:200 | 1 | 0 | 6 | ------ | ------ |
frameStarted( const FrameEvent & ) declaration ./components/ogre/AvatarCamera.h:192 | 1 | 0 | 3 | ------ | ------ |
getCamera( ) declaration ./components/ogre/AvatarCamera.h:106 declaration ./components/ogre/AvatarCamera.h:107 definition ./components/ogre/AvatarCamera.h:317 definition ./components/ogre/AvatarCamera.h:320 | 8 | 2 | 3 | ------ | ------ |
getClosestPickingDistance( ) declaration ./components/ogre/AvatarCamera.h:151 | 1 | 0 | 0 | ------ | ------ |
getOrientation( bool ) declaration ./components/ogre/AvatarCamera.h:112 | 1 | 0 | 3 | ------ | ------ |
getPitch( ) declaration ./components/ogre/AvatarCamera.h:96 definition ./components/ogre/AvatarCamera.h:307 | 5 | 1 | 4 | ------ | ------ |
getPosition( ) declaration ./components/ogre/AvatarCamera.h:119 | 1 | 0 | 4 | ------ | ------ |
getYaw( ) declaration ./components/ogre/AvatarCamera.h:101 definition ./components/ogre/AvatarCamera.h:312 | 5 | 1 | 3 | ------ | ------ |
pickInWorld( Real, Real, const MousePickerArgs & ) declaration ./components/ogre/AvatarCamera.h:145 | 1 | 0 | 3 | ------ | ------ |
pitch( Degree ) declaration ./components/ogre/AvatarCamera.h:86 | 1 | 0 | 3 | ------ | ------ |
pushWorldPickListener( IWorldPickListener * ) declaration ./components/ogre/AvatarCamera.h:207 | 1 | 0 | 4 | ------ | ------ |
runCommand( const string &, const string & ) declaration ./components/ogre/AvatarCamera.h:180 | 1 | 0 | 5 | ------ | ------ |
setAvatarNode( SceneNode * ) declaration ./components/ogre/AvatarCamera.h:127 | 1 | 0 | 3 | ------ | ------ |
setCameraDistance( Real ) declaration ./components/ogre/AvatarCamera.h:187 | 1 | 0 | 4 | ------ | ------ |
setClosestPickingDistance( Real ) declaration ./components/ogre/AvatarCamera.h:150 | 1 | 0 | 2 | ------ | ------ |
setMode( Mode ) declaration ./components/ogre/AvatarCamera.h:122 | 1 | 0 | 0 | ------ | ------ |
takeScreenshot( ) declaration ./components/ogre/AvatarCamera.h:223 | 1 | 0 | 3 | ------ | ------ |
toggleRenderMode( ) declaration ./components/ogre/AvatarCamera.h:218 | 1 | 0 | 3 | ------ | ------ |
updateValuesFromConfig( ) declaration ./components/ogre/AvatarCamera.h:294 | 1 | 0 | 0 | ------ | ------ |
worldToScreen( const Vector3 &, Vector3 & ) declaration ./components/ogre/AvatarCamera.h:160 | 1 | 0 | 7 | ------ | ------ |
yaw( Degree ) declaration ./components/ogre/AvatarCamera.h:91 | 1 | 0 | 3 | ------ | ------ |
~AvatarCamera( ) declaration ./components/ogre/AvatarCamera.h:81 | 1 | 0 | 0 | ------ | ------ |