openai / codex
Unit Size

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

Intro
Learn more...
Unit Size Overall
22% | 24% | 30% | 12% | 9%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
tsx44% | 26% | 19% | 5% | 3%
ts24% | 20% | 30% | 16% | 8%
rs3% | 27% | 39% | 13% | 15%
py0% | 36% | 32% | 11% | 18%
js0% | 0% | 0% | 0% | 100%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
codex-cli31% | 22% | 26% | 12% | 6%
codex-rs3% | 29% | 37% | 12% | 16%
scripts0% | 0% | 77% | 22% | 0%
Alternative Visuals
Longest Units
Top 50 longest units
Unit# linesMcCabe index# params
617 101 20
588 147 2
303 31 7
130 28 1
121 13 8
112 18 2
112 1 0
111 18 1
111 14 3
103 14 8
99 13 3
98 1 0
95 10 0
92 12 6
91 24 9
86 4 2
86 1 1
82 9 3
80 18 2
79 16 2
79 16 5
78 1 0
77 18 2
74 11 2
73 18 4
68 4 5
66 8 3
64 11 2
63 15 1
61 9 3
61 12 0
60 12 5
59 12 3
59 8 1
59 12 1
59 10 3
59 1 0
58 6 3
58 13 1
58 13 1
57 14 4
56 11 3
55 14 1
54 15 1
54 1 3
51 9 5
51 8 0
48 16 1
48 2 4
47 14 1