apache / nuttx-apps
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
3% | 8% | 25% | 20% | 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
c4% | 8% | 27% | 20% | 38%
cxx0% | 1% | 15% | 22% | 59%
py0% | 24% | 8% | 17% | 50%
h0% | 0% | 0% | 25% | 75%
hxx0% | 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% | 30%
system5% | 9% | 31% | 18% | 34%
nshlib9% | 12% | 42% | 14% | 21%
interpreters7% | 11% | 22% | 19% | 37%
canutils30% | 22% | 19% | 2% | 24%
testing2% | 5% | 31% | 25% | 34%
graphics0% | 6% | 15% | 22% | 56%
wireless0% | 7% | 29% | 23% | 39%
lte0% | 2% | 13% | 17% | 66%
fsutils0% | 6% | 25% | 36% | 30%
tools0% | 29% | 20% | 14% | 35%
games0% | 13% | 34% | 29% | 23%
industry0% | 0% | 18% | 13% | 68%
logging0% | 0% | 31% | 14% | 53%
modbus0% | 0% | 14% | 39% | 46%
audioutils0% | 0% | 25% | 7% | 66%
builtin0% | 0% | 100% | 0% | 0%
include0% | 0% | 0% | 0% | 100%
platform0% | 0% | 0% | 0% | 100%
boot0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
188 179 1
788 133 1
554 115 1
461 113 2
435 106 1
225 98 1
461 63 3
133 62 2
338 62 2
358 61 1
407 60 3
602 58 1
274 53 1
360 50 3
209 48 5
162 48 1
194 46 1
287 46 3
162 45 1
264 45 1
119 44 1
245 43 4
179 41 2
148 41 2
148 41 2
246 40 1
247 40 2
205 40 2
252 39 4
234 38 3
252 37 2
236 37 5
230 37 6
166 37 1
185 36 1
142 36 2
122 36 1
158 36 3
134 36 1
236 35 2
187 35 4
294 34 1
185 34 3
268 33 3
145 33 3
144 32 2
176 32 2
147 32 3
94 31 1
150 31 2