huggingface / swift-transformers
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 7% | 32% | 25% | 34%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
swift0% | 7% | 32% | 25% | 34%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
Sources0% | 7% | 32% | 25% | 34%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
60 9 1
56 11 2
43 8 1
36 6 1
32 7 2
30 8 0
29 7 1
27 6 1
26 7 1
26 7 1
26 7 1
26 6 5
25 5 3
24 1 1
23 1 2
23 5 1
22 1 3
22 2 1
21 1 2
21 5 1
20 1 2
19 1 6
19 5 1
19 5 1
19 8 1
18 3 2
18 2 7
17 4 1
16 4 1
16 6 1
16 5 0
15 1 1
14 3 1
14 3 1
14 4 1
13 3 1
13 3 1
13 1 3
13 1 0
12 1 0
12 2 0
12 3 1
12 3 1
12 2 1
11 1 1
11 1 7
10 1 1
10 3 1
9 1 2
9 2 1