azure / sonic-swss-common.msft
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
2% | 14% | 31% | 24% | 26%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cpp3% | 14% | 31% | 25% | 24%
h0% | 15% | 27% | 18% | 37%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
common3% | 13% | 30% | 25% | 28%
sonic-db-cli0% | 40% | 52% | 4% | 2%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
121 17 0
105 23 2
81 14 4
74 14 2
69 12 1
63 8 3
62 10 0
62 22 2
61 10 3
60 2 3
59 9 2
59 8 0
59 13 0
59 2 0
58 9 2
58 11 3
54 10 2
53 9 4
53 8 3
52 7 4
51 7 4
50 5 2
48 5 0
46 9 0
46 9 1
46 8 4
44 6 3
44 6 2
43 6 5
43 8 1
43 5 4
41 7 0
41 7 1
40 10 3
40 6 4
40 8 2
40 8 3
40 4 3
37 8 2
37 4 5
37 6 3
37 7 1
36 6 3
35 4 0
35 7 2
34 6 1
33 1 3
33 5 1
33 6 0
33 7 6