Detailed report on module ParticleSystem

MetricTagOverallPer Function
Lines of CodeLOC 255******
McCabe's Cyclomatic NumberMVG 52******
Lines of CommentCOM 44********
LOC/COML_C 5.795 
MVG/COMM_C 1.182 
Weighted Methods per Class (  weighting = unity )WMC1 23 
Weighted Methods per Class (  weighting = visible )WMCv 3 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 25 
Information Flow measure (  inclusive )IF4 20736********
Information Flow measure (  visible )IF4v 18225********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./src/Constraint.h:17
1 0 0------------
declaration   ./src/Force.h:10
1 0 0------------
definition   ./src/Particle.h:54
15 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
ParticleSystem(  int )
definition   ./src/Particle.cpp:153
declaration   ./src/Particle.h:57

11 1 3------------
addCollider(  D2_Collider * )
definition   ./src/Particle.cpp:197
declaration   ./src/Particle.h:65

4 0 2------------
addForce(  Force * )
definition   ./src/Particle.cpp:192
declaration   ./src/Particle.h:61

4 0 0------------
addParticle(  float,  float,  float )
definition   ./src/Particle.cpp:203
declaration   ./src/Particle.h:71

10 1 2------------
calculateForces(   )
definition   ./src/Particle.cpp:258
declaration   ./src/Particle.h:66

13 3 1------------
clear(   )
definition   ./src/Particle.cpp:225
declaration   ./src/Particle.h:73

12 1 0------------
clearAllForces(   )
definition   ./src/Particle.cpp:359
declaration   ./src/Particle.h:125

8 1 1------------
clearSprings(   )
definition   ./src/Particle.cpp:237
declaration   ./src/Particle.h:74

11 2 0------------
doCollisions(   )
definition   ./src/Particle.cpp:276
declaration   ./src/Particle.h:67

6 3 0------------
enableConstraints(  bool )
definition   ./src/Particle.cpp:291
declaration   ./src/Particle.h:93

9 3 7------------
getCS(   )
definition   ./src/Particle.cpp:302
declaration   ./src/Particle.h:97

4 1 2------------
getForce(  int )
definition   ./src/Particle.cpp:254
declaration   ./src/Particle.h:83

4 1 0------------
getParticle(  int )
definition   ./src/Particle.cpp:216
declaration   ./src/Particle.h:72

4 1 0------------
getSystem(   )
definition   ./src/Particle.cpp:187
declaration   ./src/Particle.h:60

4 1 0------------
isChanged(   )
definition   ./src/Particle.cpp:352
declaration   ./src/Particle.h:80

6 1 4------------
load(  QDataStream &,  Global_Drag *&,  Const_Field *& )
definition   ./src/Particle.cpp:367
declaration   ./src/Particle.h:113

63 16 9 7.000 1.778
numForces(   )
definition   ./src/Particle.cpp:250
declaration   ./src/Particle.h:82

4 1 0------------
operator <<(  QDataStream &,  const ParticleSystem & )
declaration   ./src/Particle.h:106

2 0 0------------
operator [](  int )
definition   ./src/Particle.cpp:221
declaration   ./src/Particle.h:81

4 1 0------------
removeParticle(  Particle * )
definition   ./src/Particle.cpp:307
declaration   ./src/Particle.h:99

33 9 7 4.714 1.286
renumber(   )
definition   ./src/Particle.cpp:285
declaration   ./src/Particle.h:123

5 1 3------------
size(   )
definition   ./src/Particle.cpp:183
declaration   ./src/Particle.h:59

4 1 0------------
~ParticleSystem(   )
definition   ./src/Particle.cpp:164
declaration   ./src/Particle.h:58

13 3 3------------

Relationships

ClientsSuppliers
Circle
pass by reference   ./src/Constraint.h:106
pass by reference   ./src/Constraint.cpp:213


Const_Field [V]
has by reference   ./src/Force.h:30
pass by reference   ./src/Force.h:35
pass by reference   ./src/Force.h:38
pass by reference   ./src/Force.cpp:5
pass by reference   ./src/Force.cpp:15


Constant [V]
pass by reference   ./src/Force.h:130
pass by reference   ./src/Force.cpp:273


ConstraintSystem [V]
pass by reference   ./src/Constraint.h:176
has by reference   ./src/Constraint.h:204
pass by reference   ./src/Constraint.cpp:322


D2_Collider [V]
pass by reference   ./src/Plane.cpp:4
pass by reference   ./src/Plane.h:13
has by reference   ./src/Plane.h:20


D2_Plane [V]
pass by reference   ./src/Plane.cpp:26
pass by reference   ./src/Plane.h:28


Dimension [V]
pass by reference   ./src/Constraint.h:153
pass by reference   ./src/Constraint.cpp:307


Distance [V]
pass by reference   ./src/Constraint.h:67
pass by reference   ./src/Constraint.cpp:67


Drag [V]
pass by reference   ./src/Force.h:113
pass by reference   ./src/Force.cpp:223


Euler [V]
pass by reference   ./src/Euler.cpp:4
pass by reference   ./src/ODESolver.h:23


Global_Drag [V]
has by reference   ./src/Force.h:94
pass by reference   ./src/Force.h:97
pass by reference   ./src/Force.h:98
pass by reference   ./src/Force.cpp:187
pass by reference   ./src/Force.cpp:191


MidPoint [V]
pass by reference   ./src/ODESolver.h:35
pass by reference   ./src/MidPoint.cpp:4


Mouse_Spring [V]
has by reference   ./src/Mouse_Spring.h:15
pass by reference   ./src/Mouse_Spring.h:23
pass by reference   ./src/Mouse_Spring.cpp:3


ODESolver [V]
pass by reference   ./src/ODESolver.h:10
has by reference   ./src/ODESolver.h:16


RungeKutta4 [V]
pass by reference   ./src/RungeKutta4.cpp:6
pass by reference   ./src/ODESolver.h:49


Spring [V]
pass by reference   ./src/Force.h:68
pass by reference   ./src/Force.cpp:76


 
Const_Field [V]
pass by reference   ./src/Particle.cpp:368
pass by reference   ./src/Particle.h:113


ConstraintSystem [V]
has by reference   ./src/Particle.h:119


D2_Collider [V]
pass by reference   ./src/Particle.cpp:197
pass by reference   ./src/Particle.h:65


Force [V]
pass by reference   ./src/Particle.cpp:192
pass by reference   ./src/Particle.h:61


Global_Drag [V]
pass by reference   ./src/Particle.cpp:368
pass by reference   ./src/Particle.h:113


Particle [V]
pass by reference   ./src/Particle.cpp:307
pass by reference   ./src/Particle.h:99


QDataStream [V]
pass by reference   ./src/Particle.cpp:367
pass by reference   ./src/Particle.h:106
pass by reference   ./src/Particle.h:113


bool [CV]
pass by value   ./src/Particle.cpp:291
pass by value   ./src/Particle.h:93
has by value   ./src/Particle.h:124


vector [V]
has by reference   ./src/Particle.h:116
has by reference   ./src/Particle.h:117
has by reference   ./src/Particle.h:118