openai / openai-builder-lab
File Size

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

Intro
  • File size measurements show the distribution of size of files.
  • Files are classified in four categories based on their size (lines of code): 1-100 (very small files), 101-200 (small files), 201-500 (medium size files), 501-1000 (long files), 1001+(very long files).
  • It is a good practice to keep files small. Long files may become "bloaters", code that have increased to such gargantuan proportions that they are hard to work with.
Learn more...
File Size Overall
  • There are 19 files with 690 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 1 small files (102 lines of code)
    • 18 very small files (588 lines of code)
0% | 0% | 0% | 14% | 85%
Legend:
1001+
501-1000
201-500
101-200
1-100


explore: grouped by folders | grouped by size | sunburst | 3D view
File Size per Extension
1001+
501-1000
201-500
101-200
1-100
tsx0% | 0% | 0% | 30% | 69%
ts0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
cjs0% | 0% | 0% | 0% | 100%
py0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
starting_point0% | 0% | 0% | 14% | 85%
Longest Files (Top 19)
File# lines# units
chat.tsx
in starting_point/frontend/components
102 -
tool-call.tsx
in starting_point/frontend/components
91 -
globals.css
in starting_point/frontend/app
89 -
tailwind.config.ts
in starting_point/frontend
63 -
assistant.ts
in starting_point/frontend/lib
54 -
message.tsx
in starting_point/frontend/components
52 -
assistant.tsx
in starting_point/frontend/components
43 1
layout.tsx
in starting_point/frontend/app
35 1
prettier.config.cjs
in starting_point/frontend
33 -
useConversationStore.ts
in starting_point/frontend/stores
29 -
message.css
in starting_point/frontend/components
25 -
app.py
in starting_point/python-backend
23 2
route.ts
in starting_point/frontend/app/api/get_response
19 1
page.tsx
in starting_point/frontend/app
8 -
mjs
postcss.config.mjs
in starting_point/frontend
7 -
constants.ts
in starting_point/frontend/lib
7 -
utils.ts
in starting_point/frontend/lib
5 1
mjs
next.config.mjs
in starting_point/frontend
3 -
tools.ts
in starting_point/frontend/lib
2 -
Files With Most Units (Top 5)
File# lines# units
app.py
in starting_point/python-backend
23 2
assistant.tsx
in starting_point/frontend/components
43 1
utils.ts
in starting_point/frontend/lib
5 1
route.ts
in starting_point/frontend/app/api/get_response
19 1
layout.tsx
in starting_point/frontend/app
35 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 3 long lines.

File# lines# units# long lines
chat.tsx
in starting_point/frontend/components
102 - 3
Correlations

File Size vs. Commits (all time): 1 points

starting_point/python-backend/app.py x: 1 commits (all time) y: 23 lines of code
23.0
lines of code
  min: 23.0
  average: 23.0
  25th percentile: 23.0
  median: 23.0
  75th percentile: 23.0
  max: 23.0
0 1.0
commits (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (all time): 1 points

starting_point/python-backend/app.py x: 1 contributors (all time) y: 23 lines of code
23.0
lines of code
  min: 23.0
  average: 23.0
  25th percentile: 23.0
  median: 23.0
  75th percentile: 23.0
  max: 23.0
0 1.0
contributors (all time)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (30 days): 0 points

No data for "commits (30d)" vs. "lines of code".

File Size vs. Contributors (30 days): 0 points

No data for "contributors (30d)" vs. "lines of code".


File Size vs. Commits (90 days): 0 points

No data for "commits (90d)" vs. "lines of code".

File Size vs. Contributors (90 days): 0 points

No data for "contributors (90d)" vs. "lines of code".