huggingface / ratchet
Unit Size

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

Intro
Learn more...
Unit Size Overall
10% | 16% | 30% | 18% | 23%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs10% | 16% | 30% | 18% | 23%
py0% | 0% | 0% | 70% | 30%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
crates10% | 16% | 30% | 18% | 23%
scripts0% | 0% | 0% | 70% | 30%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
143 1 3
131 8 4
124 14 2
115 3 4
112 10 4
107 10 2
90 21 5
89 7 4
74 2 5
72 2 1
72 9 4
71 13 4
69 2 3
66 2 0
66 3 2
63 4 4
62 3 2
62 4 0
60 3 4
55 7 3
53 5 4
52 2 3
51 1 3
50 3 0
46 2 5
45 4 4
42 1 0
42 3 2
40 6 1
40 2 3
40 6 4
39 3 4
38 2 4
35 1 4
35 1 2
34 6 4
34 7 1
34 1 2
34 1 4
34 2 4
34 2 4
34 3 6
34 1 3
33 1 4
33 1 4
33 1 4
31 5 1
31 1 4
31 3 3
31 5 3