Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 134 | ****** |
McCabe's Cyclomatic Number | MVG | 19 | ****** |
Lines of Comment | COM | 51 | ******** |
LOC/COM | L_C | 2.627 | |
MVG/COM | M_C | 0.373 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 13 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 12 | |
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 |
---|---|---|---|---|---|
declaration
./components/ogre/widgets/InventoryWidget.h:47 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/EmberEntity.h:56 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/EmberEntity.h:64 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/scripting/bindings/lua/helpers/LuaConnector.h:55 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/EmberEntityFactory.h:59 |
16 | 0 | 12 | ------ | ------ |
declaration
./components/ogre/terrain/TerrainGenerator.h:53 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
EmberEntityFactory( View *, TerrainGenerator *, TypeService * ) definition ./components/ogre/EmberEntityFactory.cpp:74 declaration ./components/ogre/EmberEntityFactory.h:72 | 2 | 0 | 3 | ------ | ------ |
accept( const RootEntity &, TypeInfo * ) definition ./components/ogre/EmberEntityFactory.cpp:132 declaration ./components/ogre/EmberEntityFactory.h:78 | 5 | 1 | 3 | ------ | ------ |
createAvatarEntity( const RootEntity &, TypeInfo *, View * ) definition ./components/ogre/EmberEntityFactory.cpp:169 declaration ./components/ogre/EmberEntityFactory.h:135 | 5 | 1 | 3 | ------ | ------ |
createPhysicalEntity( const RootEntity &, TypeInfo *, View * ) definition ./components/ogre/EmberEntityFactory.cpp:161 declaration ./components/ogre/EmberEntityFactory.h:131 | 5 | 1 | 3 | ------ | ------ |
createWorld( const RootEntity &, TypeInfo *, View * ) definition ./components/ogre/EmberEntityFactory.cpp:138 declaration ./components/ogre/EmberEntityFactory.h:127 | 6 | 1 | 3 | ------ | ------ |
dumpAttributesOfEntity( const string & ) definition ./components/ogre/EmberEntityFactory.cpp:183 declaration ./components/ogre/EmberEntityFactory.h:119 | 18 | 2 | 6 | ------ | ------ |
getErisAvatar( ) definition ./components/ogre/EmberEntityFactory.cpp:178 declaration ./components/ogre/EmberEntityFactory.h:145 | 5 | 1 | 0 | ------ | ------ |
getWorld( ) definition ./components/ogre/EmberEntityFactory.cpp:144 declaration ./components/ogre/EmberEntityFactory.h:93 | 5 | 1 | 3 | ------ | ------ |
gotAvatarCharacter( Entity * ) definition ./components/ogre/EmberEntityFactory.cpp:149 declaration ./components/ogre/EmberEntityFactory.h:137 | 7 | 0 | 0 | ------ | ------ |
instantiate( const RootEntity &, TypeInfo *, View * ) definition ./components/ogre/EmberEntityFactory.cpp:100 declaration ./components/ogre/EmberEntityFactory.h:83 | 19 | 4 | 5 | ------ | ------ |
priority( ) definition ./components/ogre/EmberEntityFactory.cpp:174 declaration ./components/ogre/EmberEntityFactory.h:88 | 4 | 1 | 3 | ------ | ------ |
runCommand( const string &, const string & ) definition ./components/ogre/EmberEntityFactory.cpp:209 declaration ./components/ogre/EmberEntityFactory.h:100 | 28 | 6 | 5 | 5.600 | 1.200 |
~EmberEntityFactory( ) definition ./components/ogre/EmberEntityFactory.cpp:93 declaration ./components/ogre/EmberEntityFactory.h:73 | 4 | 0 | 2 | ------ | ------ |