azure / sonic-swss-common.msft
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 8% | 22% | 69%
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
cpp0% | 0% | 9% | 23% | 66%
h0% | 0% | 0% | 20% | 79%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
common0% | 0% | 7% | 21% | 70%
sonic-db-cli0% | 0% | 24% | 40% | 35%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
105 23 2
62 22 2
121 17 0
74 14 2
81 14 4
59 13 0
69 12 1
58 11 3
62 10 0
40 10 3
61 10 3
54 10 2
46 9 0
59 9 2
58 9 2
46 9 1
53 9 4
63 8 3
59 8 0
37 8 2
40 8 2
40 8 3
22 8 4
43 8 1
46 8 4
53 8 3
25 7 0
41 7 0
52 7 4
25 7 0
51 7 4
20 7 2
25 7 3
32 7 0
16 7 1
25 7 0
35 7 2
41 7 1
37 7 1
33 7 6
30 6 0
34 6 1
44 6 3
22 6 0
40 6 4
44 6 2
29 6 2
22 6 2
43 6 5
37 6 3