GoogleCloudPlatform / generative-ai
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 8% | 17% | 74%
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
py0% | 0% | 11% | 18% | 69%
tsx0% | 0% | 21% | 12% | 66%
ts0% | 0% | 0% | 18% | 81%
js0% | 0% | 0% | 21% | 78%
gs0% | 0% | 0% | 34% | 65%
dart0% | 0% | 0% | 4% | 95%
cpp0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
cc0% | 0% | 0% | 0% | 100%
swift0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
gemini0% | 0% | 6% | 16% | 76%
ROOT0% | 0% | 34% | 20% | 45%
search0% | 0% | 17% | 12% | 69%
genkit0% | 0% | 17% | 27% | 55%
vision0% | 0% | 0% | 28% | 71%
audio0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
61 20 1
36 18 1
34 17 1
61 15 0
30 15 1
41 15 1
31 14 1
22 14 1
27 14 1
73 13 0
123 13 1
24 13 1
66 12 0
26 12 2
24 12 1
22 12 1
36 12 2
55 11 0
40 11 1
41 11 1
25 11 1
22 11 1
48 11 2
18 10 2
54 10 2
25 10 3
61 10 0
35 10 4
20 10 1
22 10 1
31 9 2
31 9 1
35 9 2
67 9 1
123 9 1
13 9 1
18 9 1
21 9 1
32 9 0
49 9 4
79 8 6
39 8 3
30 8 3
19 8 2
18 8 1
41 8 1
124 8 0
37 8 1
40 8 0
65 8 4