| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 204 | ****** |
| McCabe's Cyclomatic Number | MVG | 43 | ****** |
| Lines of Comment | COM | 125 | ******** |
| LOC/COM | L_C | 1.632 | |
| MVG/COM | M_C | 0.344 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 6 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 6 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 5 | |
| Information Flow measure ( inclusive ) | IF4 | 16 | ******** |
| Information Flow measure ( visible ) | IF4v | 16 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
UIControl.h:8 |
5 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| ClearResults( void ) declaration UIControl.h:44definition UIControl.cpp:53 | 13 | 0 | 12 | ------ | ------ |
| GetAddr( UInt16, NetIPAddr *, UInt16 * ) declaration UIControl.h:103definition UIControl.cpp:122 | 24 | 10 | 26 | 0.923 | 0.385 |
| GetValue( UInt16, Int32 * ) declaration UIControl.h:59definition UIControl.cpp:66 | 17 | 7 | 13 | ------ | 0.538 |
| SendTCP( void ) declaration UIControl.h:105definition UIControl.cpp:150 | 91 | 12 | 38 | 2.395 | 0.316 |
| SetValue( UInt16, Int32 ) declaration UIControl.h:76definition UIControl.cpp:86 | 31 | 10 | 15 | 2.067 | 0.667 |
| ShowResult( UInt16, Err ) declaration UIControl.h:30definition UIControl.cpp:26 | 23 | 4 | 21 | 1.095 | ------ |
| Clients | Suppliers |
|---|---|
|
NetworkControl [V] pass by reference NetworkControl.h:11has by reference NetworkControl.h:19 |
Err [CV] pass by value UIControl.h:30pass by value UIControl.cpp:26Int32 [CV] pass by reference UIControl.h:59pass by value UIControl.h:76pass by reference UIControl.cpp:66pass by value UIControl.cpp:86NetIPAddr [V] pass by reference UIControl.h:103pass by reference UIControl.cpp:122UInt16 [CV] pass by value UIControl.h:30pass by value UIControl.h:59pass by value UIControl.h:76pass by value UIControl.h:103pass by reference UIControl.h:103pass by value UIControl.cpp:26pass by value UIControl.cpp:66pass by value UIControl.cpp:86pass by value UIControl.cpp:122pass by reference UIControl.cpp:122 |