| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 53 | ****** |
| McCabe's Cyclomatic Number | MVG | 4 | ****** |
| Lines of Comment | COM | 7 | ******** |
| LOC/COM | L_C | 7.571 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 11 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 7 | |
| 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:141 |
7 | 0 | 4 | ------ | ------ |
declaration
./src/Constraint.h:182 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Dimension( Particle &, ConstraintSystem &, int, int ) declaration ./src/Constraint.h:144definition ./src/Constraint.cpp:269 | 7 | 0 | 3 | ------ | ------ |
| Dimension( const Dimension & ) declaration ./src/Constraint.h:147definition ./src/Constraint.cpp:277 | 4 | 0 | 0 | ------ | ------ |
| buildFromFile( ParticleSystem *, Constraint *&, ConstraintSystem &, QDataStream & ) declaration ./src/Constraint.h:153definition ./src/Constraint.cpp:307 | 10 | 0 | 0 | ------ | ------ |
| c_func_dot( ) declaration ./src/Constraint.h:163 | 1 | 0 | 0 | ------ | ------ |
| calculate( ) declaration ./src/Constraint.h:150definition ./src/Constraint.cpp:282 | 8 | 0 | 0 | ------ | ------ |
| fill_J( ) declaration ./src/Constraint.h:164 | 1 | 0 | 0 | ------ | ------ |
| fill_J_dot( ) declaration ./src/Constraint.h:165 | 1 | 0 | 0 | ------ | ------ |
| operator <<( QDataStream & ) declaration ./src/Constraint.h:152definition ./src/Constraint.cpp:300 | 6 | 1 | 0 | ------ | ------ |
| operator =( const Dimension & ) declaration ./src/Constraint.h:162 | 1 | 0 | 0 | ------ | ------ |
| usesParticle( const Particle * ) declaration ./src/Constraint.h:151definition ./src/Constraint.cpp:294 | 5 | 3 | 0 | ------ | ------ |
| ~Dimension( ) definition ./src/Constraint.h:148 | 1 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Constraint [CV] inheritance ./src/Constraint.h:141pass by reference ./src/Constraint.h:153pass by reference ./src/Constraint.cpp:307ConstraintSystem [V] pass by reference ./src/Constraint.h:144pass by reference ./src/Constraint.h:154pass by reference ./src/Constraint.cpp:269pass by reference ./src/Constraint.cpp:308Particle [V] pass by reference ./src/Constraint.h:144pass by reference ./src/Constraint.h:151has by reference ./src/Constraint.h:159pass by reference ./src/Constraint.cpp:269pass by reference ./src/Constraint.cpp:294ParticleSystem [V] pass by reference ./src/Constraint.h:153pass by reference ./src/Constraint.cpp:307QDataStream [V] pass by reference ./src/Constraint.h:152pass by reference ./src/Constraint.h:154pass by reference ./src/Constraint.cpp:300pass by reference ./src/Constraint.cpp:308USHORT [C] has by value ./src/Constraint.h:160 |