Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 240 | ****** |
McCabe's Cyclomatic Number | MVG | 44 | ****** |
Lines of Comment | COM | 147 | ******** |
LOC/COM | L_C | 1.633 | |
MVG/COM | M_C | 0.299 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 29 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 2 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 5 | |
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 |
---|---|---|---|---|---|
definition
./services/config/ConfigService.h:46 |
14 | 0 | 21 | ------ | ------ |
declaration
./services/EmberServices.h:30 |
1 | 0 | 0 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
ConfigService( ) definition ./services/config/ConfigService.cpp:48 declaration ./services/config/ConfigService.h:92 | 12 | 0 | 9 | ------ | ------ |
GETVALUE( ... ) declaration ./services/config/ConfigService.cpp:46 | 1 | 0 | 0 | ------ | ------ |
SETVALUE( ... ) declaration ./services/config/ConfigService.cpp:45 | 1 | 0 | 0 | ------ | ------ |
configError( const char * ) definition ./services/config/ConfigService.cpp:199 declaration ./services/config/ConfigService.h:74 | 5 | 0 | 0 | ------ | ------ |
deleteItem( const string &, const string & ) definition ./services/config/ConfigService.cpp:137 declaration ./services/config/ConfigService.h:169 | 5 | 1 | 7 | ------ | ------ |
deregisterConsoleCommands( ) definition ./services/config/ConfigService.cpp:120 declaration ./services/config/ConfigService.h:65 | 6 | 0 | 0 | ------ | ------ |
getEmberDataDirectory( ) definition ./services/config/ConfigService.cpp:270 declaration ./services/config/ConfigService.h:207 | 10 | 3 | 10 | ------ | ------ |
getEmberMediaDirectory( ) definition ./services/config/ConfigService.cpp:288 declaration ./services/config/ConfigService.h:213 | 6 | 1 | 4 | ------ | ------ |
getHomeDirectory( ) definition ./services/config/ConfigService.cpp:204 declaration ./services/config/ConfigService.h:197 | 29 | 11 | 5 | 5.800 | 2.200 |
getSection( const string & ) definition ./services/config/ConfigService.cpp:79 declaration ./services/config/ConfigService.h:177 | 5 | 1 | 5 | ------ | ------ |
getSharedConfigDirectory( ) definition ./services/config/ConfigService.cpp:257 declaration ./services/config/ConfigService.h:231 | 9 | 3 | 4 | ------ | ------ |
getSharedDataDirectory( ) definition ./services/config/ConfigService.cpp:240 declaration ./services/config/ConfigService.h:202 | 12 | 5 | 3 | ------ | 1.667 |
getSharedMediaDirectory( ) definition ./services/config/ConfigService.cpp:301 declaration ./services/config/ConfigService.h:225 | 6 | 1 | 4 | ------ | ------ |
getUserMediaDirectory( ) definition ./services/config/ConfigService.cpp:295 declaration ./services/config/ConfigService.h:219 | 6 | 1 | 4 | ------ | ------ |
getValue( const string &, const string & ) definition ./services/config/ConfigService.cpp:85 declaration ./services/config/ConfigService.h:113 | 7 | 1 | 9 | ------ | ------ |
isItemSet( const string &, const string &, const string & ) definition ./services/config/ConfigService.cpp:97 declaration ./services/config/ConfigService.h:160 | 5 | 2 | 3 | ------ | ------ |
itemExists( const string &, const string & ) definition ./services/config/ConfigService.cpp:132 declaration ./services/config/ConfigService.h:155 | 5 | 1 | 6 | ------ | ------ |
loadSavedConfig( const string & ) definition ./services/config/ConfigService.cpp:142 declaration ./services/config/ConfigService.h:184 | 9 | 2 | 5 | ------ | ------ |
registerConsoleCommands( ) definition ./services/config/ConfigService.cpp:126 declaration ./services/config/ConfigService.h:64 | 6 | 0 | 0 | ------ | ------ |
runCommand( const string &, const string & ) definition ./services/config/ConfigService.cpp:156 declaration ./services/config/ConfigService.h:133 | 35 | 8 | 8 | 4.375 | 1.000 |
saveConfig( const string & ) definition ./services/config/ConfigService.cpp:151 declaration ./services/config/ConfigService.h:191 | 5 | 1 | 5 | ------ | ------ |
setHomeDirectory( const string & ) definition ./services/config/ConfigService.cpp:74 declaration ./services/config/ConfigService.h:250 | 5 | 0 | 4 | ------ | ------ |
setPrefix( const string & ) definition ./services/config/ConfigService.cpp:68 declaration ./services/config/ConfigService.h:244 | 6 | 0 | 4 | ------ | ------ |
setValue( const string &, const string &, const Variable & ) definition ./services/config/ConfigService.cpp:92 declaration ./services/config/ConfigService.h:122 | 5 | 0 | 7 | ------ | ------ |
start( ) definition ./services/config/ConfigService.cpp:102 | 8 | 1 | 2 | ------ | ------ |
start( void ) declaration ./services/config/ConfigService.h:140 | 1 | 0 | 4 | ------ | ------ |
stop( int ) definition ./services/config/ConfigService.cpp:113 declaration ./services/config/ConfigService.h:147 | 7 | 1 | 5 | ------ | ------ |
updatedConfig( const string &, const string & ) definition ./services/config/ConfigService.cpp:194 declaration ./services/config/ConfigService.h:72 | 5 | 0 | 5 | ------ | ------ |
~ConfigService( ) definition ./services/config/ConfigService.h:98 | 3 | 0 | 4 | ------ | ------ |