Detailed report on module ConstraintSystem

MetricTagOverallPer Function
Lines of CodeLOC 208******
McCabe's Cyclomatic NumberMVG 31******
Lines of CommentCOM 30********
LOC/COML_C 6.933 
MVG/COMM_C 1.033 
Weighted Methods per Class (  weighting = unity )WMC1 14 
Weighted Methods per Class (  weighting = visible )WMCv 2 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 13 
Information Flow measure (  inclusive )IF4 1600********
Information Flow measure (  visible )IF4v 576********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./src/Constraint.h:15
1 0 0------------
definition   ./src/Constraint.h:172
26 0 7 3.714------
declaration   ./src/Particle.h:52
1 0 0------------

Functions

Function prototypeLOCMVGCOML_CM_C
ConstraintSystem(  ParticleSystem & )
declaration   ./src/Constraint.h:176
definition   ./src/Constraint.cpp:322

10 0 2------------
addCircleConstraint(  Particle &,  Data & )
declaration   ./src/Constraint.h:185
definition   ./src/Constraint.cpp:366

7 0 0------------
addDimensionConstraint(  Particle &,  int )
declaration   ./src/Constraint.h:184
definition   ./src/Constraint.cpp:359

6 0 0------------
addDistConstraint(  Particle &,  Particle &,  float )
declaration   ./src/Constraint.h:183
definition   ./src/Constraint.cpp:348

8 0 0------------
adjustForces(   )
declaration   ./src/Constraint.h:191
definition   ./src/Constraint.cpp:417

42 8 7 6.000 1.143
clear(   )
declaration   ./src/Constraint.h:187
definition   ./src/Constraint.cpp:382

8 1 0------------
fixParticle(  Particle & )
declaration   ./src/Constraint.h:186
definition   ./src/Constraint.cpp:375

4 1 0------------
getConstraint(  int )
declaration   ./src/Constraint.h:189
definition   ./src/Constraint.cpp:533

5 3 0------------
initialize(  bool )
declaration   ./src/Constraint.h:201
definition   ./src/Constraint.cpp:492

22 2 11 2.000------
loadFromFile(  QDataStream & )
declaration   ./src/Constraint.h:199
definition   ./src/Constraint.cpp:546

29 7 214.500 3.500
operator <<(  QDataStream &,  const ConstraintSystem & )
declaration   ./src/Constraint.h:197

2 0 0------------
removeParticleRefs(  const Particle * )
declaration   ./src/Constraint.h:188
definition   ./src/Constraint.cpp:392

21 7 121.000 7.000
size(   )
declaration   ./src/Constraint.h:190
definition   ./src/Constraint.cpp:540

4 1 0------------
~ConstraintSystem(   )
declaration   ./src/Constraint.h:177
definition   ./src/Constraint.cpp:333

12 1 0------------

Relationships

ClientsSuppliers
Circle
pass by reference   ./src/Constraint.h:102
pass by reference   ./src/Constraint.h:107
pass by reference   ./src/Constraint.cpp:201
pass by reference   ./src/Constraint.cpp:214


Constraint [V]
pass by reference   ./src/Constraint.h:30
has by reference   ./src/Constraint.h:48
pass by reference   ./src/Constraint.cpp:15


Dimension [V]
pass by reference   ./src/Constraint.h:144
pass by reference   ./src/Constraint.h:154
pass by reference   ./src/Constraint.cpp:269
pass by reference   ./src/Constraint.cpp:308


Distance [V]
pass by reference   ./src/Constraint.h:59
pass by reference   ./src/Constraint.h:68
pass by reference   ./src/Constraint.cpp:45
pass by reference   ./src/Constraint.cpp:68


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


 
Data [V]
pass by reference   ./src/Constraint.h:185
pass by reference   ./src/Constraint.cpp:367


Matrixf [V]
has by reference   ./src/Constraint.h:208
has by reference   ./src/Constraint.h:209
has by reference   ./src/Constraint.h:210
has by reference   ./src/Constraint.h:211
has by reference   ./src/Constraint.h:212


Particle
pass by reference   ./src/Constraint.h:183
pass by reference   ./src/Constraint.h:183
pass by reference   ./src/Constraint.h:184
pass by reference   ./src/Constraint.h:185
pass by reference   ./src/Constraint.h:186
pass by reference   ./src/Constraint.h:188
pass by reference   ./src/Constraint.cpp:348
pass by reference   ./src/Constraint.cpp:350
pass by reference   ./src/Constraint.cpp:359
pass by reference   ./src/Constraint.cpp:367
pass by reference   ./src/Constraint.cpp:375
pass by reference   ./src/Constraint.cpp:392


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


QDataStream [V]
pass by reference   ./src/Constraint.h:197
pass by reference   ./src/Constraint.h:199
pass by reference   ./src/Constraint.cpp:546


Vectf [V]
has by reference   ./src/Constraint.h:206
has by reference   ./src/Constraint.h:207
has by reference   ./src/Constraint.h:213
has by reference   ./src/Constraint.h:214
has by reference   ./src/Constraint.h:215
has by reference   ./src/Constraint.h:216
has by reference   ./src/Constraint.h:217
has by reference   ./src/Constraint.h:218


bool [C]
pass by value   ./src/Constraint.h:201
has by value   ./src/Constraint.h:224
pass by value   ./src/Constraint.cpp:492


vector [V]
has by reference   ./src/Constraint.h:205