huggingface / evaluate
Unit Size

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

Intro
Learn more...
Unit Size Overall
0% | 7% | 29% | 35% | 26%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py0% | 7% | 29% | 35% | 26%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
metrics0% | 9% | 34% | 35% | 20%
src0% | 7% | 25% | 31% | 34%
measurements0% | 0% | 7% | 53% | 38%
comparisons0% | 0% | 0% | 88% | 11%
templates0% | 0% | 0% | 66% | 33%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
77 5 0
62 14 3
62 14 3
61 23 7
55 20 4
55 20 4
53 3 1
50 8 5
48 11 4
42 15 5
40 5 1
40 18 5
39 12 6
38 4 1
37 6 4
36 21 3
36 8 2
36 24 3
35 13 0
35 3 1
35 14 2
34 4 1
34 7 6
32 10 8
32 1 1
32 2 1
31 2 1
31 5 1
31 10 1
30 2 1
30 5 3
30 2 1
29 7 5
28 7 1
27 4 1
27 6 2
26 4 3
26 1 1
26 1 1
26 8 5
25 1 1
25 1 1
25 1 1
25 2 0
25 1 1
25 9 3
25 6 1
24 1 1
24 11 3
23 6 4