| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 49 | ****** |
| McCabe's Cyclomatic Number | MVG | 4 | ****** |
| Lines of Comment | COM | 31 | ******** |
| LOC/COM | L_C | 1.581 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 2 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 1 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 3 | |
| 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
./components/text/EmberText.cpp:57 |
5 | 0 | 29 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| CerrLogObserver( ) definition ./components/text/EmberText.cpp:60 | 3 | 0 | 0 | ------ | ------ |
| onNewMessage( const string &, const string &, const int &, const MessageImportance &, const time_t & ) definition ./components/text/EmberText.cpp:64 | 41 | 4 | 2 | 20.500 | ------ |
| Clients | Suppliers |
|---|---|
|
Observer [CV] inheritance ./components/text/EmberText.cpp:57string [V] pass by reference ./components/text/EmberText.cpp:64pass by reference ./components/text/EmberText.cpp:64time_t [V] pass by reference ./components/text/EmberText.cpp:65 |