openai / openai-structured-outputs-samples
Unit Size

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

Intro
Learn more...
Unit Size Overall
22% | 0% | 35% | 32% | 8%
Legend:
101+
51-100
21-50
11-20
1-10
Unit Size per Extension
101+
51-100
21-50
11-20
1-10
ts26% | 0% | 40% | 27% | 5%
tsx0% | 0% | 0% | 69% | 30%
Unit Size per Logical Component
primary logical decomposition
101+
51-100
21-50
11-20
1-10
conversational-assistant41% | 0% | 16% | 33% | 9%
generative-ui0% | 0% | 62% | 26% | 10%
resume-extraction0% | 0% | 56% | 39% | 3%
Alternative Visuals
Longest Units
Top 28 longest units
Unit# linesMcCabe index# params
118 20 3
46 9 1
45 9 1
35 2 1
34 4 1
24 2 1
20 2 1
20 2 1
19 2 1
15 2 1
15 1 1
15 1 1
15 1 1
15 1 1
12 2 0
12 2 0
11 1 1
7 2 0
7 2 0
4 1 1
4 1 1
4 1 2
4 1 2
3 1 0
3 1 1
3 1 1
3 1 1
2 2 0