| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 78 | ****** |
| McCabe's Cyclomatic Number | MVG | 9 | ****** |
| Lines of Comment | COM | 5 | ******** |
| LOC/COM | L_C | 15.600 | |
| MVG/COM | M_C | 1.800 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 11 | |
| Information Flow measure ( inclusive ) | IF4 | 576 | ******** |
| Information Flow measure ( visible ) | IF4v | 576 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/widgets/EntityIcon.h:61 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/widgets/EntityIconManager.h:45 |
13 | 0 | 3 | ------ | ------ |
declaration
./components/ogre/widgets/InventoryWidget.h:51 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/EntityIconSlot.h:40 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/EntityIconSlot.h:47 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| EntityIconManager( GUIManager & ) declaration ./components/ogre/widgets/EntityIconManager.h:51definition ./components/ogre/widgets/EntityIconManager.cpp:34 | 5 | 0 | 0 | ------ | ------ |
| createIcon( Icon *, EmberEntity *, int ) declaration ./components/ogre/widgets/EntityIconManager.h:56definition ./components/ogre/widgets/EntityIconManager.cpp:52 | 27 | 6 | 2 | 13.500 | 3.000 |
| createSlot( int ) declaration ./components/ogre/widgets/EntityIconManager.h:53definition ./components/ogre/widgets/EntityIconManager.cpp:40 | 11 | 1 | 0 | ------ | ------ |
| destroyIcon( EntityIcon * ) declaration ./components/ogre/widgets/EntityIconManager.h:57definition ./components/ogre/widgets/EntityIconManager.cpp:85 | 9 | 1 | 0 | ------ | ------ |
| destroySlot( EntityIconSlot * ) declaration ./components/ogre/widgets/EntityIconManager.h:54definition ./components/ogre/widgets/EntityIconManager.cpp:94 | 9 | 1 | 0 | ------ | ------ |