huggingface / coreml-examples
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 0% | 29% | 44% | 25%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
swift0% | 0% | 29% | 44% | 25%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
SemanticSegmentationSample0% | 0% | 30% | 47% | 21%
depth-anything-example0% | 0% | 34% | 39% | 25%
FastViTSample0% | 0% | 23% | 45% | 30%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
40 2 0
29 1 0
22 4 0
22 4 0
22 4 0
21 1 0
21 1 0
21 1 0
19 1 0
19 3 0
19 1 3
19 1 0
19 3 0
19 1 0
19 3 0
17 1 1
16 1 1
16 1 2
16 1 2
16 1 2
15 1 1
14 2 3
14 2 3
14 1 1
14 2 3
11 2 0
9 1 1
9 1 1
9 1 1
8 2 0
8 1 1
8 1 2
8 1 2
8 1 0
8 2 0
8 1 0
8 1 2
8 2 0
6 2 0
6 1 1
6 2 0
6 2 0
5 1 1
5 1 1
5 1 1
4 1 2
4 1 2
3 1 1
3 1 2
3 1 0