GoogleCloudPlatform / cloud-spanner-emulator
Unit Size

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

Intro
Learn more...
Unit Size Overall
15% | 15% | 28% | 18% | 20%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cc16% | 16% | 29% | 18% | 18%
go0% | 38% | 27% | 32% | 1%
h0% | 0% | 3% | 15% | 81%
inc0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
backend16% | 18% | 32% | 19% | 13%
frontend23% | 10% | 29% | 21% | 16%
gateway0% | 77% | 0% | 19% | 3%
binaries0% | 0% | 78% | 21% | 0%
common0% | 0% | <1% | 11% | 88%
build0% | 0% | 0% | 100% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
1015 17 2
482 13 2
452 24 2
347 29 0
282 89 2
277 68 4
238 42 2
235 30 0
206 33 0
204 47 6
197 8 2
176 33 0
174 19 0
166 35 1
143 28 2
142 48 3
137 26 3
131 39 2
128 41 4
126 28 2
119 11 0
117 21 4
117 18 0
113 22 2
113 30 3
111 21 1
110 24 3
106 23 3
105 17 4
104 26 0
102 29 3
99 13 11
98 10 3
97 14 6
95 11 2
93 12 0
90 17 14
88 22 3
88 13 2
87 12 0
86 15 0
86 16 1
85 7 3
85 22 0
82 14 1
81 10 0
80 33 2
78 17 3
77 8 0
77 11 0