openai / doom-py
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
14% | 13% | 23% | 18% | 30%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
cpp13% | 13% | 25% | 19% | 28%
c19% | 18% | 23% | 16% | 22%
cc31% | 17% | 18% | 11% | 20%
inc72% | 0% | 19% | 0% | 9%
mm0% | 3% | 10% | 22% | 63%
h0% | 0% | 1% | 7% | 91%
hpp0% | 0% | 0% | 10% | 89%
re0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
doom_py14% | 13% | 23% | 18% | 30%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
798 539 1
907 330 3
1252 265 1
1243 265 1
949 238 0
991 227 1
510 224 6
631 191 2
765 173 1
494 164 0
686 164 4
287 151 2
404 151 2
492 137 3
405 131 3
366 125 3
391 114 1
418 112 1
427 111 2
340 103 1
322 103 7
410 101 1
340 101 2
338 101 3
266 100 1
507 99 3
287 99 7
264 96 2
261 95 1
338 94 1
425 92 1
313 91 2
254 90 2
241 90 1
481 90 2
265 89 2
516 89 1
302 87 1
195 86 1
443 86 0
347 85 7
322 85 1
265 84 6
237 84 4
361 83 2
282 83 1
238 82 2
276 78 17
176 78 1
323 77 3