| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 31 | ****** |
| McCabe's Cyclomatic Number | MVG | 3 | ****** |
| Lines of Comment | COM | 3 | ******** |
| LOC/COM | L_C | 10.333 | |
| MVG/COM | M_C | ------ | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 6 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 6 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 4 | |
| Information Flow measure ( inclusive ) | IF4 | 9 | ******** |
| Information Flow measure ( visible ) | IF4v | 9 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./src/Force.h:91 |
5 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Global_Drag( ParticleSystem *, QDataStream & ) declaration ./src/Force.h:98definition ./src/Force.cpp:191 | 5 | 0 | 0 | ------ | ------ |
| Global_Drag( ParticleSystem *, float ) declaration ./src/Force.h:97definition ./src/Force.cpp:187 | 3 | 0 | 3 | ------ | ------ |
| applyForce( ) declaration ./src/Force.h:101definition ./src/Force.cpp:197 | 10 | 1 | 0 | ------ | ------ |
| getCoeff( ) definition ./src/Force.h:99 | 1 | 1 | 0 | ------ | ------ |
| operator <<( QDataStream & ) declaration ./src/Force.h:102definition ./src/Force.cpp:208 | 6 | 1 | 0 | ------ | ------ |
| setCoeff( float ) definition ./src/Force.h:100 | 1 | 0 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
ParticleSystem [V] pass by reference ./src/Particle.cpp:368pass by reference ./src/Particle.h:113 |
Force [CV] inheritance ./src/Force.h:91ParticleSystem [V] has by reference ./src/Force.h:94pass by reference ./src/Force.h:97pass by reference ./src/Force.h:98pass by reference ./src/Force.cpp:187pass by reference ./src/Force.cpp:191QDataStream [V] pass by reference ./src/Force.h:98pass by reference ./src/Force.h:102pass by reference ./src/Force.cpp:191pass by reference ./src/Force.cpp:208 |