google-gemini / deprecated-generative-ai-js
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 17% | 23% | 58%
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
ts0% | 0% | 17% | 23% | 58%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src0% | 0% | 20% | 23% | 56%
scripts0% | 0% | 0% | 33% | 66%
test-utils0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
67 17 1
81 16 1
53 13 1
21 11 1
26 9 1
31 8 1
29 7 1
33 7 1
32 7 1
49 6 0
17 6 1
40 6 1
38 6 1
17 5 1
16 5 1
14 5 1
20 4 2
17 4 1
36 4 2
15 4 1
29 4 0
16 3 3
24 3 2
13 3 1
17 3 1
9 3 1
16 3 1
32 3 2
12 3 1
19 3 4
12 3 1
12 3 1
22 3 0
6 2 1
8 2 1
27 2 1
10 2 1
9 2 1
36 2 2
7 2 0
12 2 1
3 1 1
16 1 4
4 1 0
3 1 0
3 1 0
16 1 4
21 1 4
16 1 4
20 1 4