GoogleCloudPlatform / google-cloud-ai-demos
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 0% | 12% | 87%
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% | 0% | 7% | 92%
js0% | 0% | 0% | 42% | 57%
tsx0% | 0% | 0% | 15% | 84%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
backend0% | 0% | 0% | 7% | 92%
frontend0% | 0% | 0% | 16% | 83%
frontend-vite0% | 0% | 0% | 51% | 48%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
36 8 5
48 7 3
78 7 0
32 5 1
19 5 2
32 5 2
36 5 3
24 4 2
3 4 2
8 4 1
8 4 0
9 4 1
11 4 1
22 4 0
12 3 2
6 3 2
6 3 2
6 3 2
6 3 2
13 3 1
13 3 0
8 3 1
12 2 1
16 2 1
92 2 2
37 2 3
12 2 1
5 2 2
8 2 2
5 2 2
3 2 2
6 2 2
5 2 2
3 2 2
8 2 3
9 2 1
7 2 2
5 2 2
5 2 2
6 2 2
4 2 1
10 2 3
8 2 2
7 2 1
4 2 2
8 2 1
8 2 1
5 2 2
7 1 0
15 1 1