Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 44 | ****** |
McCabe's Cyclomatic Number | MVG | 8 | ****** |
Lines of Comment | COM | 19 | ******** |
LOC/COM | L_C | 2.316 | |
MVG/COM | M_C | 0.421 | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 1 | |
Depth of Inheritance Tree | DIT | 2 | |
Number of Children | NOC | 0 | |
Coupling between objects | CBO | 4 | |
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
./main/LogObserver.h:33 |
5 | 0 | 3 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
ConfigService_EventChangedConfigItem( const string &, const string & ) declaration ./main/LogObserver.h:53 definition ./main/LogObserver.cpp:73 | 9 | 2 | 10 | ------ | ------ |
LogObserver( ostream & ) declaration ./main/LogObserver.h:36 definition ./main/LogObserver.cpp:31 | 6 | 0 | 0 | ------ | ------ |
updateFromConfig( ) declaration ./main/LogObserver.h:45 definition ./main/LogObserver.cpp:47 | 20 | 6 | 6 | 3.333 | 1.000 |
~LogObserver( ) declaration ./main/LogObserver.h:38 definition ./main/LogObserver.cpp:40 | 4 | 0 | 0 | ------ | ------ |
Clients | Suppliers |
---|---|
StreamLogObserver [CV] inheritance ./main/LogObserver.h:33 ostream [V] pass by reference ./main/LogObserver.h:36 pass by reference ./main/LogObserver.cpp:31 string [V] pass by reference ./main/LogObserver.h:53 pass by reference ./main/LogObserver.h:53 pass by reference ./main/LogObserver.cpp:73 pass by reference ./main/LogObserver.cpp:73 trackable [CV] inheritance ./main/LogObserver.h:33 |