alibaba / sentinel-golang
Unit Size

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

Intro
Learn more...
Unit Size Overall
<1% | 12% | 32% | 24% | 29%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go<1% | 12% | 32% | 24% | 29%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
core1% | 6% | 35% | 29% | 26%
pkg0% | 16% | 31% | 17% | 34%
example0% | 46% | 34% | 15% | 4%
logging0% | 43% | 0% | 6% | 49%
ext0% | 14% | 41% | 20% | 23%
api0% | 0% | 30% | 36% | 33%
util0% | 0% | 0% | 16% | 83%
exporter0% | 0% | 0% | 15% | 84%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
102 21 0
96 12 0
88 13 1
85 9 5
80 19 1
67 17 1
63 15 1
60 16 1
59 9 1
58 9 0
58 22 1
55 12 1
54 10 1
54 12 1
53 11 1
52 7 0
52 8 0
51 8 1
51 8 1
51 8 1
51 8 1
51 8 0
51 8 0
51 8 0
50 6 0
50 14 1
50 14 1
49 13 1
49 10 1
48 10 1
48 15 1
46 12 0
46 6 1
46 12 1
45 9 1
44 13 0
44 15 1
43 9 1
41 7 1
41 11 1
41 11 1
40 7 1
40 7 1
40 10 1
40 10 3
39 5 0
39 7 2
38 5 0
38 6 2
37 6 0