huggingface / safetensors
Unit Size

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

Intro
Learn more...
Unit Size Overall
5% | 10% | 30% | 20% | 32%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs8% | 15% | 31% | 18% | 25%
py0% | 0% | 28% | 25% | 45%
pyi0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
bindings10% | 12% | 23% | 21% | 31%
safetensors0% | 8% | 41% | 17% | 32%
attacks0% | 0% | 27% | 27% | 44%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
113 9 5
83 9 3
59 4 2
56 6 1
45 1 0
44 3 3
44 8 2
43 3 0
41 12 2
36 2 0
35 4 3
35 9 4
34 7 1
32 10 2
28 1 0
27 9 1
27 3 2
24 1 0
24 8 3
23 1 2
22 1 0
22 1 0
20 6 3
20 1 0
19 2 1
19 3 1
18 2 2
18 1 1
18 4 2
17 1 2
15 3 4
14 6 1
14 1 1
14 2 1
14 1 0
14 1 0
13 4 1
13 2 1
13 1 2
13 1 2
13 5 1
13 2 3
13 2 2
13 2 0
12 4 4
12 7 4
11 1 3
11 8 1
11 2 0
10 1 3