| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 62 | ****** |
| McCabe's Cyclomatic Number | MVG | 5 | ****** |
| Lines of Comment | COM | 21 | ******** |
| LOC/COM | L_C | 2.952 | |
| MVG/COM | M_C | 0.238 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 6 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 6 | |
| Information Flow measure ( inclusive ) | IF4 | 64 | ******** |
| Information Flow measure ( visible ) | IF4v | 64 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./components/ogre/widgets/StatusIconBar.h:35 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/IconBar.h:37 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/widgets/IconBase.h:37 |
6 | 0 | 5 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| IconBase( const string &, const Image *, const Image *, const Image *, const Image * ) definition ./components/ogre/widgets/IconBase.cpp:35declaration ./components/ogre/widgets/IconBase.h:49 | 17 | 0 | 12 | ------ | ------ |
| getButton( ) definition ./components/ogre/widgets/IconBase.cpp:73declaration ./components/ogre/widgets/IconBase.h:58 | 5 | 1 | 0 | ------ | ------ |
| getContainer( ) definition ./components/ogre/widgets/IconBase.cpp:68declaration ./components/ogre/widgets/IconBase.h:57 | 5 | 1 | 4 | ------ | ------ |
| loadImageFromImageset( const string &, const string & ) definition ./components/ogre/widgets/IconBase.cpp:84declaration ./components/ogre/widgets/IconBase.h:62 | 16 | 3 | 0 | ------ | ------ |
| setForeground( const Image * ) definition ./components/ogre/widgets/IconBase.cpp:78declaration ./components/ogre/widgets/IconBase.h:60 | 5 | 0 | 0 | ------ | ------ |
| ~IconBase( ) definition ./components/ogre/widgets/IconBase.cpp:62declaration ./components/ogre/widgets/IconBase.h:51 | 6 | 0 | 0 | ------ | ------ |