Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 113 | ****** |
McCabe's Cyclomatic Number | MVG | 6 | ****** |
Lines of Comment | COM | 122 | ******** |
LOC/COM | L_C | 0.926 | |
MVG/COM | M_C | 0.049 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 16 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 4 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 11 | |
Information Flow measure ( inclusive ) | IF4 | 0 | ******** |
Information Flow measure ( visible ) | IF4v | 0 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./components/ogre/MotionManager.h:38 |
13 | 0 | 20 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
MotionManager( ) declaration ./components/ogre/MotionManager.h:51 definition ./components/ogre/MotionManager.cpp:31 | 8 | 0 | 0 | ------ | ------ |
addAnimatedEntity( EmberPhysicalEntity * ) declaration ./components/ogre/MotionManager.h:81 definition ./components/ogre/MotionManager.cpp:113 | 6 | 0 | 0 | ------ | ------ |
addAnimation( AnimationState * ) declaration ./components/ogre/MotionManager.h:67 definition ./components/ogre/MotionManager.cpp:126 | 7 | 0 | 23 | ------ | ------ |
addEntity( EmberEntity * ) declaration ./components/ogre/MotionManager.h:60 definition ./components/ogre/MotionManager.cpp:97 | 7 | 0 | 6 | ------ | ------ |
doAnimationUpdate( Real ) declaration ./components/ogre/MotionManager.h:142 definition ./components/ogre/MotionManager.cpp:52 | 8 | 1 | 10 | ------ | ------ |
doMotionUpdate( Real ) declaration ./components/ogre/MotionManager.h:137 definition ./components/ogre/MotionManager.cpp:44 | 8 | 1 | 4 | ------ | ------ |
frameEnded( const FrameEvent & ) declaration ./components/ogre/MotionManager.h:93 definition ./components/ogre/MotionManager.cpp:92 | 5 | 1 | 0 | ------ | ------ |
frameStarted( const FrameEvent & ) declaration ./components/ogre/MotionManager.h:92 definition ./components/ogre/MotionManager.cpp:85 | 7 | 1 | 14 | ------ | ------ |
getInfo( ) declaration ./components/ogre/MotionManager.h:106 definition ./components/ogre/MotionManager.h:159 | 5 | 1 | 9 | ------ | ------ |
pauseAnimation( AnimationState * ) declaration ./components/ogre/MotionManager.h:75 definition ./components/ogre/MotionManager.cpp:182 | 5 | 0 | 7 | ------ | ------ |
removeAnimatedEntity( EmberPhysicalEntity * ) declaration ./components/ogre/MotionManager.h:82 definition ./components/ogre/MotionManager.cpp:119 | 6 | 0 | 0 | ------ | ------ |
removeAnimation( AnimationState * ) declaration ./components/ogre/MotionManager.h:71 definition ./components/ogre/MotionManager.cpp:155 | 9 | 1 | 18 | ------ | ------ |
removeEntity( EmberEntity * ) declaration ./components/ogre/MotionManager.h:61 definition ./components/ogre/MotionManager.cpp:104 | 6 | 0 | 1 | ------ | ------ |
unpauseAnimation( AnimationState * ) declaration ./components/ogre/MotionManager.h:79 definition ./components/ogre/MotionManager.cpp:191 | 5 | 0 | 7 | ------ | ------ |
updateMotionForEntity( EmberEntity *, Real ) declaration ./components/ogre/MotionManager.h:148 definition ./components/ogre/MotionManager.cpp:70 | 5 | 0 | 3 | ------ | ------ |
~MotionManager( ) declaration ./components/ogre/MotionManager.h:52 definition ./components/ogre/MotionManager.cpp:40 | 3 | 0 | 0 | ------ | ------ |