| 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:102declaration ./components/ogre/ogreopcode/include/Opcode/OPC_Model.h:31 | 5 | 0 | 6 | ------ | ------ |
| Model( const string & ) definition ./components/ogre/model/Model.cpp:57declaration ./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:955declaration ./components/ogre/model/Model.h:239 | 10 | 1 | 2 | ------ | ------ |
| _notifyCurrentCamera( Camera * ) definition ./components/ogre/model/Model.cpp:770declaration ./components/ogre/model/Model.h:200 | 20 | 4 | 9 | 2.222 | ------ |
| _notifyManager( SceneManager * ) definition ./components/ogre/model/Model.cpp:139declaration ./components/ogre/model/Model.h:118 | 9 | 1 | 1 | ------ | ------ |
| _updateRenderQueue( RenderQueue * ) definition ./components/ogre/model/Model.cpp:866declaration ./components/ogre/model/Model.h:221 | 21 | 5 | 7 | 3.000 | 0.714 |
| addQueryFlags( long ) definition ./components/ogre/model/Model.cpp:927declaration ./components/ogre/model/Model.h:233 | 10 | 1 | 1 | ------ | ------ |
| addSubmodel( SubModel * ) definition ./components/ogre/model/Model.cpp:358declaration ./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:185declaration ./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:108declaration ./components/ogre/model/Model.h:285 | 24 | 8 | 13 | 1.846 | 0.615 |
| createActions( ) definition ./components/ogre/model/Model.cpp:271declaration ./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:972declaration ./components/ogre/model/Model.h:120 | 13 | 2 | 1 | ------ | ------ |
| createParticles( ) definition ./components/ogre/model/Model.cpp:313declaration ./components/ogre/model/Model.h:296 | 25 | 3 | 2 | 12.500 | ------ |
| detachAllObjectsFromBone( void ) definition ./components/ogre/model/Model.cpp:753declaration ./components/ogre/model/Model.h:187 | 10 | 2 | 1 | ------ | ------ |
| detachObjectFromBone( const String & ) definition ./components/ogre/model/Model.cpp:730declaration ./components/ogre/model/Model.h:186 | 17 | 7 | 0 | ------ | ****** |
| getAction( const string & ) definition ./components/ogre/model/Model.cpp:538declaration ./components/ogre/model/Model.h:142 | 9 | 3 | 0 | ------ | ------ |
| getAllAnimationStates( ) definition ./components/ogre/model/Model.cpp:681declaration ./components/ogre/model/Model.h:183 | 9 | 4 | 0 | ------ | ------ |
| getAllParticleSystemBindings( ) definition ./components/ogre/model/Model.cpp:347declaration ./components/ogre/model/Model.h:257 | 5 | 1 | 0 | ------ | ------ |
| getAnimationState( const String & ) definition ./components/ogre/model/Model.cpp:672declaration ./components/ogre/model/Model.h:182 | 9 | 4 | 0 | ------ | ------ |
| getAttachedPoints( ) definition ./components/ogre/model/Model.cpp:990declaration ./components/ogre/model/Model.h:267 | 5 | 1 | 4 | ------ | ------ |
| getBoundingBox( void ) definition ./components/ogre/model/Model.cpp:817declaration ./components/ogre/model/Model.h:211 | 12 | 2 | 4 | ------ | ------ |
| getBoundingRadius( ) definition ./components/ogre/model/Model.cpp:848declaration ./components/ogre/model/Model.h:217 | 12 | 2 | 0 | ------ | ------ |
| getDefinition( ) declaration ./components/ogre/model/Model.h:248definition ./components/ogre/model/Model.h:380 | 2 | 1 | 8 | ------ | ------ |
| getMovableType( void ) definition ./components/ogre/model/Model.cpp:902declaration ./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:352declaration ./components/ogre/model/Model.h:259 | 5 | 1 | 0 | ------ | ------ |
| getRotation( ) definition ./components/ogre/model/Model.cpp:527declaration ./components/ogre/model/Model.h:163 | 5 | 1 | 3 | ------ | ------ |
| getScale( ) definition ./components/ogre/model/Model.cpp:522declaration ./components/ogre/model/Model.h:158 | 5 | 1 | 4 | ------ | ------ |
| getSkeleton( ) definition ./components/ogre/model/Model.cpp:691declaration ./components/ogre/model/Model.h:184 | 9 | 4 | 0 | ------ | ------ |
| getSubModel( size_t ) definition ./components/ogre/model/Model.cpp:393declaration ./components/ogre/model/Model.h:179 | 14 | 4 | 14 | ------ | ------ |
| getSubmodels( ) declaration ./components/ogre/model/Model.h:176definition ./components/ogre/model/Model.h:387 | 5 | 1 | 5 | ------ | ------ |
| getUseScaleOf( ) definition ./components/ogre/model/Model.cpp:532declaration ./components/ogre/model/Model.h:171 | 5 | 1 | 6 | ------ | ------ |
| getWorldBoundingBox( bool ) definition ./components/ogre/model/Model.cpp:833declaration ./components/ogre/model/Model.h:215 | 12 | 2 | 4 | ------ | ------ |
| hasAttachPoint( const string & ) definition ./components/ogre/model/Model.cpp:660declaration ./components/ogre/model/Model.h:255 | 10 | 4 | 1 | ------ | ------ |
| hasParticles( ) definition ./components/ogre/model/Model.cpp:342declaration ./components/ogre/model/Model.h:261 | 5 | 1 | 0 | ------ | ------ |
| hidePart( const string &, bool ) definition ./components/ogre/model/Model.cpp:478declaration ./components/ogre/model/Model.h:151 | 27 | 8 | 1 | 27.000 | 8.000 |
| isVisible( void ) definition ./components/ogre/model/Model.cpp:965declaration ./components/ogre/model/Model.h:242 | 5 | 2 | 2 | ------ | ------ |
| reload( ) definition ./components/ogre/model/Model.cpp:92declaration ./components/ogre/model/Model.h:125 | 12 | 1 | 7 | ------ | ------ |
| removeQueryFlags( long ) definition ./components/ogre/model/Model.cpp:939declaration ./components/ogre/model/Model.h:236 | 10 | 1 | 4 | ------ | ------ |
| removeSubmodel( SubModel * ) definition ./components/ogre/model/Model.cpp:373declaration ./components/ogre/model/Model.h:140 | 6 | 1 | 0 | ------ | ------ |
| reset( ) definition ./components/ogre/model/Model.cpp:77declaration ./components/ogre/model/Model.h:306 | 12 | 0 | 5 | ------ | ------ |
| resetParticles( ) definition ./components/ogre/model/Model.cpp:628declaration ./components/ogre/model/Model.h:301 | 12 | 1 | 3 | ------ | ------ |
| resetSubmodels( ) definition ./components/ogre/model/Model.cpp:614declaration ./components/ogre/model/Model.h:293 | 11 | 1 | 69 | ------ | ------ |
| setQueryFlags( long ) definition ./components/ogre/model/Model.cpp:917declaration ./components/ogre/model/Model.h:230 | 10 | 1 | 1 | ------ | ------ |
| setRenderQueueGroup( RenderQueueGroupID ) definition ./components/ogre/model/Model.cpp:805declaration ./components/ogre/model/Model.h:207 | 9 | 1 | 2 | ------ | ------ |
| setRenderingDistance( Real ) definition ./components/ogre/model/Model.cpp:907declaration ./components/ogre/model/Model.h:191 | 10 | 1 | 2 | ------ | ------ |
| setUserObject( UserDefinedObject * ) definition ./components/ogre/model/Model.cpp:793declaration ./components/ogre/model/Model.h:204 | 10 | 1 | 2 | ------ | ------ |
| setVisible( bool ) definition ./components/ogre/model/Model.cpp:509declaration ./components/ogre/model/Model.h:152 | 10 | 1 | 0 | ------ | ------ |
| showPart( const string &, bool ) definition ./components/ogre/model/Model.cpp:456declaration ./components/ogre/model/Model.h:150 | 20 | 5 | 4 | 5.000 | 1.250 |
| ~Model( ) definition ./components/ogre/model/Model.cpp:68declaration ./components/ogre/model/Model.h:113definition ./components/ogre/ogreopcode/src/Opcode/OPC_Model.cpp:114declaration ./components/ogre/ogreopcode/include/Opcode/OPC_Model.h:32 | 14 | 1 | 12 | ------ | ------ |