elastic / go-structform
Unit Size

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

Intro
Learn more...
Unit Size Overall
3% | 6% | 23% | 31% | 34%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go3% | 6% | 23% | 31% | 34%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
cborl12% | 7% | 18% | 28% | 33%
json12% | 13% | 24% | 18% | 32%
gotype0% | 10% | 24% | 26% | 39%
ubjson0% | 3% | 35% | 38% | 22%
sftest0% | 0% | 45% | 23% | 31%
ROOT0% | 0% | 0% | 95% | 4%
bench0% | 0% | 0% | 16% | 83%
internal0% | 0% | 0% | 30% | 69%
visitors0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
124 39 1
118 31 1
95 46 1
74 20 1
67 17 1
65 14 1
60 24 1
56 21 1
48 11 1
47 12 2
45 20 1
44 9 1
43 12 1
40 15 1
40 13 1
39 12 2
39 12 1
38 17 1
37 12 1
35 10 3
33 7 1
33 8 1
33 8 1
32 8 1
32 8 1
31 9 1
31 9 1
31 12 1
31 8 1
30 6 2
30 6 1
30 5 3
29 15 1
29 6 1
29 6 1
28 7 1
27 4 3
27 8 1
27 9 1
26 4 2
26 11 1
26 10 1
26 10 1
24 7 1
23 7 1
22 6 2
22 7 1
22 7 1
22 8 1
22 5 1