elastic / cloud-sdk-go
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
1% | 3% | 8% | 16% | 70%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go1% | 3% | 8% | 16% | 70%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
pkg1% | 1% | 7% | 17% | 72%
cmd0% | 33% | 27% | 9% | 30%
internal0% | 0% | 17% | 13% | 69%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
119 54 11
115 48 1
63 28 1
104 27 3
73 19 4
15 17 1
94 17 1
47 16 1
52 15 2
53 14 1
46 13 2
33 13 1
16 13 2
36 12 1
32 12 1
32 12 1
41 11 3
30 11 2
32 11 1
112 11 1
17 10 1
32 10 4
31 9 1
30 9 1
35 9 1
16 9 1
32 9 3
30 8 1
36 8 3
26 8 1
38 8 1
25 8 1
32 8 1
24 8 2
24 8 2
24 8 2
37 8 2
18 8 1
21 8 2
27 8 2
23 7 1
25 7 1
19 7 1
16 7 2
22 7 1
35 7 1
26 7 1
23 7 1
19 7 1
24 7 2