openai / doom-py
Unit Size

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

Intro
Learn more...
Unit Size Overall
29% | 20% | 26% | 12% | 10%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cpp29% | 21% | 27% | 12% | 9%
c35% | 22% | 24% | 10% | 7%
cc52% | 12% | 21% | 8% | 5%
inc72% | 0% | 26% | 0% | 1%
mm0% | 10% | 48% | 18% | 21%
h0% | 2% | 9% | 19% | 68%
re0% | 76% | 0% | 23% | 0%
hpp0% | 0% | 15% | 14% | 69%
py0% | 0% | 0% | 63% | 36%
java0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
doom_py29% | 20% | 26% | 12% | 10%
ROOT0% | 0% | 0% | 78% | 21%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
1252 265 1
1243 265 1
991 227 1
949 238 0
907 330 3
798 539 1
765 173 1
686 164 4
631 191 2
516 89 1
510 224 6
507 99 3
494 164 0
492 137 3
481 90 2
443 86 0
427 111 2
425 92 1
418 112 1
410 101 1
405 131 3
404 151 2
391 114 1
374 69 1
366 125 3
361 83 2
347 55 1
347 85 7
344 35 3
340 101 2
340 103 1
338 101 3
338 94 1
331 71 5
327 66 4
323 77 3
322 103 7
322 85 1
318 42 1
313 65 7
313 91 2
310 75 1
305 66 0
302 87 1
296 73 3
288 58 5
287 151 2
287 99 7
282 83 1
280 56 4