gitlab-org / labkit
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 10% | 29% | 20% | 38%
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% | 29% | 20% | 38%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
metrics0% | 35% | 36% | 5% | 21%
example0% | 100% | 0% | 0% | 0%
log0% | 13% | 0% | 44% | 41%
tracing0% | 0% | 51% | 16% | 32%
monitoring0% | 0% | 29% | 19% | 51%
remoteip0% | 0% | 47% | 44% | 8%
errortracking0% | 0% | 26% | 0% | 73%
mask0% | 0% | 68% | 20% | 11%
correlation0% | 0% | 7% | 29% | 62%
fips0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
77 1 1
64 2 3
56 7 0
54 18 1
48 1 1
42 5 1
41 7 1
40 2 1
37 1 1
37 11 1
33 4 2
30 9 1
30 8 1
30 8 1
29 9 1
29 7 1
28 7 1
27 4 2
26 7 1
25 7 2
24 7 2
24 7 1
24 5 1
24 5 1
23 5 2
21 2 1
21 4 1
21 7 1
20 1 1
20 8 1
19 8 1
19 5 2
18 5 2
18 5 1
18 4 1
17 5 1
17 4 1
15 3 1
15 3 1
15 5 1
15 5 1
14 3 1
14 1 2
14 3 1
14 3 1
14 4 2
13 3 1
13 3 1
13 4 4
13 4 1