| 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:53definition ./main/LogObserver.cpp:73 | 9 | 2 | 10 | ------ | ------ |
| LogObserver( ostream & ) declaration ./main/LogObserver.h:36definition ./main/LogObserver.cpp:31 | 6 | 0 | 0 | ------ | ------ |
| updateFromConfig( ) declaration ./main/LogObserver.h:45definition ./main/LogObserver.cpp:47 | 20 | 6 | 6 | 3.333 | 1.000 |
| ~LogObserver( ) declaration ./main/LogObserver.h:38definition ./main/LogObserver.cpp:40 | 4 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
StreamLogObserver [CV] inheritance ./main/LogObserver.h:33ostream [V] pass by reference ./main/LogObserver.h:36pass by reference ./main/LogObserver.cpp:31string [V] pass by reference ./main/LogObserver.h:53pass by reference ./main/LogObserver.h:53pass by reference ./main/LogObserver.cpp:73pass by reference ./main/LogObserver.cpp:73trackable [CV] inheritance ./main/LogObserver.h:33 |