huggingface / doc-builder
Unit Size

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

Intro
Learn more...
Unit Size Overall
15% | 17% | 33% | 17% | 16%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
js38% | 3% | 27% | 16% | 14%
py3% | 26% | 39% | 18% | 12%
ts0% | 0% | 0% | 25% | 74%
cjs0% | 0% | 0% | 9% | 90%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
kit34% | 2% | 24% | 16% | 21%
src3% | 26% | 39% | 18% | 12%
scripts0% | 0% | 0% | 100% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
284 62 2
157 26 2
152 34 11
115 54 2
107 25 5
98 14 1
94 37 2
69 19 5
68 18 5
67 33 1
64 22 5
62 26 1
61 18 1
61 5 1
60 13 3
59 10 1
55 18 2
52 15 1
49 3 1
48 11 6
47 6 1
45 7 3
43 17 3
43 14 4
42 3 1
42 9 6
40 13 0
40 25 2
40 21 2
39 4 1
39 10 1
39 11 1
38 8 1
37 6 1
37 5 8
36 10 3
35 7 3
35 18 3
34 5 8
34 6 2
34 6 4
31 15 2
30 12 2
29 7 3
29 3 1
29 3 1
29 3 1
29 2 4
29 10 2
29 13 1