Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 213 | ****** |
McCabe's Cyclomatic Number | MVG | 43 | ****** |
Lines of Comment | COM | 22 | ******** |
LOC/COM | L_C | 9.682 | |
MVG/COM | M_C | 1.955 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 28 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 11 | |
Coupling between objects | CBO | 20 | |
Information Flow measure ( inclusive ) | IF4 | 9216 | ******** |
Information Flow measure ( visible ) | IF4v | 9216 | ******** |
Information Flow measure ( concrete ) | IF4c | 1089 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
declaration
./components/ogre/widgets/ServerWidget.h:56 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/IngameChatWidget.h:32 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/InventoryWidget.h:45 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/WidgetDefinitions.h:29 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/Widget.h:41 |
1 | 0 | 0 | ------ | ------ |
definition
./components/ogre/widgets/Widget.h:81 |
5 | 0 | 13 | ------ | ------ |
declaration
./components/ogre/widgets/Help.h:35 |
1 | 0 | 0 | ------ | ------ |
declaration
./components/ogre/widgets/InspectWidget.h:33 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
DEFAULT_TAB_GROUP( ... ) declaration ./components/ogre/widgets/Widget.cpp:19 | 1 | 0 | 0 | ------ | ------ |
MainWindow_Activated( const EventArgs & ) definition ./components/ogre/widgets/Widget.cpp:205 | 7 | 3 | 0 | ------ | ------ |
MainWindow_CloseClick( const EventArgs & ) definition ./components/ogre/widgets/Widget.cpp:182 | 5 | 1 | 0 | ------ | ------ |
MainWindow_Deactivated( const EventArgs & ) definition ./components/ogre/widgets/Widget.cpp:214 | 7 | 3 | 0 | ------ | ------ |
MainWindow_MouseButtonDown( const EventArgs & ) definition ./components/ogre/widgets/Widget.cpp:199 | 4 | 1 | 1 | ------ | ------ |
TabbableWindow_KeyDown( const EventArgs & ) definition ./components/ogre/widgets/Widget.cpp:239 | 27 | 9 | 4 | 6.750 | 2.250 |
Widget( ) definition ./components/ogre/widgets/Widget.cpp:21 | 3 | 0 | 0 | ------ | ------ |
addEnterButton( Window * ) definition ./components/ogre/widgets/Widget.cpp:283 | 4 | 0 | 0 | ------ | ------ |
addTabbableWindow( Window * ) definition ./components/ogre/widgets/Widget.cpp:271 | 11 | 2 | 0 | ------ | ------ |
buildWidget( ) definition ./components/ogre/widgets/Widget.cpp:48 | 2 | 0 | 0 | ------ | ------ |
closeTabGroup( ) definition ./components/ogre/widgets/Widget.cpp:288 | 8 | 2 | 0 | ------ | ------ |
createWindow( const string & ) definition ./components/ogre/widgets/Widget.cpp:104 | 4 | 1 | 0 | ------ | ------ |
createWindow( const string &, const string & ) definition ./components/ogre/widgets/Widget.cpp:109 | 4 | 1 | 0 | ------ | ------ |
enableCloseButton( ) definition ./components/ogre/widgets/Widget.cpp:188 | 5 | 0 | 0 | ------ | ------ |
frameStarted( const FrameEvent & ) definition ./components/ogre/widgets/Widget.cpp:43 | 4 | 0 | 0 | ------ | ------ |
getDefaultScheme( ) definition ./components/ogre/widgets/Widget.cpp:232 | 4 | 1 | 0 | ------ | ------ |
getIsActiveWindowOpaque( ) definition ./components/ogre/widgets/Widget.cpp:222 | 4 | 1 | 0 | ------ | ------ |
getMainSheet( ) definition ./components/ogre/widgets/Widget.cpp:53 | 3 | 1 | 0 | ------ | ------ |
getMainWindow( ) definition ./components/ogre/widgets/Widget.cpp:194 | 4 | 1 | 0 | ------ | ------ |
getWindow( const string & ) definition ./components/ogre/widgets/Widget.cpp:83 | 19 | 7 | 0 | ------ | ****** |
hide( ) definition ./components/ogre/widgets/Widget.cpp:173 | 7 | 1 | 1 | ------ | ------ |
init( GUIManager * ) definition ./components/ogre/widgets/Widget.cpp:25 | 5 | 0 | 0 | ------ | ------ |
loadMainSheet( const string &, const string & ) definition ./components/ogre/widgets/Widget.cpp:58 | 22 | 3 | 1 | 22.000 | ------ |
registerConsoleVisibilityToggleCommand( const string & ) definition ./components/ogre/widgets/Widget.cpp:144 | 6 | 0 | 0 | ------ | ------ |
runCommand( const string &, const string & ) definition ./components/ogre/widgets/Widget.cpp:152 | 11 | 2 | 0 | ------ | ------ |
setIsActiveWindowOpaque( bool ) definition ./components/ogre/widgets/Widget.cpp:227 | 4 | 0 | 0 | ------ | ------ |
show( ) definition ./components/ogre/widgets/Widget.cpp:164 | 7 | 1 | 1 | ------ | ------ |
~Widget( ) definition ./components/ogre/widgets/Widget.cpp:32 | 9 | 2 | 1 | ------ | ------ |