Metric | Tag | Overall | Per Function |
---|---|---|---|
Lines of Code | LOC | 57 | ****** |
McCabe's Cyclomatic Number | MVG | 4 | ****** |
Lines of Comment | COM | 67 | ******** |
LOC/COM | L_C | 0.851 | |
MVG/COM | M_C | ------ | |
Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
Depth of Inheritance Tree | DIT | 1 | |
Number of Children | NOC | 1 | |
Coupling between objects | CBO | 5 | |
Information Flow measure ( inclusive ) | IF4 | 16 | ******** |
Information Flow measure ( visible ) | IF4v | 16 | ******** |
Information Flow measure ( concrete ) | IF4c | 1 | ******** |
Description | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
definition
./framework/StreamLogObserver.h:49 |
7 | 0 | 25 | ------ | ------ |
Function prototype | LOC | MVG | COM | L_C | M_C |
---|---|---|---|---|---|
StreamLogObserver( const StreamLogObserver & ) declaration ./framework/StreamLogObserver.h:75 definition ./framework/StreamLogObserver.cpp:38 | 5 | 0 | 6 | ------ | ------ |
StreamLogObserver( ostream & ) declaration ./framework/StreamLogObserver.h:70 definition ./framework/StreamLogObserver.cpp:30 | 5 | 0 | 8 | ------ | ------ |
onNewMessage( const string &, const string &, const int &, const MessageImportance &, const time_t & ) declaration ./framework/StreamLogObserver.h:94 definition ./framework/StreamLogObserver.cpp:57 | 37 | 4 | 15 | 2.467 | ------ |
operator =( const StreamLogObserver & ) declaration ./framework/StreamLogObserver.h:103 | 1 | 0 | 3 | ------ | ------ |
~StreamLogObserver( ) declaration ./framework/StreamLogObserver.h:86 definition ./framework/StreamLogObserver.cpp:49 | 2 | 0 | 10 | ------ | ------ |
Clients | Suppliers |
---|---|
LogObserver [CV] inheritance ./main/LogObserver.h:33 |
Observer [CV] inheritance ./framework/StreamLogObserver.h:49 ostream [V] has by reference ./framework/StreamLogObserver.h:57 pass by reference ./framework/StreamLogObserver.h:70 pass by reference ./framework/StreamLogObserver.cpp:30 string [V] pass by reference ./framework/StreamLogObserver.h:94 pass by reference ./framework/StreamLogObserver.h:94 pass by reference ./framework/StreamLogObserver.cpp:57 pass by reference ./framework/StreamLogObserver.cpp:57 time_t [V] pass by reference ./framework/StreamLogObserver.h:95 pass by reference ./framework/StreamLogObserver.cpp:58 |