huggingface / huggingface.js
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
2% | 7% | 11% | 37% | 41%
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
ts2% | 7% | 11% | 38% | 38%
js0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
packages2% | 7% | 11% | 37% | 41%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
296 107 3
95 50 2
188 48 0
175 43 0
102 40 1
106 34 2
98 28 2
83 27 3
94 25 1
112 20 1
43 17 4
88 16 0
54 16 2
110 16 0
35 15 1
46 15 5
27 14 1
34 14 3
31 13 1
18 13 1
50 13 0
42 13 1
33 13 1
40 12 4
24 12 1
37 12 2
36 12 2
68 12 1
65 12 2
70 11 3
28 11 3
21 11 1
27 11 3
42 11 1
16 10 1
56 10 3
26 10 1
62 10 6
27 10 2
27 10 3
32 10 1
58 10 3
25 10 2
30 9 2
145 9 2
141 9 2
137 9 2
133 9 2
129 9 2
125 9 2