elastic / go-ucfg
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 10% | 33% | 23% | 32%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go0% | 10% | 33% | 23% | 32%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
ROOT0% | 12% | 33% | 23% | 30%
parse0% | 0% | 62% | 22% | 14%
flag0% | 0% | 14% | 33% | 51%
diff0% | 0% | 0% | 35% | 64%
cfgutil0% | 0% | 0% | 47% | 52%
json0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
hjson0% | 0% | 0% | 0% | 100%
cfgtest0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
74 15 1
72 18 3
64 17 3
61 19 3
55 14 3
55 18 3
52 15 4
50 18 1
45 14 2
45 14 2
43 11 4
42 12 5
42 10 1
41 12 5
40 14 3
37 9 4
37 12 4
35 8 1
34 9 6
34 7 3
34 8 1
33 9 1
33 8 3
32 9 5
31 7 4
31 10 1
29 7 1
29 7 3
29 11 3
29 10 2
28 5 3
28 6 3
28 6 3
28 8 1
27 7 1
27 8 2
27 3 4
26 10 1
25 6 1
25 8 3
25 8 2
24 6 1
23 6 3
23 7 2
23 4 1
22 8 2
22 7 1
21 5 1
21 8 1
21 6 1