| Metric | Tag | Overall | Per Function |
|---|---|---|---|
| Lines of Code | LOC | 66 | ****** |
| McCabe's Cyclomatic Number | MVG | 9 | ****** |
| Lines of Comment | COM | 1 | ******** |
| LOC/COM | L_C | 66.000 | |
| MVG/COM | M_C | 9.000 | |
| Weighted Methods per Class ( weighting = unity ) | WMC1 | 11 | |
| Weighted Methods per Class ( weighting = visible ) | WMCv | 11 | |
| Depth of Inheritance Tree | DIT | 1 | |
| Number of Children | NOC | 0 | |
| Coupling between objects | CBO | 5 | |
| Information Flow measure ( inclusive ) | IF4 | 16 | ******** |
| Information Flow measure ( visible ) | IF4v | 16 | ******** |
| Information Flow measure ( concrete ) | IF4c | 0 | ******** |
| Description | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
definition
./src/Force.h:29 |
6 | 0 | 0 | ------ | ------ |
| Function prototype | LOC | MVG | COM | L_C | M_C |
|---|---|---|---|---|---|
| Const_Field( ParticleSystem *, QDataStream & ) declaration ./src/Force.h:38definition ./src/Force.cpp:15 | 8 | 1 | 1 | ------ | ------ |
| Const_Field( ParticleSystem *, float, float, float ) declaration ./src/Force.h:35definition ./src/Force.cpp:5 | 10 | 0 | 0 | ------ | ------ |
| Const_Field( const Const_Field & ) declaration ./src/Force.h:40definition ./src/Force.cpp:24 | 5 | 0 | 0 | ------ | ------ |
| activation( bool ) declaration ./src/Force.h:44definition ./src/Force.cpp:42 | 4 | 0 | 0 | ------ | ------ |
| applyForce( ) declaration ./src/Force.h:45definition ./src/Force.cpp:46 | 11 | 3 | 0 | ------ | ------ |
| getY( ) definition ./src/Force.h:47 | 1 | 1 | 0 | ------ | ------ |
| isActive( ) declaration ./src/Force.h:43definition ./src/Force.cpp:40 | 2 | 1 | 0 | ------ | ------ |
| operator <<( QDataStream & ) declaration ./src/Force.h:48definition ./src/Force.cpp:58 | 7 | 1 | 0 | ------ | ------ |
| operator =( const Const_Field & ) declaration ./src/Force.h:41definition ./src/Force.cpp:30 | 10 | 2 | 0 | ------ | ------ |
| setY( float ) definition ./src/Force.h:46 | 1 | 0 | 0 | ------ | ------ |
| ~Const_Field( ) definition ./src/Force.h:42 | 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:29ParticleSystem [V] has by reference ./src/Force.h:30pass by reference ./src/Force.h:35pass by reference ./src/Force.h:38pass by reference ./src/Force.cpp:5pass by reference ./src/Force.cpp:15QDataStream [V] pass by reference ./src/Force.h:38pass by reference ./src/Force.h:48pass by reference ./src/Force.cpp:15pass by reference ./src/Force.cpp:58bool [CV] has by value ./src/Force.h:32pass by value ./src/Force.h:44pass by value ./src/Force.cpp:42 |