openai / openai-realtime-solar-system
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 1,276 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (611 lines of code)
    • 2 small files (246 lines of code)
    • 15 very small files (419 lines of code)
0% | 0% | 47% | 19% | 32%
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% | 62% | 10% | 26%
ts0% | 0% | 0% | 55% | 44%
mjs0% | 0% | 0% | 0% | 100%
css0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
components0% | 0% | 72% | 12% | 14%
lib0% | 0% | 0% | 63% | 36%
app0% | 0% | 0% | 0% | 100%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
chart.tsx
in components/charts
315 2
app.tsx
in components
296 7
config.ts
in lib
138 -
scene.tsx
in components
108 4
76 2
60 -
route.ts
in app/api/session
57 1
logs.tsx
in components
44 -
controls.tsx
in components
42 -
pie-chart.tsx
in components/charts
33 -
route.ts
in app/api/iss
27 1
18 -
17 -
17 -
page.tsx
in app
8 1
7 -
scene.css
in components
5 -
4 -
4 -
Files With Most Units (Top 7)
File# lines# units
app.tsx
in components
296 7
scene.tsx
in components
108 4
chart.tsx
in components/charts
315 2
76 2
route.ts
in app/api/session
57 1
route.ts
in app/api/iss
27 1
page.tsx
in app
8 1
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 9 long lines.

File# lines# units# long lines
config.ts
in lib
138 - 7
chart.tsx
in components/charts
315 2 2
Correlations

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

app/layout.tsx x: 2 commits (all time) y: 60 lines of code app/api/session/route.ts x: 2 commits (all time) y: 57 lines of code components/app.tsx x: 2 commits (all time) y: 296 lines of code lib/constants.ts x: 3 commits (all time) y: 4 lines of code lib/config.ts x: 1 commits (all time) y: 138 lines of code
296.0
lines of code
  min: 4.0
  average: 111.0
  25th percentile: 30.5
  median: 60.0
  75th percentile: 217.0
  max: 296.0
0 3.0
commits (all time)
min: 1.0 | average: 2.0 | 25th percentile: 1.5 | median: 2.0 | 75th percentile: 2.5 | max: 3.0

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

app/layout.tsx x: 1 contributors (all time) y: 60 lines of code app/api/session/route.ts x: 2 contributors (all time) y: 57 lines of code components/app.tsx x: 2 contributors (all time) y: 296 lines of code lib/constants.ts x: 2 contributors (all time) y: 4 lines of code lib/config.ts x: 1 contributors (all time) y: 138 lines of code
296.0
lines of code
  min: 4.0
  average: 111.0
  25th percentile: 30.5
  median: 60.0
  75th percentile: 217.0
  max: 296.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.6 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.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".