spotify / beam
Unit Size

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

Intro
Learn more...
Unit Size Overall
4% | 8% | 24% | 22% | 40%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
java3% | 8% | 24% | 22% | 40%
go8% | 8% | 18% | 18% | 45%
py4% | 8% | 26% | 23% | 37%
groovy71% | 2% | 15% | 4% | 6%
js0% | 0% | 35% | 22% | 42%
ts0% | 0% | 48% | 17% | 34%
pyx0% | 0% | 44% | 11% | 44%
kt0% | 0% | 6% | 25% | 67%
h0% | 0% | 73% | 0% | 26%
tsx0% | 0% | 15% | 36% | 48%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
sdks4% | 7% | 23% | 21% | 42%
runners4% | 10% | 25% | 23% | 36%
buildSrc85% | 0% | 10% | 0% | 3%
release0% | 9% | 40% | 22% | 27%
website0% | 2% | 34% | 21% | 41%
learning0% | 0% | 6% | 36% | 57%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
1523 108 1
701 162 0
358 10 0
318 75 0
310 32 1
298 42 1
266 60 0
262 34 1
261 40 1
257 54 0
252 25 6
231 18 1
213 31 7
204 51 1
202 4 2
201 44 1
200 23 1
191 18 1
185 5 2
184 40 1
182 42 0
180 42 6
179 20 7
178 15 1
169 25 1
167 32 12
167 12 5
166 19 3
166 5 2
164 46 1
164 19 2
163 30 4
155 6 2
150 14 2
148 37 3
144 27 1
141 17 2
134 44 1
133 15 5
133 4 2
132 11 1
131 14 3
130 11 8
125 42 1
125 16 1
124 30 2
122 19 1
121 40 0
120 4 1
119 14 3