| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 60 | ****** |
| McCabe's Cyclomatic Number | MVG | 7 | ****** |
| Lines of Comment | COM | 4 | ******** |
| LOC/COM | L_C | 15.000 | |
| MVG/COM | M_C | 1.750 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 7 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 0 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 6 | |
| 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
./src/Constraint.h:98 |
6 | 0 | 4 | ------ | ------ |
declaration
./src/Constraint.h:181 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Circle( Particle &, ConstraintSystem &, int, Data & ) declaration ./src/Constraint.h:102definition ./src/Constraint.cpp:201 | 4 | 0 | 0 | ------ | ------ |
| buildFromFile( ParticleSystem *, Constraint *&, ConstraintSystem &, QDataStream & ) declaration ./src/Constraint.h:106definition ./src/Constraint.cpp:213 | 12 | 0 | 0 | ------ | ------ |
| calculate( ) declaration ./src/Constraint.h:110definition ./src/Constraint.cpp:227 | 20 | 2 | 0 | ****** | ------ |
| getData( ) declaration ./src/Constraint.h:109definition ./src/Constraint.cpp:255 | 4 | 1 | 0 | ------ | ------ |
| operator <<( QDataStream & ) declaration ./src/Constraint.h:105definition ./src/Constraint.cpp:205 | 7 | 1 | 0 | ------ | ------ |
| usesParticle( const Particle * ) declaration ./src/Constraint.h:112definition ./src/Constraint.cpp:260 | 5 | 3 | 0 | ------ | ------ |
| ~Circle( ) definition ./src/Constraint.h:104 | 1 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Constraint [CV] inheritance ./src/Constraint.h:98pass by reference ./src/Constraint.h:106pass by reference ./src/Constraint.cpp:213ConstraintSystem pass by reference ./src/Constraint.h:102pass by reference ./src/Constraint.h:107pass by reference ./src/Constraint.cpp:201pass by reference ./src/Constraint.cpp:214Data [C] pass by reference ./src/Constraint.h:103has by value ./src/Constraint.h:128pass by reference ./src/Constraint.cpp:202Particle pass by reference ./src/Constraint.h:102pass by reference ./src/Constraint.h:112has by reference ./src/Constraint.h:129pass by reference ./src/Constraint.cpp:201pass by reference ./src/Constraint.cpp:260ParticleSystem pass by reference ./src/Constraint.h:106pass by reference ./src/Constraint.cpp:213QDataStream pass by reference ./src/Constraint.h:105pass by reference ./src/Constraint.h:107pass by reference ./src/Constraint.cpp:205pass by reference ./src/Constraint.cpp:214 |