huggingface / transformers.js-benchmarking
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
0% | 0% | 2% | 12% | 84%
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% | 9% | 46% | 44%
js0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts0% | 0% | 9% | 46% | 44%
packages0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
22 12 2
29 10 3
31 9 3
18 7 5
17 6 3
19 6 2
13 5 2
37 5 0
10 4 1
8 4 7
11 4 1
48 4 0
47 4 0
65 4 0
53 4 0
47 4 0
55 4 0
68 4 0
24 4 2
17 3 2
12 3 2
26 3 1
19 2 6
13 2 1
7 2 1
10 2 2
3 2 2
5 1 0
21 1 0
3 1 1
2 1 1
2 1 4
6 1 1
4 1 2
3 1 1
3 1 1
12 1 2
11 1 2
10 1 2
9 1 2
8 1 2
7 1 2
6 1 2
6 1 1
6 1 1
6 1 1
6 1 1
6 1 1
6 1 1
6 1 3