uber / ringpop-go
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 0% | 6% | 16% | 74%
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
go2% | 0% | 6% | 16% | 74%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
ROOT18% | 0% | 0% | 5% | 75%
hashring0% | 0% | 24% | 11% | 63%
swim0% | 0% | 4% | 16% | 78%
scripts0% | 0% | 51% | 0% | 48%
forward0% | 0% | 0% | 36% | 63%
logging0% | 0% | 0% | 41% | 58%
replica0% | 0% | 0% | 30% | 69%
util0% | 0% | 0% | 18% | 81%
router0% | 0% | 0% | 0% | 100%
events0% | 0% | 0% | 0% | 100%
discovery0% | 0% | 0% | 0% | 100%
shared0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
131 52 1
68 17 1
59 15 0
60 14 1
58 12 1
44 11 1
27 10 1
27 10 1
52 10 1
34 10 1
29 10 2
23 9 2
21 8 1
19 8 5
25 8 1
20 8 1
46 8 1
46 8 1
17 7 1
39 7 1
34 7 2
18 7 1
18 7 1
31 6 2
14 6 1
65 6 1
19 6 1
34 6 1
42 6 2
16 6 1
21 6 1
29 6 1
17 5 2
13 5 1
15 5 1
33 5 1
35 5 1
21 5 1
20 5 1
35 5 1
14 5 4
31 5 1
18 5 1
16 5 1
18 5 1
41 5 1
26 4 2
13 4 1
17 4 2
16 4 1