Detailed report on module Particle

MetricTagOverallPer Function
Lines of CodeLOC 74******
McCabe's Cyclomatic NumberMVG 9******
Lines of CommentCOM 7********
LOC/COML_C10.571 
MVG/COMM_C 1.286 
Weighted Methods per Class (  weighting = unity )WMC1 12 
Weighted Methods per Class (  weighting = visible )WMCv 9 
Depth of Inheritance TreeDIT 0 
Number of ChildrenNOC 0 
Coupling between objectsCBO 14 
Information Flow measure (  inclusive )IF4 1089********
Information Flow measure (  visible )IF4v 729********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
declaration   ./src/Constraint.h:16
1 0 0------------
declaration   ./src/Force.h:9
1 0 0------------
definition   ./src/Particle.h:12
14 0 1------------

Functions

Function prototypeLOCMVGCOML_CM_C
Particle(  Particle & )
definition   ./src/Particle.cpp:24
declaration   ./src/Particle.h:16

5 0 0------------
Particle(  int )
definition   ./src/Particle.cpp:13
declaration   ./src/Particle.h:15

9 2 5------------
id(   )
definition   ./src/Particle.cpp:65
declaration   ./src/Particle.h:25

4 1 0------------
id(  int )
definition   ./src/Particle.cpp:69
declaration   ./src/Particle.h:26

4 0 0------------
isFixed(   )
definition   ./src/Particle.cpp:46
declaration   ./src/Particle.h:24

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

1 0 0------------
operator <<(  ostream &,  const Particle * )
declaration   ./src/Particle.h:28

1 0 0------------
operator =(  Particle & )
definition   ./src/Particle.cpp:29
declaration   ./src/Particle.h:17

8 4 0------------
operator >>(  QDataStream &,  Particle & )
declaration   ./src/Particle.h:30

1 0 0------------
pickColor(   )
definition   ./src/Particle.cpp:50
declaration   ./src/Particle.h:22

13 1 1------------
setFixed(  bool )
definition   ./src/Particle.cpp:42
declaration   ./src/Particle.h:23

4 0 0------------
~Particle(   )
definition   ./src/Particle.cpp:38
declaration   ./src/Particle.h:18

4 0 0------------

Relationships

ClientsSuppliers
Circle
pass by reference   ./src/Constraint.h:102
pass by reference   ./src/Constraint.h:112
has by reference   ./src/Constraint.h:129
pass by reference   ./src/Constraint.cpp:201
pass by reference   ./src/Constraint.cpp:260


Constant [V]
has by reference   ./src/Force.h:124
pass by reference   ./src/Force.h:134
pass by reference   ./src/Force.cpp:265
pass by reference   ./src/Force.cpp:300


Constraint [V]
pass by reference   ./src/Constraint.h:42


ConstraintSystem
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


Dimension [V]
pass by reference   ./src/Constraint.h:144
pass by reference   ./src/Constraint.h:151
has by reference   ./src/Constraint.h:159
pass by reference   ./src/Constraint.cpp:269
pass by reference   ./src/Constraint.cpp:294


Distance [V]
pass by reference   ./src/Constraint.h:58
pass by reference   ./src/Constraint.h:59
pass by reference   ./src/Constraint.h:75
has by reference   ./src/Constraint.h:80
has by reference   ./src/Constraint.h:81
pass by reference   ./src/Constraint.cpp:44
pass by reference   ./src/Constraint.cpp:44
pass by reference   ./src/Constraint.cpp:173


Drag [V]
has by reference   ./src/Force.h:108
pass by reference   ./src/Force.h:112
pass by reference   ./src/Force.h:117
pass by reference   ./src/Force.cpp:219
pass by reference   ./src/Force.cpp:247


Force [V]
pass by reference   ./src/Force.h:20


Mouse_Spring [V]
has by reference   ./src/Mouse_Spring.h:20


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


Spring [V]
has by reference   ./src/Force.h:56
has by reference   ./src/Force.h:57
pass by reference   ./src/Force.h:65
pass by reference   ./src/Force.h:65
pass by reference   ./src/Force.h:85
pass by reference   ./src/Force.cpp:70
pass by reference   ./src/Force.cpp:70
pass by reference   ./src/Force.cpp:168


 
QDataStream [V]
pass by reference   ./src/Particle.h:29
pass by reference   ./src/Particle.h:30


bool [CV]
pass by value   ./src/Particle.cpp:42
pass by value   ./src/Particle.h:23
has by value   ./src/Particle.h:39


ostream [V]
pass by reference   ./src/Particle.h:28