GoogleCloudPlatform / ai-on-gke
Unit Size

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

Intro
Learn more...
Unit Size Overall
13% | 21% | 28% | 24% | 12%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
go23% | 17% | 24% | 24% | 10%
py0% | 30% | 30% | 21% | 16%
ts0% | 0% | 48% | 47% | 3%
tsx0% | 0% | 50% | 41% | 8%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
tpu-provisioner29% | 13% | 20% | 20% | 15%
tools43% | 14% | 18% | 19% | 3%
ray-on-gke17% | 18% | 38% | 16% | 9%
benchmarks0% | 25% | 32% | 28% | 13%
tutorials-and-examples0% | 26% | 29% | 29% | 14%
best-practices0% | 52% | 0% | 40% | 7%
modules0% | 0% | 58% | 20% | 21%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
198 19 0
182 33 1
141 3 2
119 20 1
108 2 2
88 5 5
83 12 0
82 2 0
70 10 2
67 19 1
66 20 3
66 3 0
64 12 0
61 12 1
61 10 1
60 18 1
60 14 1
58 7 3
57 7 0
57 7 0
56 15 1
55 13 7
52 3 2
48 5 0
47 9 2
46 3 2
41 7 3
39 7 1
36 8 0
35 8 3
35 3 1
32 9 1
32 6 1
32 2 0
31 7 1
31 2 3
30 6 1
29 6 1
29 9 1
29 2 0
28 9 1
28 7 1
28 7 3
27 5 1
27 9 1
27 8 1
27 5 1
27 1 1
26 6 2
26 3 2