apache / spark
Unit Size

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

Intro
Learn more...
Unit Size Overall
6% | 12% | 27% | 22% | 31%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
scala8% | 13% | 29% | 22% | 26%
py5% | 6% | 19% | 21% | 47%
java1% | 9% | 23% | 20% | 44%
js10% | 8% | 27% | 22% | 31%
pyi2% | 3% | 16% | 26% | 51%
c0% | 0% | 0% | 100% | 0%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
sql8% | 12% | 28% | 22% | 28%
core8% | 13% | 28% | 22% | 27%
python4% | 6% | 18% | 22% | 48%
mllib3% | 14% | 32% | 24% | 25%
resource-managers10% | 22% | 31% | 18% | 16%
connector9% | 4% | 36% | 24% | 24%
common1% | 11% | 24% | 21% | 39%
dev17% | 17% | 22% | 15% | 26%
streaming2% | 6% | 28% | 23% | 39%
graphx5% | 5% | 24% | 30% | 34%
launcher0% | 19% | 31% | 20% | 28%
mllib-local0% | 15% | 39% | 27% | 17%
project0% | 0% | 37% | 33% | 28%
repl0% | 0% | 47% | 36% | 15%
hadoop-cloud0% | 0% | 22% | 45% | 32%
tools0% | 0% | 36% | 29% | 34%
R0% | 0% | 0% | 100% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
878 24 2
544 225 1
533 139 3
515 156 2
389 113 1
381 116 1
361 72 3
343 64 3
336 81 1
301 49 3
288 93 1
287 25 1
275 133 2
260 3 0
255 64 2
253 9 3
252 137 2
240 36 0
237 32 0
234 77 1
228 68 1
212 30 2
210 1 1
208 45 2
206 42 0
202 26 1
202 1 5
201 67 3
197 15 2
197 56 4
196 55 4
195 70 1
194 9 3
192 86 1
192 18 7
191 81 1
191 45 2
189 40 2
185 27 3
183 32 5
182 41 3
179 45 6
179 32 2
178 21 12
177 50 3
177 38 1
176 17 1
170 18 8
166 17 1
165 6 1