| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 21 | ****** |
| McCabe's Cyclomatic Number | MVG | 2 | ****** |
| Lines of Comment | COM | 4 | ******** |
| LOC/COM | L_C | 5.250 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 4 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 4 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 3 | |
| Information Flow measure ( inclusive ) | IF4 | 4 | ******** |
| Information Flow measure ( visible ) | IF4v | 1 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
declaration
./src/Constraint.h:100 |
1 | 0 | 0 | ------ | ------ |
definition
./src/Constraint.h:115 |
4 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Data( const Data & ) declaration ./src/Constraint.h:118definition ./src/Constraint.cpp:189 | 3 | 0 | 0 | ------ | ------ |
| Data( float, float, float, float ) declaration ./src/Constraint.h:117definition ./src/Constraint.cpp:184 | 4 | 0 | 4 | ------ | ------ |
| operator <<( QDataStream &, const Data & ) declaration ./src/Constraint.h:122 | 2 | 0 | 0 | ------ | ------ |
| operator =( const Data & ) declaration ./src/Constraint.h:119definition ./src/Constraint.cpp:193 | 7 | 2 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Circle [C] pass by reference ./src/Constraint.h:103has by value ./src/Constraint.h:128pass by reference ./src/Constraint.cpp:202ConstraintSystem [V] pass by reference ./src/Constraint.h:185pass by reference ./src/Constraint.cpp:367 |
QDataStream [V] pass by reference ./src/Constraint.h:122 |