| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 48 | ****** |
| McCabe's Cyclomatic Number | MVG | 13 | ****** |
| Lines of Comment | COM | 3 | ******** |
| LOC/COM | L_C | 16.000 | |
| MVG/COM | M_C | 4.333 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 8 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 7 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 4 | |
| 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/Force.h:122 |
5 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Constant( ... ) declaration ./src/Force.h:128 | 2 | 0 | 0 | ------ | ------ |
| Constant( Particle *, float, float, float ) definition ./src/Force.cpp:265 | 7 | 0 | 3 | ------ | ------ |
| Constant( ParticleSystem *, QDataStream & ) declaration ./src/Force.h:130definition ./src/Force.cpp:273 | 6 | 1 | 0 | ------ | ------ |
| applyForce( ) declaration ./src/Force.h:133definition ./src/Force.cpp:292 | 6 | 0 | 0 | ------ | ------ |
| getVal( int ) declaration ./src/Force.h:131definition ./src/Force.cpp:280 | 5 | 4 | 0 | ------ | ------ |
| operator <<( QDataStream & ) declaration ./src/Force.h:135definition ./src/Force.cpp:306 | 7 | 2 | 0 | ------ | ------ |
| setVal( float, int ) declaration ./src/Force.h:132definition ./src/Force.cpp:286 | 5 | 3 | 0 | ------ | ------ |
| usesParticle( const Particle * ) declaration ./src/Force.h:134definition ./src/Force.cpp:300 | 5 | 3 | 0 | ------ | ------ |
| Clients | Suppliers |
|---|---|
|
Force [CV] inheritance ./src/Force.h:122Particle [V] has by reference ./src/Force.h:124pass by reference ./src/Force.h:134pass by reference ./src/Force.cpp:265pass by reference ./src/Force.cpp:300ParticleSystem [V] pass by reference ./src/Force.h:130pass by reference ./src/Force.cpp:273QDataStream [V] pass by reference ./src/Force.h:130pass by reference ./src/Force.h:135pass by reference ./src/Force.cpp:273pass by reference ./src/Force.cpp:306 |