apache / nuttx
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 5% | 15% | 20% | 56%
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
c2% | 5% | 15% | 21% | 55%
py0% | 4% | 17% | 23% | 53%
h0% | <1% | <1% | 5% | 93%
cxx0% | 0% | 0% | 31% | 68%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
arch2% | 3% | 15% | 20% | 57%
libs10% | 15% | 16% | 15% | 42%
drivers1% | 6% | 15% | 21% | 55%
tools8% | 10% | 20% | 19% | 40%
net3% | 6% | 25% | 24% | 39%
boards<1% | 6% | 8% | 17% | 67%
fs<1% | 5% | 27% | 28% | 37%
crypto4% | 5% | 8% | 13% | 67%
sched0% | 4% | 11% | 30% | 53%
wireless0% | 5% | 17% | 27% | 49%
graphics0% | 5% | 16% | 33% | 44%
video0% | 22% | 46% | 15% | 15%
binfmt0% | 10% | 17% | 28% | 42%
mm0% | 0% | 16% | 28% | 55%
audio0% | 0% | 10% | 31% | 57%
include0% | 0% | 0% | <1% | 99%
syscall0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1564 516 3
995 217 5
895 198 5
768 195 5
401 118 3
351 112 1
413 108 3
334 94 3
334 94 3
479 92 3
540 92 3
491 84 3
404 82 1
404 82 1
286 81 3
406 80 3
458 79 1
497 77 1
277 75 7
429 74 3
332 73 2
446 72 1
490 71 4
173 68 3
444 68 4
377 67 1
248 66 4
280 64 2
284 64 3
369 63 1
362 63 1
346 61 1
272 61 3
443 61 1
328 61 3
188 61 6
306 59 3
400 59 3
267 58 2
265 58 2
488 58 0
393 58 1
270 58 2
539 58 1
345 57 2
268 57 2
270 57 2
305 57 1
268 57 2
221 57 3