| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 14 | ****** |
| McCabe's Cyclomatic Number | MVG | 2 | ****** |
| Lines of Comment | COM | 2 | ******** |
| LOC/COM | L_C | ------ | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 5 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 5 | |
| Depth of Inheritance Tree | DIT | 0 | |
| Number of Children | NOC | 6 | |
| Coupling between objects | CBO | 9 | |
| Information Flow measure ( inclusive ) | IF4 | 196 | ******** |
| Information Flow measure ( visible ) | IF4v | 196 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./src/Force.h:12 |
3 | 0 | 0 | ------ | ------ |
declaration
./src/Particle.h:48 |
1 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Force( ) definition ./src/Force.h:15 | 1 | 0 | 0 | ------ | ------ |
| applyForce( ) definition ./src/Force.h:17declaration ./src/Particle.h:49 | 2 | 0 | 0 | ------ | ------ |
| operator <<( QDataStream & ) definition ./src/Force.h:23 | 3 | 1 | 0 | ------ | ------ |
| usesParticle( const Particle * ) definition ./src/Force.h:20 | 3 | 1 | 2 | ------ | ------ |
| ~Force( ) definition ./src/Force.h:16 | 1 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Const_Field [CV] inheritance ./src/Force.h:29Constant [CV] inheritance ./src/Force.h:122Drag [CV] inheritance ./src/Force.h:106Global_Drag [CV] inheritance ./src/Force.h:91Mouse_Spring [CV] inheritance ./src/Mouse_Spring.h:14ParticleSystem [V] pass by reference ./src/Particle.cpp:192pass by reference ./src/Particle.h:61Spring [CV] inheritance ./src/Force.h:53 |
Particle [V] pass by reference ./src/Force.h:20QDataStream [V] pass by reference ./src/Force.h:23 |