huggingface / HuggingSnap
Unit Size

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

Intro
Learn more...
Unit Size Overall
20% | 14% | 19% | 17% | 27%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
swift20% | 14% | 19% | 17% | 27%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
HuggingSnap20% | 14% | 19% | 17% | 27%
Alternative Visuals
Longest Units
Top 38 longest units
Unit# linesMcCabe index# params
107 93 1
77 10 2
28 3 0
28 1 0
25 1 1
23 2 0
20 2 1
19 2 0
15 2 0
13 2 3
12 2 3
12 1 3
10 2 0
10 2 0
9 1 0
8 1 2
8 1 6
8 1 1
8 1 1
8 1 0
8 2 1
7 1 0
7 2 4
6 2 1
5 1 0
5 1 1
4 1 0
4 1 1
3 1 1
3 1 2
3 2 1
3 1 0
3 1 0
3 1 0
3 1 0
3 1 0
2 1 3
1 1 2