openai / retro
Unit Size

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

Intro
Learn more...
Unit Size Overall
66% | 7% | 10% | 6% | 8%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
ts99% | <1% | 0% | 0% | 0%
c26% | 17% | 25% | 14% | 16%
cpp29% | 16% | 21% | 14% | 18%
cxx22% | 12% | 27% | 18% | 19%
h6% | 20% | 13% | 16% | 43%
py6% | 8% | 16% | 23% | 45%
inc0% | 0% | 92% | 7% | 0%
pm0% | 0% | 50% | 44% | 4%
lua0% | 0% | 0% | 19% | 80%
hxx0% | 0% | 0% | 16% | 83%
hpp0% | 0% | 0% | 0% | 100%
pl0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
cores67% | 7% | 10% | 6% | 8%
retro7% | 8% | 11% | 23% | 48%
src2% | 8% | 39% | 25% | 24%
ROOT0% | 36% | 20% | 10% | 32%
docker0% | 0% | 0% | 64% | 35%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
3735 7 1
3697 6 1
3577 7 1
3576 6 1
3539 6 1
3538 6 1
3405 7 1
3404 6 1
3374 6 1
3373 6 1
3369 6 1
3368 6 1
3367 6 1
3366 6 1
3364 6 1
3363 6 1
3239 6 1
3238 6 1
3234 6 1
3233 6 1
3229 6 1
3228 6 1
2972 6 1
2971 6 1
2967 6 1
2966 6 1
2962 6 1
2961 6 1
2957 6 1
2956 6 1
2863 6 1
2862 6 1
2858 6 1
2857 6 1
2853 6 1
2852 6 1
2815 6 1
2814 6 1
2810 6 1
2809 6 1
2805 6 1
2804 6 1
2611 4 1
2610 4 1
2542 6 1
2541 6 1
2533 6 1
2532 6 1
2504 4 1
2452 4 1