openai / retro
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
5% | 5% | 8% | 37% | 42%
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
c10% | 13% | 21% | 16% | 38%
cpp15% | 11% | 17% | 15% | 40%
cxx18% | 6% | 13% | 13% | 47%
py9% | 0% | 10% | 19% | 60%
h0% | 6% | 12% | 11% | 70%
inc0% | 0% | 26% | 53% | 19%
ts0% | 0% | 0% | 56% | 43%
hxx0% | 0% | 0% | 5% | 94%
pm0% | 0% | 0% | 50% | 49%
lua0% | 0% | 0% | 2% | 97%
hpp0% | 0% | 0% | 0% | 100%
pl0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
cores5% | 5% | 8% | 38% | 42%
retro12% | 0% | 8% | 17% | 62%
src0% | 2% | 20% | 17% | 59%
ROOT0% | 0% | 36% | 30% | 32%
docker0% | 0% | 0% | 64% | 35%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1124 543 1
287 265 2
913 209 1
1316 200 1
669 182 2
352 177 1
617 175 2
569 169 3
371 159 1
949 147 1
289 147 3
198 146 2
398 144 3
481 141 2
282 132 4
565 130 2
329 130 1
496 129 2
529 125 2
186 120 2
260 114 2
611 113 1
305 108 3
324 103 0
427 97 1
280 97 1
384 96 1
424 93 3
281 93 2
451 92 1
240 90 2
125 87 0
190 86 1
219 84 3
135 82 0
380 81 1
411 80 0
103 77 0
323 77 1
314 75 1
210 75 1
234 73 1
187 73 1
197 72 1
220 72 3
141 72 5
213 72 2
234 71 3
97 71 2
140 69 1