azure / sonic-buildimage-msft
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 5% | 16% | 22% | 54%
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% | 4% | 16% | 20% | 56%
py1% | 5% | 16% | 23% | 51%
cpp0% | 0% | 30% | 48% | 21%
pl0% | 0% | 0% | 31% | 68%
h0% | 0% | 0% | 0% | 100%
cc0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
platform1% | 4% | 16% | 21% | 56%
src10% | 10% | 19% | 24% | 34%
device0% | 9% | 15% | 24% | 50%
dockers0% | 0% | 23% | 18% | 58%
scripts0% | 0% | 18% | 19% | 61%
ROOT0% | 0% | 73% | 26% | 0%
files0% | 0% | 9% | 22% | 68%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
1003 360 2
465 182 5
194 112 1
345 107 2
329 96 1
329 96 1
329 96 1
466 76 3
257 76 4
216 69 7
418 68 3
88 67 6
100 67 3
85 66 6
123 66 2
123 66 2
123 66 2
123 66 2
133 65 2
104 65 1
261 65 0
99 63 1
299 62 5
196 59 7
362 59 3
257 58 2
224 58 6
191 58 7
175 56 1
192 56 1
120 53 3
120 52 6
214 52 3
221 50 4
251 50 1
253 50 1
236 49 2
249 48 2
101 48 4
184 47 1
210 47 4
165 47 1
203 47 2
238 45 4
191 45 2
191 45 2
191 45 2
282 44 1
282 44 1
281 44 1