huggingface / transformers
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
<1% | 2% | 9% | 13% | 73%
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
py<1% | 2% | 9% | 13% | 73%
pyx0% | 0% | 56% | 34% | 9%
cpp0% | 0% | 0% | 0% | 100%
h0% | 0% | 0% | 0% | 100%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
src<1% | 2% | 8% | 13% | 74%
utils3% | 12% | 28% | 29% | 27%
templates0% | 0% | 39% | 7% | 52%
scripts0% | 0% | 58% | 7% | 33%
benchmark0% | 0% | 30% | 0% | 69%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
466 135 1
200 94 2
201 69 2
121 60 1
172 58 4
104 58 1
144 56 4
165 51 2
230 47 1
110 47 3
86 45 1
133 45 3
75 45 2
128 45 3
159 44 2
125 44 3
97 42 3
91 42 4
212 41 3
99 41 4
89 40 3
139 40 3
306 39 4
87 38 3
68 38 2
371 38 1
105 38 2
144 36 1
217 35 3
95 35 3
89 35 3
93 34 6
76 34 3
63 34 5
55 34 1
96 34 3
130 34 4
69 33 2
38 33 1
161 33 7
73 33 2
64 33 2
81 32 3
105 32 1
82 32 5
58 31 1
109 31 3
82 31 2
56 30 1
65 30 3