Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 99 | ****** |
McCabe's Cyclomatic Number | MVG | 22 | ****** |
Lines of Comment | COM | 15 | ******** |
LOC/COM | L_C | 6.600 | |
MVG/COM | M_C | 1.467 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 3 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 5 | |
Information Flow measure ( inclusive ) | IF4 | 16 | ******** |
Information Flow measure ( visible ) | IF4v | 16 | ******** |
Information Flow measure ( concrete ) | IF4c | 0 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./components/ogre/widgets/icons/IconManager.h:46 |
6 | 0 | 3 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
IconManager( ) declaration ./components/ogre/widgets/icons/IconManager.h:49 definition ./components/ogre/widgets/icons/IconManager.cpp:81 | 6 | 0 | 1 | ------ | ------ |
getIcon( int, EmberEntity * ) declaration ./components/ogre/widgets/icons/IconManager.h:53 definition ./components/ogre/widgets/icons/IconManager.cpp:93 | 52 | 14 | 5 | 10.400 | 2.800 |
getIcon( int, TypeInfo * ) declaration ./components/ogre/widgets/icons/IconManager.h:54 definition ./components/ogre/widgets/icons/IconManager.cpp:151 | 31 | 8 | 6 | 5.167 | 1.333 |
~IconManager( ) declaration ./components/ogre/widgets/icons/IconManager.h:51 definition ./components/ogre/widgets/icons/IconManager.cpp:89 | 4 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
InventoryWidget [V] has by reference ./components/ogre/widgets/InventoryWidget.h:87 |
EmberEntity [V] pass by reference ./components/ogre/widgets/icons/IconManager.h:53 pass by reference ./components/ogre/widgets/icons/IconManager.cpp:93 IconRenderer [CV] has by value ./components/ogre/widgets/icons/IconManager.h:58 IconStore [CV] has by value ./components/ogre/widgets/icons/IconManager.h:57 TypeInfo [V] pass by reference ./components/ogre/widgets/icons/IconManager.h:54 pass by reference ./components/ogre/widgets/icons/IconManager.cpp:151 |