huggingface / optimum
Unit Size

The distribution of size of units (measured in lines of code).

Intro
Learn more...
Unit Size Overall
8% | 13% | 21% | 22% | 34%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py8% | 13% | 21% | 22% | 34%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
optimum8% | 13% | 21% | 22% | 34%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
418 67 1
238 42 3
224 1 1
187 2 1
99 16 0
91 23 4
89 17 7
87 17 7
85 33 3
80 16 6
77 31 4
73 13 4
73 12 4
72 7 2
64 25 2
63 1 3
62 1 3
61 1 3
61 1 3
58 1 3
58 1 3
57 1 3
56 1 3
56 2 3
55 1 3
54 13 4
52 1 3
48 13 7
46 12 6
45 4 2
45 21 1
45 14 4
44 11 1
44 16 3
43 16 2
42 1 1
41 11 5
41 6 4
40 17 1
39 16 1
39 3 1
37 13 3
37 5 4
36 15 1
36 5 2
35 12 3
35 4 5
35 1 1
35 8 1
35 2 3