apache / servicecomb-service-center
Unit Size

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

Intro
Learn more...
Unit Size Overall
<1% | 8% | 33% | 29% | 28%
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% | 8% | 32% | 30% | 28%
js0% | 9% | 64% | 9% | 16%
ts0% | 13% | 41% | 18% | 25%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
datasource<1% | 10% | 34% | 30% | 23%
pkg0% | 11% | 12% | 30% | 45%
server0% | 4% | 35% | 31% | 28%
frontend0% | 19% | 51% | 12% | 16%
syncer0% | 6% | 28% | 30% | 34%
scctl0% | 5% | 34% | 21% | 38%
istio0% | 6% | 48% | 27% | 17%
ux0% | 13% | 41% | 18% | 25%
client0% | 0% | 68% | 24% | 6%
benchmark0% | 0% | 78% | 6% | 15%
eventbase0% | 0% | 25% | 39% | 34%
version0% | 0% | 0% | 0% | 100%
cmd0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
118 17 1
97 21 0
85 15 1
84 11 1
81 26 1
81 12 0
81 16 1
79 15 2
77 26 1
72 11 1
72 13 1
68 10 1
66 22 1
63 14 1
62 12 2
62 15 1
61 13 1
61 10 1
60 21 2
60 8 1
60 10 1
60 10 1
60 11 1
59 1 7
57 9 1
57 9 2
57 9 5
57 12 1
57 12 1
55 13 1
55 12 2
55 9 1
55 8 1
55 10 1
54 14 1
54 1 0
54 9 3
53 7 1
53 9 1
52 3 0
51 8 0
51 14 1
51 6 2
51 13 1
49 4 0
49 5 1
48 11 1
47 9 1
47 9 1
47 13 3