huggingface / inference-playground
Unit Size

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

Intro
Learn more...
Unit Size Overall
5% | 7% | 38% | 23% | 24%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
ts6% | 7% | 38% | 23% | 24%
js0% | 0% | 35% | 39% | 24%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src6% | 8% | 36% | 24% | 25%
ROOT0% | 0% | 77% | 0% | 22%
scripts0% | 0% | 100% | 0% | 0%
eslint-rules0% | 0% | 37% | 41% | 20%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
114 32 8
78 12 2
66 19 3
45 2 2
43 4 2
42 5 1
35 9 1
32 3 0
32 9 1
32 9 1
32 9 1
32 9 1
31 5 1
31 9 1
31 9 1
30 8 1
29 9 1
29 8 1
28 5 1
28 9 1
27 8 0
27 10 3
26 5 1
26 7 1
24 1 0
22 8 2
22 3 1
21 2 1
20 6 2
20 1 1
20 9 1
19 4 0
19 11 2
19 2 1
19 4 1
19 1 1
18 10 2
18 2 0
17 4 3
16 2 1
16 4 3
16 2 2
16 3 1
16 8 2
16 8 1
15 2 1
14 4 3
14 6 1
14 7 2
12 2 1