GoogleCloudPlatform / ai-on-gke
Conditional Complexity

The distribution of complexity of units (measured with McCabe index).

Intro
Learn more...
Conditional Complexity Overall
0% | 3% | 16% | 22% | 57%
Legend:
51+
26-50
11-25
6-10
1-5
Alternative Visuals
Conditional Complexity per Extension
51+
26-50
11-25
6-10
1-5
go0% | 5% | 25% | 21% | 47%
py0% | 0% | 4% | 28% | 67%
ts0% | 0% | 0% | 0% | 100%
tsx0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
tpu-provisioner0% | 14% | 29% | 19% | 37%
ray-on-gke0% | 0% | 36% | 40% | 23%
benchmarks0% | 0% | 10% | 27% | 61%
tools0% | 0% | 18% | 6% | 74%
tutorials-and-examples0% | 0% | 0% | 12% | 87%
best-practices0% | 0% | 0% | 52% | 47%
modules0% | 0% | 0% | 58% | 41%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
182 33 1
119 20 1
66 20 3
198 19 0
67 19 1
60 18 1
56 15 1
60 14 1
24 13 2
55 13 7
64 12 0
61 12 1
83 12 0
61 10 1
70 10 2
32 9 1
23 9 4
28 9 1
22 9 1
25 9 1
20 9 1
47 9 2
27 9 1
29 9 1
35 8 3
36 8 0
18 8 3
27 8 1
39 7 1
22 7 4
21 7 1
28 7 1
58 7 3
21 7 1
24 7 1
24 7 1
31 7 1
28 7 3
16 7 1
41 7 3
57 7 0
57 7 0
32 6 1
30 6 1
15 6 1
19 6 1
23 6 1
24 6 2
16 6 2
20 6 1