Uber / ringpop-go
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
2% | 8% | 27% | 29% | 31%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go2% | 8% | 27% | 29% | 31%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
ROOT18% | 0% | 21% | 18% | 41%
swim0% | 7% | 31% | 30% | 30%
hashring0% | 24% | 14% | 40% | 20%
scripts0% | 51% | 22% | 10% | 15%
replica0% | 30% | 16% | 35% | 16%
forward0% | 0% | 46% | 39% | 14%
logging0% | 0% | 33% | 26% | 39%
router0% | 0% | 44% | 16% | 39%
util0% | 0% | 18% | 20% | 61%
events0% | 0% | 0% | 67% | 32%
discovery0% | 0% | 0% | 57% | 42%
shared0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
131 52 1
68 17 1
65 6 1
60 14 1
59 15 0
58 12 1
54 4 1
52 10 1
50 4 4
49 4 4
46 8 1
46 8 1
44 11 1
42 6 2
41 3 4
41 5 1
39 7 1
38 4 1
35 5 1
35 5 1
34 10 1
34 3 2
34 7 2
34 6 1
33 5 1
31 6 2
31 4 3
31 5 1
29 6 1
29 10 2
29 4 1
29 1 1
28 3 1
27 10 1
27 10 1
26 4 2
25 8 1
25 1 0
25 2 10
24 4 2
24 1 1
23 4 2
23 2 1
23 9 2
23 3 1
21 5 1
21 6 1
21 3 2
21 8 1
20 3 1