huggingface / xet-core
Unit Size

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

Intro
Learn more...
Unit Size Overall
10% | 12% | 31% | 21% | 24%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
rs10% | 12% | 31% | 21% | 24%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
mdb_shard35% | 0% | 37% | 17% | 10%
deduplication48% | 0% | 8% | 24% | 18%
cas_object9% | 5% | 37% | 26% | 21%
cas_client0% | 43% | 17% | 13% | 25%
merkledb0% | 21% | 37% | 15% | 25%
progress_tracking0% | 36% | 51% | 4% | 7%
chunk_cache0% | 27% | 22% | 16% | 33%
file_utils0% | 0% | 43% | 47% | 9%
hf_xet0% | 0% | 41% | 26% | 32%
utils0% | 0% | 24% | 35% | 39%
chunk_cache_bench0% | 0% | 35% | 38% | 25%
hf_xet_wasm0% | 0% | 51% | 20% | 28%
data0% | 0% | 24% | 30% | 45%
cas_types0% | 0% | 0% | 27% | 72%
xet_threadpool0% | 0% | 0% | 61% | 38%
merklehash0% | 0% | 0% | 9% | 90%
error_printer0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
267 2 0
211 27 4
139 24 8
116 3 0
87 4 0
72 5 4
66 9 2
65 5 0
63 10 1
63 4 0
62 4 0
62 4 0
62 9 4
58 6 4
53 9 1
53 7 2
51 4 2
50 14 1
50 2 0
46 3 2
44 5 2
44 1 2
43 3 2
42 8 3
42 4 2
41 4 1
40 7 2
38 4 1
37 14 1
37 1 0
37 3 2
36 1 0
35 4 0
34 1 0
33 9 1
33 3 0
33 2 0
33 9 2
32 1 0
32 1 3
32 1 0
31 1 0
31 2 0
31 4 3
31 1 0
30 1 3
30 4 3
29 1 0
28 3 2
28 3 0