apache / mynewt-core
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
10% | 12% | 16% | 17% | 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
c10% | 12% | 16% | 17% | 42%
py0% | 11% | 6% | 29% | 53%
rs0% | 0% | 0% | 86% | 13%
h0% | 0% | 0% | 3% | 96%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
net13% | 14% | 13% | 19% | 37%
hw5% | 8% | 17% | 16% | 51%
fs17% | 24% | 32% | 12% | 14%
libc21% | 11% | 6% | 10% | 50%
encoding9% | 18% | 11% | 14% | 45%
crypto0% | 0% | 12% | 26% | 60%
apps0% | 0% | 0% | 42% | 57%
sys0% | 0% | 0% | 0% | 100%
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
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
172 68 3
226 68 4
280 66 1
268 64 3
239 63 3
319 62 4
176 56 1
152 55 2
189 52 3
158 51 3
254 51 4
141 48 2
207 47 3
138 45 5
180 44 3
182 44 2
189 43 1
194 41 5
172 41 1
107 40 1
80 40 3
71 38 2
84 37 3
157 37 1
135 36 4
68 36 3
106 35 4
137 35 3
183 35 2
114 33 1
114 33 3
145 33 2
127 33 3
156 32 3
177 32 1
121 32 3
75 31 3
100 31 4
66 31 4