huggingface / datasets
Unit Size

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

Intro
Learn more...
Unit Size Overall
7% | 7% | 22% | 21% | 41%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py7% | 7% | 22% | 21% | 41%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src7% | 8% | 21% | 21% | 41%
benchmarks0% | 0% | 52% | 12% | 34%
utils0% | 0% | 0% | 37% | 62%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
167 69 1
159 46 2
157 70 3
135 24 1
126 22 1
119 31 2
93 29 2
83 34 1
81 17 1
75 20 1
75 26 3
71 14 2
71 24 2
66 31 2
60 29 1
56 25 2
55 14 1
55 2 1
53 28 5
51 16 1
50 5 0
48 26 1
47 8 3
47 8 1
47 17 4
42 15 2
41 16 1
41 21 5
40 18 6
40 12 3
40 22 2
39 14 3
39 12 2
38 5 2
37 12 4
36 4 0
35 9 3
35 10 1
34 13 2
34 9 2
34 22 6
33 28 1
33 10 1
33 14 2
33 8 3
33 18 2
32 12 4
32 19 2
31 13 1
31 14 1