apache / nuttx-apps
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 7% | 24% | 21% | 43%
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
c3% | 8% | 26% | 21% | 40%
cxx1% | 1% | 16% | 21% | 58%
py0% | 16% | 0% | 15% | 67%
h0% | 0% | 0% | 41% | 58%
hxx0% | 0% | 0% | 1% | 98%
cc0% | 0% | 0% | 0% | 100%
hpp0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
netutils5% | 11% | 30% | 20% | 31%
system3% | 8% | 30% | 21% | 35%
nshlib9% | 13% | 39% | 16% | 20%
interpreters7% | 11% | 22% | 20% | 37%
canutils29% | 23% | 19% | 2% | 24%
testing1% | 7% | 22% | 24% | 43%
crypto5% | 0% | 10% | 15% | 68%
graphics0% | 6% | 15% | 22% | 55%
wireless0% | 7% | 28% | 24% | 39%
benchmarks0% | 22% | 31% | 14% | 32%
lte0% | 2% | 14% | 17% | 66%
fsutils0% | 6% | 25% | 36% | 30%
games0% | 7% | 35% | 27% | 30%
industry0% | 0% | 21% | 10% | 68%
logging0% | 0% | 31% | 15% | 53%
modbus0% | 0% | 14% | 39% | 46%
boot0% | 0% | 37% | 28% | 34%
audioutils0% | 0% | 25% | 7% | 67%
builtin0% | 0% | 100% | 0% | 0%
tools0% | 0% | 0% | 20% | 79%
include0% | 0% | 0% | 0% | 100%
platform0% | 0% | 0% | 0% | 100%
mlearning0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
188 179 1
787 133 1
554 115 1
460 113 2
435 106 1
225 98 1
490 72 3
356 62 2
133 62 2
358 61 1
440 61 3
209 54 3
269 54 2
274 53 1
360 50 3
162 48 1
209 48 5
194 46 1
287 46 3
162 45 1
264 45 1
119 44 1
213 42 4
148 41 2
148 41 2
315 41 2
179 41 2
298 41 2
205 40 2
187 40 2
247 40 2
246 40 1
273 39 2
173 38 2
234 38 3
209 37 2
230 37 6
166 37 1
185 36 1
265 36 1
134 36 1
142 36 2
158 36 3
122 36 1
236 35 2
185 34 3
294 34 1
148 33 3
145 33 3
269 33 3