GoogleCloudPlatform / genai-for-developers
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 7% | 17% | 14% | 60%
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% | 8% | 18% | 15% | 58%
ts0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
devai-cli0% | 10% | 21% | 17% | 51%
devai-api0% | 0% | 7% | 10% | 82%
devai-vscode-extension0% | 0% | 0% | 0% | 100%
outer-loop-chrome-extension0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
144 35 2
65 23 3
58 21 3
58 20 1
47 17 3
28 15 1
28 15 1
41 11 3
13 8 2
33 8 2
13 8 2
27 7 2
42 7 2
24 7 3
41 7 1
54 7 1
11 6 0
14 6 2
9 6 0
42 5 0
16 5 1
39 5 3
24 5 1
24 5 1
24 5 1
49 5 5
28 5 3
38 4 0
5 4 1
15 4 4
7 4 2
74 4 1
31 3 2
27 3 1
38 3 3
12 3 1
55 3 1
22 3 2
13 3 2
19 3 2
45 3 2
5 3 0
8 3 1
8 3 0
5 3 2
11 2 1
12 2 2
5 2 1
16 2 1
7 2 1