huggingface / transformers.js
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
1% | 4% | 15% | 27% | 51%
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
js1% | 2% | 14% | 28% | 53%
py0% | 26% | 19% | 18% | 35%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src1% | 2% | 14% | 28% | 53%
scripts0% | 26% | 19% | 18% | 35%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
176 68 1
180 47 0
109 45 1
131 44 3
136 26 4
77 24 3
75 24 2
110 23 8
86 22 7
112 19 6
101 18 1
66 17 4
161 17 13
12 16 1
52 16 4
31 15 1
37 15 1
66 15 2
75 14 4
82 13 1
57 13 3
29 13 4
57 13 2
59 13 3
85 13 6
71 13 2
22 12 1
27 12 1
27 12 1
80 12 2
48 12 1
57 12 4
36 11 3
45 11 8
92 11 4
61 11 3
24 10 2
29 10 4
39 10 4
34 10 1
23 10 2
28 10 2
35 10 6
97 10 3
42 10 0
79 10 3
32 10 2
55 10 5
42 10 3
32 9 2