gitlab-org / Gitaly
Unit Size

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

Intro
Learn more...
Unit Size Overall
5% | 13% | 27% | 22% | 30%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go5% | 13% | 27% | 22% | 30%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
internal8% | 19% | 36% | 18% | 17%
cmd11% | 4% | 49% | 22% | 11%
proto0% | <1% | 2% | 30% | 66%
tools0% | 3% | 60% | 24% | 11%
ROOT0% | 0% | 100% | 0% | 0%
auth0% | 0% | 33% | 34% | 31%
client0% | 0% | 0% | 33% | 66%
middleware0% | 0% | 0% | 91% | 8%
streamio0% | 0% | 0% | 63% | 36%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
487 61 3
206 23 1
196 42 1
188 45 1
178 30 1
172 33 4
168 29 1
167 29 1
162 42 9
156 24 1
152 39 1
150 28 1
149 26 2
144 45 5
142 32 4
139 29 4
136 26 1
135 35 6
130 27 4
128 23 1
127 19 1
125 26 1
123 26 1
122 25 3
115 27 1
112 31 1
111 18 1
110 17 1
110 32 1
109 21 1
108 9 1
108 35 1
106 21 1
104 25 1
104 29 1
103 28 1
103 23 2
102 23 1
102 15 1
101 16 1
100 21 2
99 20 1
99 22 1
99 21 1
97 19 1
97 26 1
97 7 1
96 23 4
95 2 0
95 28 6