apache / doris
Unit Size

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

Intro
Learn more...
Unit Size Overall
11% | 15% | 27% | 18% | 27%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cpp18% | 21% | 32% | 15% | 11%
java8% | 12% | 25% | 19% | 34%
groovy27% | 26% | 24% | 12% | 8%
h3% | 13% | 25% | 19% | 38%
py6% | 11% | 24% | 25% | 30%
c17% | 23% | 31% | 12% | 15%
tsx11% | 24% | 22% | 26% | 16%
hpp4% | 5% | 27% | 20% | 41%
pl35% | 0% | 25% | 18% | 20%
cc0% | 21% | 28% | 22% | 26%
go0% | 40% | 7% | 28% | 23%
rb0% | 23% | 39% | 13% | 23%
js0% | 0% | 60% | 30% | 8%
ts0% | 0% | 17% | 29% | 52%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
fe8% | 12% | 25% | 19% | 34%
be11% | 18% | 32% | 17% | 19%
regression-test26% | 25% | 23% | 13% | 10%
cloud43% | 25% | 15% | 7% | 7%
docker22% | 5% | 37% | 16% | 18%
extension10% | 11% | 24% | 22% | 31%
fs_brokers12% | 10% | 35% | 26% | 14%
ui10% | 21% | 21% | 26% | 20%
build-support46% | 0% | 24% | 12% | 16%
tools9% | 4% | 22% | 30% | 32%
pytest0% | 16% | 20% | 27% | 34%
fe_plugins0% | 0% | 30% | 30% | 38%
webroot0% | 0% | 60% | 30% | 8%
gensrc0% | 0% | 54% | 45% | 0%
common0% | 0% | 17% | 34% | 48%
contrib0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
2193 1 1
1216 44 0
1107 238 3
798 211 1
717 1 2
712 153 2
652 36 9
635 281 1
564 2 1
547 34 0
507 67 6
482 48 2
482 1 0
446 102 9
441 101 7
421 142 5
408 77 2
405 12 0
401 20 0
397 89 0
386 124 1
381 130 5
378 19 2
376 2 3
363 1 1
362 47 10
353 102 6
352 91 2
344 82 12
341 7 0
340 108 3
338 68 4
337 70 5
337 140 1
335 50 10
325 82 0
319 55 10
311 55 4
310 75 3
306 91 4
304 116 1
299 93 1
296 92 1
294 41 9
287 122 2
285 35 0
279 64 4
272 62 6
269 45 0
268 1 1