huggingface / nanotron
Unit Size

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

Intro
Learn more...
Unit Size Overall
9% | 13% | 23% | 20% | 33%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py6% | 13% | 23% | 21% | 35%
cpp64% | 13% | 18% | 2% | 0%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
src5% | 13% | 23% | 21% | 35%
scripts48% | 0% | 29% | 15% | 6%
ROOT69% | 0% | 14% | 0% | 15%
tools0% | 70% | 30% | 0% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
215 63 0
164 30 9
150 9 8
149 29 9
111 15 7
106 5 1
102 1 0
96 24 2
91 14 0
84 29 2
76 6 2
74 12 3
72 24 1
72 10 3
68 27 3
68 22 3
67 33 3
67 6 7
66 22 2
62 13 3
61 20 2
61 8 2
59 17 4
59 8 5
56 3 0
55 1 0
55 25 2
52 11 2
49 13 1
48 20 1
48 10 2
48 6 0
47 11 2
46 6 1
46 15 1
45 10 0
44 1 0
44 20 4
44 4 1
43 7 2
41 15 6
41 9 2
41 9 2
41 6 3
41 9 2
40 7 7
40 11 2
40 10 1
39 11 3
36 1 0