huggingface / diffusers
Conditional Complexity

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

Intro
Learn more...
Conditional Complexity Overall
3% | 4% | 10% | 13% | 67%
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
py3% | 4% | 10% | 13% | 67%
Conditional Complexity per Logical Component
primary logical decomposition
51+
26-50
11-25
6-10
1-5
scripts13% | 11% | 13% | 19% | 41%
src2% | 3% | 9% | 11% | 73%
utils0% | 11% | 36% | 31% | 21%
benchmarks0% | 0% | 13% | 0% | 86%
ROOT0% | 0% | 0% | 0% | 100%
Most Complex Units
Top 50 most complex units
Unit# linesMcCabe index# params
477 143 1
147 80 1
255 77 4
213 73 4
203 71 4
118 68 3
144 65 1
329 62 4
118 61 2
135 61 4
106 60 2
157 58 4
193 58 3
168 58 4
162 56 4
135 52 4
185 52 3
135 52 4
136 51 4
279 47 4
178 47 3
95 47 4
94 45 2
93 43 2
157 43 0
152 43 2
82 42 2
84 42 2
156 41 2
87 41 2
66 41 3
61 41 3
84 40 2
84 40 2
84 40 2
84 40 2
82 39 2
120 39 3
248 37 1
55 35 4
55 35 4
246 34 1
114 33 1
75 32 4
63 29 1
52 29 4
186 29 3
176 29 3
33 28 4
100 28 5