apache / mynewt-core
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
6% | 8% | 17% | 16% | 49%
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
c7% | 9% | 19% | 18% | 43%
py0% | 11% | 6% | 29% | 53%
h0% | 0% | 0% | <1% | 99%
rs0% | 0% | 0% | 86% | 13%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
net13% | 14% | 13% | 19% | 37%
hw3% | 5% | 18% | 16% | 55%
fs17% | 24% | 32% | 12% | 14%
libc21% | 11% | 6% | 10% | 50%
apps23% | 9% | 8% | 23% | 36%
encoding9% | 18% | 11% | 14% | 45%
crypto0% | 0% | 12% | 26% | 60%
sys0% | 0% | 0% | 12% | 87%
util0% | 0% | 0% | 0% | 100%
kernel0% | 0% | 0% | 0% | 100%
mgmt0% | 0% | 0% | 0% | 100%
boot0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
393 152 5
323 119 4
608 89 3
377 85 4
168 83 2
298 82 3
215 77 4
419 76 3
214 73 4
390 72 3
267 70 4
198 69 3
226 68 4
172 68 3
281 66 1
268 64 3
239 63 3
319 62 4
218 57 2
242 57 2
176 56 1
249 55 3
152 55 2
189 52 3
254 51 4
158 51 3
227 50 2
141 48 2
207 47 3
212 46 6
138 45 5
182 44 2
180 44 3
189 43 1
194 41 5
172 41 2
172 41 1
80 40 3
107 40 1
165 39 2
177 38 2
71 38 2
157 37 1
84 37 3
135 36 4
68 36 3
183 35 2
137 35 3
106 35 4
228 34 2