GoogleCloudPlatform / google-cloud-ai-demos
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 12% | 19% | 20% | 46%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
tsx0% | 39% | 44% | 10% | 5%
py0% | 7% | 9% | 21% | 61%
js0% | 0% | 63% | 24% | 12%
ts0% | 0% | 0% | 100% | 0%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
frontend0% | 31% | 47% | 13% | 7%
backend0% | 7% | 9% | 21% | 61%
frontend-vite0% | 0% | 51% | 38% | 10%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
92 2 2
78 7 0
48 7 3
37 2 3
36 8 5
36 5 3
32 5 1
32 5 2
24 4 2
22 4 0
19 5 2
19 1 2
18 1 3
17 1 0
16 2 1
15 1 1
15 1 0
15 1 1
14 1 1
13 3 1
13 3 0
12 2 1
12 3 2
12 2 1
12 1 0
12 1 0
11 1 0
11 1 0
11 4 1
11 1 0
10 2 3
9 2 1
9 1 0
9 4 1
8 2 2
8 4 1
8 2 3
8 4 0
8 2 2
8 1 2
8 1 0
8 1 0
8 2 1
8 2 1
8 3 1
7 1 0
7 1 0
7 2 2
7 1 1
7 2 1