Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 22 | ****** |
McCabe's Cyclomatic Number | MVG | 4 | ****** |
Lines of Comment | COM | 0 | ******** |
LOC/COM | L_C | ****** | |
MVG/COM | M_C | ------ | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 0 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 2 | |
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/Widget.h:40 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/Widget.h:88 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
GetFactories( ) definition ./components/ogre/widgets/Widget.cpp:132 | 5 | 1 | 0 | ------ | ------ |
WidgetLoader( const string &, FactoryFunc ) definition ./components/ogre/widgets/Widget.cpp:126 | 4 | 0 | 0 | ------ | ------ |
createWidget( const string & ) definition ./components/ogre/widgets/Widget.cpp:116 | 7 | 3 | 0 | ------ | ------ |
registerWidget( const string &, FactoryFunc ) definition ./components/ogre/widgets/Widget.cpp:138 | 4 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
FactoryFunc [CV] pass by value ./components/ogre/widgets/Widget.cpp:126 pass by value ./components/ogre/widgets/Widget.cpp:138 string [V] pass by reference ./components/ogre/widgets/Widget.cpp:116 pass by reference ./components/ogre/widgets/Widget.cpp:126 pass by reference ./components/ogre/widgets/Widget.cpp:138 |