openai / procgen
Unit Size

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

Intro
Learn more...
Unit Size Overall
15% | 16% | 29% | 16% | 21%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
cpp16% | 16% | 29% | 16% | 20%
py0% | 31% | 33% | 19% | 15%
h0% | 0% | 0% | 6% | 93%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
procgen15% | 16% | 28% | 16% | 22%
procgen-build0% | 51% | 34% | 7% | 5%
ROOT0% | 0% | 63% | 31% | 4%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
918 5 0
118 32 0
113 34 0
95 22 0
91 14 0
90 19 0
84 28 4
81 17 1
81 3 0
80 23 0
78 12 1
74 20 0
68 13 0
61 16 0
61 7 0
57 10 0
56 11 1
55 16 2
55 10 0
53 27 0
51 10 0
50 23 2
50 12 0
49 17 0
47 6 2
46 14 0
46 11 2
45 14 1
45 10 0
45 12 0
42 15 3
40 11 0
40 8 0
39 7 2
39 1 1
39 10 2
39 10 2
38 1 1
38 1 1
38 9 2
36 1 1
36 4 0
36 8 2
35 5 1
34 6 5
33 1 1
33 1 1
33 1 1
32 7 2
32 6 0