Passed
Push — master ( 53b626...9f7d83 )
by Nicolaas
02:33
created

AllLinks::addToArrayOfLinks()   B

Complexity

Conditions 10
Paths 26

Size

Total Lines 34
Code Lines 17

Duplication

Lines 0
Ratio 0 %

Importance

Changes 7
Bugs 1 Features 1
Metric Value
cc 10
eloc 17
c 7
b 1
f 1
nc 26
nop 2
dl 0
loc 34
rs 7.6666

How to fix   Complexity   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1