Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 258 | ****** |
McCabe's Cyclomatic Number | MVG | 37 | ****** |
Lines of Comment | COM | 266 | ******** |
LOC/COM | L_C | 0.970 | |
MVG/COM | M_C | 0.139 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 23 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 5 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 19 | |
Information Flow measure ( inclusive ) | IF4 | 6084 | ******** |
Information Flow measure ( visible ) | IF4v | 4225 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/widgets/MakeEntityWidget.h:34 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/AvatarCamera.h:41 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/AvatarEmberEntity.h:26 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/AvatarEmberEntity.h:37 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/AvatarController.h:36 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/EmberEntityFactory.h:36 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/Avatar.h:64 |
27 | 0 | 68 | 0.397 | ------ |
declaration
./services/server/ConnectedAdapter.h:29 |
1 | 0 | 0 | ------ | ------ |
declaration
./services/server/ServerService.h:34 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Avatar( ) definition ./components/ogre/Avatar.cpp:54 declaration ./components/ogre/Avatar.h:73 | 15 | 0 | 6 | ------ | ------ |
ConfigService_EventChangedConfigItem( const string &, const string & ) definition ./components/ogre/Avatar.cpp:393 declaration ./components/ogre/Avatar.h:299 | 17 | 6 | 5 | ------ | 1.200 |
adjustAvatarToNewPosition( AvatarControllerMovement * ) definition ./components/ogre/Avatar.cpp:259 declaration ./components/ogre/Avatar.h:159 | 7 | 1 | 9 | ------ | ------ |
attemptJump( ) definition ./components/ogre/Avatar.cpp:269 declaration ./components/ogre/Avatar.h:219 | 2 | 0 | 3 | ------ | ------ |
attemptMove( AvatarControllerMovement & ) definition ./components/ogre/Avatar.cpp:181 declaration ./components/ogre/Avatar.h:195 | 49 | 11 | 25 | 1.960 | 0.440 |
attemptRotate( AvatarControllerMovement & ) definition ./components/ogre/Avatar.cpp:272 declaration ./components/ogre/Avatar.h:206 | 13 | 4 | 21 | ------ | ------ |
attemptStop( ) declaration ./components/ogre/Avatar.h:214 | 1 | 0 | 5 | ------ | ------ |
avatar_LocationChanged( Entity * ) definition ./components/ogre/Avatar.cpp:349 declaration ./components/ogre/Avatar.h:305 | 5 | 0 | 5 | ------ | ------ |
createAvatar( ) definition ./components/ogre/Avatar.cpp:92 declaration ./components/ogre/Avatar.h:226 | 6 | 0 | 31 | ------ | ------ |
createAvatarCameras( SceneNode * ) declaration ./components/ogre/Avatar.h:232 | 1 | 0 | 3 | ------ | ------ |
createdAvatarEmberEntity( AvatarEmberEntity * ) definition ./components/ogre/Avatar.cpp:356 declaration ./components/ogre/Avatar.h:100 | 19 | 1 | 11 | ------ | ------ |
frameStarted( const FrameEvent & ) definition ./components/ogre/Avatar.cpp:129 declaration ./components/ogre/Avatar.h:94 | 14 | 3 | 18 | ------ | ------ |
getAvatarCamera( ) definition ./components/ogre/Avatar.cpp:307 declaration ./components/ogre/Avatar.h:81 | 5 | 1 | 4 | ------ | ------ |
getAvatarEmberEntity( ) definition ./components/ogre/Avatar.cpp:312 declaration ./components/ogre/Avatar.h:124 | 5 | 1 | 4 | ------ | ------ |
getAvatarSceneNode( ) declaration ./components/ogre/Avatar.h:87 definition ./components/ogre/Avatar.h:329 | 5 | 1 | 4 | ------ | ------ |
isAdmin( ) declaration ./components/ogre/Avatar.h:148 definition ./components/ogre/Avatar.h:325 | 5 | 1 | 3 | ------ | ------ |
isOkayToSendRotationMovementChangeToServer( ) definition ./components/ogre/Avatar.cpp:301 declaration ./components/ogre/Avatar.h:165 | 5 | 1 | 4 | ------ | ------ |
movedInWorld( ) definition ./components/ogre/Avatar.cpp:323 declaration ./components/ogre/Avatar.h:105 | 12 | 2 | 16 | ------ | ------ |
setAvatarController( AvatarController * ) definition ./components/ogre/Avatar.cpp:318 declaration ./components/ogre/Avatar.h:118 | 5 | 0 | 4 | ------ | ------ |
setMinIntervalOfRotationChanges( Real ) definition ./components/ogre/Avatar.cpp:87 declaration ./components/ogre/Avatar.h:133 | 5 | 0 | 6 | ------ | ------ |
updateFrame( AvatarControllerMovement & ) definition ./components/ogre/Avatar.cpp:163 declaration ./components/ogre/Avatar.h:112 | 9 | 1 | 8 | ------ | ------ |
updateFromConfig( ) definition ./components/ogre/Avatar.cpp:410 declaration ./components/ogre/Avatar.h:310 | 14 | 3 | 3 | ------ | ------ |
~Avatar( ) definition ./components/ogre/Avatar.cpp:82 declaration ./components/ogre/Avatar.h:74 | 4 | 0 | 0 | ------ | ------ |