openai / spinningup
Unit Size

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

Intro
Learn more...
Unit Size Overall
28% | 17% | 5% | 12% | 36%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
py28% | 17% | 5% | 12% | 36%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
spinup28% | 17% | 5% | 12% | 36%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
121 33 3
119 27 3
118 26 3
109 20 3
108 16 3
107 21 3
103 22 3
102 26 3
98 16 3
95 17 3
95 20 3
91 18 3
79 16 3
68 35 2
33 8 2
30 3 7
29 19 4
25 8 1
25 7 1
22 7 1
19 15 2
19 8 4
18 7 4
18 13 1
17 6 6
17 4 4
16 1 0
16 4 2
15 6 4
14 7 5
14 1 4
13 4 3
13 4 5
13 1 4
13 1 6
12 3 2
12 5 2
12 5 5
12 2 7
12 1 6
12 5 4
11 4 2
11 5 3
11 5 4
11 5 4
11 1 4
11 1 4
10 4 10
10 3 2
10 6 2