Detailed report on module Spring

MetricTagOverallPer Function
Lines of CodeLOC 107******
McCabe's Cyclomatic NumberMVG 13******
Lines of CommentCOM 14********
LOC/COML_C 7.643 
MVG/COMM_C 0.929 
Weighted Methods per Class (  weighting = unity )WMC1 19 
Weighted Methods per Class (  weighting = visible )WMCv 19 
Depth of Inheritance TreeDIT 1 
Number of ChildrenNOC 0 
Coupling between objectsCBO 5 
Information Flow measure (  inclusive )IF4 0********
Information Flow measure (  visible )IF4v 0********
Information Flow measure (  concrete )IF4c 0********

Definitions and Declarations

DescriptionLOCMVGCOML_CM_C
definition   ./src/Force.h:53
10 0 3------------

Functions

Function prototypeLOCMVGCOML_CM_C
Spring(   )
definition   ./src/Force.h:62

1 0 1------------
Spring(  Particle *,  Particle *,  float,  float,  float )
declaration   ./src/Force.h:65
definition   ./src/Force.cpp:70

7 0 3------------
Spring(  ParticleSystem *,  QDataStream & )
declaration   ./src/Force.h:68
definition   ./src/Force.cpp:76

8 0 0------------
Spring(  const Spring & )
declaration   ./src/Force.h:69
definition   ./src/Force.cpp:85

4 0 0------------
applyForce(   )
declaration   ./src/Force.h:81
definition   ./src/Force.cpp:134

22 0 7 3.143------
getColor(   )
declaration   ./src/Force.h:83
definition   ./src/Force.cpp:124

4 1 0------------
getDampingFactor(   )
declaration   ./src/Force.h:76
definition   ./src/Force.cpp:111

4 1 0------------
getParticle1(   )
definition   ./src/Force.h:79

1 1 0------------
getParticle2(   )
definition   ./src/Force.h:80

1 1 0------------
getSpringConstant(   )
declaration   ./src/Force.h:74
definition   ./src/Force.cpp:103

4 1 0------------
getrestLength(   )
declaration   ./src/Force.h:78
definition   ./src/Force.cpp:119

4 1 0------------
operator <<(  QDataStream & )
declaration   ./src/Force.h:86
definition   ./src/Force.cpp:175

7 1 0------------
operator =(  const Spring & )
declaration   ./src/Force.h:70
definition   ./src/Force.cpp:90

8 2 0------------
setColor(  const QColor & )
declaration   ./src/Force.h:84
definition   ./src/Force.cpp:129

4 0 0------------
setDampingFactor(  float )
declaration   ./src/Force.h:75
definition   ./src/Force.cpp:107

4 0 0------------
setSpringConstant(  float )
declaration   ./src/Force.h:73
definition   ./src/Force.cpp:99

4 0 0------------
setrestLength(  float )
declaration   ./src/Force.h:77
definition   ./src/Force.cpp:115

4 0 0------------
usesParticle(  const Particle * )
declaration   ./src/Force.h:85
definition   ./src/Force.cpp:168

5 4 0------------
~Spring(   )
definition   ./src/Force.h:71

1 0 0------------

Relationships

ClientsSuppliers
  Force [CV]
inheritance   ./src/Force.h:53


Particle [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


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


QColor [CV]
has by value   ./src/Force.h:61
pass by reference   ./src/Force.h:84
pass by reference   ./src/Force.cpp:129


QDataStream [V]
pass by reference   ./src/Force.h:68
pass by reference   ./src/Force.h:86
pass by reference   ./src/Force.cpp:76
pass by reference   ./src/Force.cpp:175