Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 181 | ****** |
McCabe's Cyclomatic Number | MVG | 30 | ****** |
Lines of Comment | COM | 156 | ******** |
LOC/COM | L_C | 1.160 | |
MVG/COM | M_C | 0.192 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 18 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
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 |
---|---|---|---|---|---|
declaration
./components/ogre/widgets/ConsoleAdapter.h:34 |
1 | 0 | 0 | ------ | ------ |
definition
./framework/ConsoleBackend.h:64 |
39 | 0 | 131 | 0.298 | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
ConsoleBackend( const ConsoleBackend & ) definition ./framework/ConsoleBackend.cpp:46 | 4 | 0 | 2 | ------ | ------ |
ConsoleBackend( void ) definition ./framework/ConsoleBackend.cpp:37 | 7 | 0 | 1 | ------ | ------ |
changeHistory( size_t, const string & ) definition ./framework/ConsoleBackend.cpp:213 | 7 | 1 | 0 | ------ | ------ |
deregisterCommand( const string & ) definition ./framework/ConsoleBackend.cpp:130 | 5 | 0 | 1 | ------ | ------ |
getConsoleMessages( ) definition ./framework/ConsoleBackend.h:277 | 4 | 1 | 0 | ------ | ------ |
getHistoryPosition( ) definition ./framework/ConsoleBackend.h:282 | 4 | 1 | 0 | ------ | ------ |
getHistoryString( ) definition ./framework/ConsoleBackend.cpp:82 | 12 | 3 | 0 | ------ | ------ |
getMainConsole( ) definition ./framework/ConsoleBackend.h:270 | 6 | 2 | 0 | ------ | ------ |
getPrefixes( const string & ) definition ./framework/ConsoleBackend.cpp:200 | 10 | 3 | 0 | ------ | ------ |
moveBackwards( void ) definition ./framework/ConsoleBackend.cpp:66 | 7 | 1 | 0 | ------ | ------ |
moveForwards( void ) definition ./framework/ConsoleBackend.cpp:74 | 7 | 1 | 0 | ------ | ------ |
onGotMessage( const string & ) definition ./framework/ConsoleBackend.cpp:107 | 4 | 1 | 0 | ------ | ------ |
operator =( const ConsoleBackend & ) definition ./framework/ConsoleBackend.cpp:53 | 4 | 1 | 2 | ------ | ------ |
pushMessage( const string & ) definition ./framework/ConsoleBackend.cpp:97 | 7 | 2 | 2 | ------ | ------ |
registerCommand( const string &, ConsoleObject *, const string & ) definition ./framework/ConsoleBackend.cpp:113 | 12 | 1 | 2 | ------ | ------ |
runCommand( const string &, bool ) definition ./framework/ConsoleBackend.cpp:138 | 26 | 10 | 12 | 2.167 | 0.833 |
runCommand( const string &, const string & ) definition ./framework/ConsoleBackend.cpp:182 | 12 | 2 | 2 | ------ | ------ |
~ConsoleBackend( ) definition ./framework/ConsoleBackend.cpp:61 | 3 | 0 | 1 | ------ | ------ |
Clients | Suppliers |
---|---|
EmberText [V] has by reference ./components/text/EmberText.h:35 |
ConsoleObject [CV] inheritance ./framework/ConsoleBackend.h:64 pass by reference ./framework/ConsoleBackend.cpp:113 bool [CV] pass by value ./framework/ConsoleBackend.cpp:138 size_t [CV] pass by value ./framework/ConsoleBackend.cpp:213 string [V] pass by reference ./framework/ConsoleBackend.cpp:97 pass by reference ./framework/ConsoleBackend.cpp:107 pass by reference ./framework/ConsoleBackend.cpp:113 pass by reference ./framework/ConsoleBackend.cpp:113 pass by reference ./framework/ConsoleBackend.cpp:130 pass by reference ./framework/ConsoleBackend.cpp:138 pass by reference ./framework/ConsoleBackend.cpp:182 pass by reference ./framework/ConsoleBackend.cpp:182 pass by reference ./framework/ConsoleBackend.cpp:200 pass by reference ./framework/ConsoleBackend.cpp:213 |