openai / SWELancer-Benchmark
Unit Size

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

Intro
Learn more...
Unit Size Overall
1% | 12% | 51% | 21% | 13%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py1% | 12% | 51% | 21% | 13%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
issues1% | 12% | 52% | 21% | 11%
project10% | 0% | 18% | 19% | 51%
runtime_scripts0% | 17% | 53% | 19% | 10%
utils0% | 0% | 43% | 33% | 22%
ROOT0% | 0% | 0% | 0% | 100%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
155 2 0
113 16 0
105 3 1
93 37 1
92 12 0
89 8 0
88 8 0
87 4 0
85 3 0
84 2 0
79 1 1
77 11 3
73 3 1
71 16 0
70 2 0
70 3 0
70 6 2
70 6 2
67 3 1
66 3 0
65 5 0
64 4 0
62 3 0
58 4 0
58 5 0
58 11 0
57 1 0
57 4 0
57 1 0
56 14 0
56 14 0
56 14 0
55 3 0
55 1 1
54 2 0
54 7 0
54 4 1
53 5 0
52 1 1
52 1 0
52 5 0
52 5 0
52 1 1
51 1 1
51 1 3
51 1 1
49 18 3
49 3 1
49 3 1
49 4 0