Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 762 | ****** |
McCabe's Cyclomatic Number | MVG | 151 | ****** |
Lines of Comment | COM | 393 | ******** |
LOC/COM | L_C | 1.939 | |
MVG/COM | M_C | 0.384 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 58 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 2 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 37 | |
Information Flow measure ( inclusive ) | IF4 | 115600 | ******** |
Information Flow measure ( visible ) | IF4v | 115600 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
Build( const OPCODECREATE & ) definition ./components/ogre/ogreopcode/src/Opcode/OPC_Model.cpp:139 | 40 | 17 | 25 | 1.600 | 0.680 |
GetUsedBytes( ) definition ./components/ogre/ogreopcode/src/Opcode/OPC_Model.cpp:218 | 5 | 3 | 6 | ------ | ------ |
Model( ) definition ./components/ogre/ogreopcode/src/Opcode/OPC_Model.cpp:102 declaration ./components/ogre/ogreopcode/include/Opcode/OPC_Model.h:31 | 5 | 0 | 6 | ------ | ------ |
Model( const string & ) definition ./components/ogre/model/Model.cpp:57 declaration ./components/ogre/model/Model.h:277 | 12 | 0 | 18 | ------ | ------ |
Release( ) definition ./components/ogre/ogreopcode/src/Opcode/OPC_Model.cpp:124 | 5 | 0 | 5 | ------ | ------ |
_notifyAttached( Node *, bool ) definition ./components/ogre/model/Model.cpp:955 declaration ./components/ogre/model/Model.h:239 | 10 | 1 | 2 | ------ | ------ |
_notifyCurrentCamera( Camera * ) definition ./components/ogre/model/Model.cpp:770 declaration ./components/ogre/model/Model.h:200 | 20 | 4 | 9 | 2.222 | ------ |
_notifyManager( SceneManager * ) definition ./components/ogre/model/Model.cpp:139 declaration ./components/ogre/model/Model.h:118 | 9 | 1 | 1 | ------ | ------ |
_updateRenderQueue( RenderQueue * ) definition ./components/ogre/model/Model.cpp:866 declaration ./components/ogre/model/Model.h:221 | 21 | 5 | 7 | 3.000 | 0.714 |
addQueryFlags( long ) definition ./components/ogre/model/Model.cpp:927 declaration ./components/ogre/model/Model.h:233 | 10 | 1 | 1 | ------ | ------ |
addSubmodel( SubModel * ) definition ./components/ogre/model/Model.cpp:358 declaration ./components/ogre/model/Model.h:139 | 13 | 3 | 2 | ------ | ------ |
attachObjectToAttachPoint( ... ) declaration ./components/ogre/model/Model.h:252 | 1 | 0 | 0 | ------ | ------ |
attachObjectToAttachPoint( const String &, MovableObject *, const Vector3 &, const Quaternion &, const Vector3 & ) definition ./components/ogre/model/Model.cpp:640 | 18 | 4 | 1 | ------ | ------ |
attachObjectToBone( ... ) declaration ./components/ogre/model/Model.h:185 declaration ./components/ogre/model/Model.h:251 | 2 | 0 | 0 | ------ | ------ |
attachObjectToBone( const String &, MovableObject *, const Quaternion &, const Vector3 & ) definition ./components/ogre/model/Model.cpp:700 | 4 | 1 | 0 | ------ | ------ |
attachObjectToBone( const String &, MovableObject *, const Quaternion &, const Vector3 &, const Vector3 & ) definition ./components/ogre/model/Model.cpp:705 | 16 | 3 | 2 | ------ | ------ |
create( const string & ) definition ./components/ogre/model/Model.cpp:108 declaration ./components/ogre/model/Model.h:285 | 24 | 8 | 13 | 1.846 | 0.615 |
createActions( ) definition ./components/ogre/model/Model.cpp:271 declaration ./components/ogre/model/Model.h:295 | 37 | 7 | 2 | 18.500 | 3.500 |
createFromDefn( ) definition ./components/ogre/model/Model.cpp:150 | 69 | 13 | 33 | 2.091 | 0.394 |
createModel( SceneManager *, const string &, const string & ) definition ./components/ogre/model/Model.cpp:972 declaration ./components/ogre/model/Model.h:120 | 13 | 2 | 1 | ------ | ------ |
createParticles( ) definition ./components/ogre/model/Model.cpp:313 declaration ./components/ogre/model/Model.h:296 | 25 | 3 | 2 | 12.500 | ------ |
detachAllObjectsFromBone( void ) definition ./components/ogre/model/Model.cpp:753 declaration ./components/ogre/model/Model.h:187 | 10 | 2 | 1 | ------ | ------ |
detachObjectFromBone( const String & ) definition ./components/ogre/model/Model.cpp:730 declaration ./components/ogre/model/Model.h:186 | 17 | 7 | 0 | ------ | ****** |
getAction( const string & ) definition ./components/ogre/model/Model.cpp:538 declaration ./components/ogre/model/Model.h:142 | 9 | 3 | 0 | ------ | ------ |
getAllAnimationStates( ) definition ./components/ogre/model/Model.cpp:681 declaration ./components/ogre/model/Model.h:183 | 9 | 4 | 0 | ------ | ------ |
getAllParticleSystemBindings( ) definition ./components/ogre/model/Model.cpp:347 declaration ./components/ogre/model/Model.h:257 | 5 | 1 | 0 | ------ | ------ |
getAnimationState( const String & ) definition ./components/ogre/model/Model.cpp:672 declaration ./components/ogre/model/Model.h:182 | 9 | 4 | 0 | ------ | ------ |
getAttachedPoints( ) definition ./components/ogre/model/Model.cpp:990 declaration ./components/ogre/model/Model.h:267 | 5 | 1 | 4 | ------ | ------ |
getBoundingBox( void ) definition ./components/ogre/model/Model.cpp:817 declaration ./components/ogre/model/Model.h:211 | 12 | 2 | 4 | ------ | ------ |
getBoundingRadius( ) definition ./components/ogre/model/Model.cpp:848 declaration ./components/ogre/model/Model.h:217 | 12 | 2 | 0 | ------ | ------ |
getDefinition( ) declaration ./components/ogre/model/Model.h:248 definition ./components/ogre/model/Model.h:380 | 2 | 1 | 8 | ------ | ------ |
getMovableType( void ) definition ./components/ogre/model/Model.cpp:902 declaration ./components/ogre/model/Model.h:227 | 5 | 1 | 9 | ------ | ------ |
getPart( const string & ) declaration ./components/ogre/model/Model.h:145 | 1 | 0 | 0 | ------ | ------ |
getParticleSystems( ) definition ./components/ogre/model/Model.cpp:352 declaration ./components/ogre/model/Model.h:259 | 5 | 1 | 0 | ------ | ------ |
getRotation( ) definition ./components/ogre/model/Model.cpp:527 declaration ./components/ogre/model/Model.h:163 | 5 | 1 | 3 | ------ | ------ |
getScale( ) definition ./components/ogre/model/Model.cpp:522 declaration ./components/ogre/model/Model.h:158 | 5 | 1 | 4 | ------ | ------ |
getSkeleton( ) definition ./components/ogre/model/Model.cpp:691 declaration ./components/ogre/model/Model.h:184 | 9 | 4 | 0 | ------ | ------ |
getSubModel( size_t ) definition ./components/ogre/model/Model.cpp:393 declaration ./components/ogre/model/Model.h:179 | 14 | 4 | 14 | ------ | ------ |
getSubmodels( ) declaration ./components/ogre/model/Model.h:176 definition ./components/ogre/model/Model.h:387 | 5 | 1 | 5 | ------ | ------ |
getUseScaleOf( ) definition ./components/ogre/model/Model.cpp:532 declaration ./components/ogre/model/Model.h:171 | 5 | 1 | 6 | ------ | ------ |
getWorldBoundingBox( bool ) definition ./components/ogre/model/Model.cpp:833 declaration ./components/ogre/model/Model.h:215 | 12 | 2 | 4 | ------ | ------ |
hasAttachPoint( const string & ) definition ./components/ogre/model/Model.cpp:660 declaration ./components/ogre/model/Model.h:255 | 10 | 4 | 1 | ------ | ------ |
hasParticles( ) definition ./components/ogre/model/Model.cpp:342 declaration ./components/ogre/model/Model.h:261 | 5 | 1 | 0 | ------ | ------ |
hidePart( const string &, bool ) definition ./components/ogre/model/Model.cpp:478 declaration ./components/ogre/model/Model.h:151 | 27 | 8 | 1 | 27.000 | 8.000 |
isVisible( void ) definition ./components/ogre/model/Model.cpp:965 declaration ./components/ogre/model/Model.h:242 | 5 | 2 | 2 | ------ | ------ |
reload( ) definition ./components/ogre/model/Model.cpp:92 declaration ./components/ogre/model/Model.h:125 | 12 | 1 | 7 | ------ | ------ |
removeQueryFlags( long ) definition ./components/ogre/model/Model.cpp:939 declaration ./components/ogre/model/Model.h:236 | 10 | 1 | 4 | ------ | ------ |
removeSubmodel( SubModel * ) definition ./components/ogre/model/Model.cpp:373 declaration ./components/ogre/model/Model.h:140 | 6 | 1 | 0 | ------ | ------ |
reset( ) definition ./components/ogre/model/Model.cpp:77 declaration ./components/ogre/model/Model.h:306 | 12 | 0 | 5 | ------ | ------ |
resetParticles( ) definition ./components/ogre/model/Model.cpp:628 declaration ./components/ogre/model/Model.h:301 | 12 | 1 | 3 | ------ | ------ |
resetSubmodels( ) definition ./components/ogre/model/Model.cpp:614 declaration ./components/ogre/model/Model.h:293 | 11 | 1 | 69 | ------ | ------ |
setQueryFlags( long ) definition ./components/ogre/model/Model.cpp:917 declaration ./components/ogre/model/Model.h:230 | 10 | 1 | 1 | ------ | ------ |
setRenderQueueGroup( RenderQueueGroupID ) definition ./components/ogre/model/Model.cpp:805 declaration ./components/ogre/model/Model.h:207 | 9 | 1 | 2 | ------ | ------ |
setRenderingDistance( Real ) definition ./components/ogre/model/Model.cpp:907 declaration ./components/ogre/model/Model.h:191 | 10 | 1 | 2 | ------ | ------ |
setUserObject( UserDefinedObject * ) definition ./components/ogre/model/Model.cpp:793 declaration ./components/ogre/model/Model.h:204 | 10 | 1 | 2 | ------ | ------ |
setVisible( bool ) definition ./components/ogre/model/Model.cpp:509 declaration ./components/ogre/model/Model.h:152 | 10 | 1 | 0 | ------ | ------ |
showPart( const string &, bool ) definition ./components/ogre/model/Model.cpp:456 declaration ./components/ogre/model/Model.h:150 | 20 | 5 | 4 | 5.000 | 1.250 |
~Model( ) definition ./components/ogre/model/Model.cpp:68 declaration ./components/ogre/model/Model.h:113 definition ./components/ogre/ogreopcode/src/Opcode/OPC_Model.cpp:114 declaration ./components/ogre/ogreopcode/include/Opcode/OPC_Model.h:32 | 14 | 1 | 12 | ------ | ------ |