openai / openai-realtime-twilio-demo
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 40 files with 2,527 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,035 lines of code)
    • 3 small files (340 lines of code)
    • 33 very small files (1,152 lines of code)
0% | 0% | 40% | 13% | 45%
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% | 35% | 20% | 43%
ts0% | 0% | 55% | 0% | 44%
css0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
webapp0% | 0% | 36% | 15% | 47%
websocket-server0% | 0% | 65% | 0% | 34%
Longest Files (Top 40)
File# lines# units
checklist-and-config.tsx
in webapp/components
317 -
265 1
sessionManager.ts
in websocket-server/src
251 13
202 3
select.tsx
in webapp/components/ui
131 -
dialog.tsx
in webapp/components/ui
107 -
function-calls-panel.tsx
in webapp/components
102 -
tool-configuration-dialog.tsx
in webapp/components
97 -
transcript.tsx
in webapp/components
95 -
call-interface.tsx
in webapp/components
84 -
78 -
card.tsx
in webapp/components/ui
71 -
server.ts
in websocket-server/src
66 -
globals.css
in webapp/app
66 -
tool-templates.ts
in webapp/lib
65 -
phone-number-checklist.tsx
in webapp/components
61 -
alert.tsx
in webapp/components/ui
49 -
button.tsx
in webapp/components/ui
45 -
scroll-area.tsx
in webapp/components/ui
43 -
top-bar.tsx
in webapp/components
32 -
functionHandlers.ts
in websocket-server/src
30 -
badge.tsx
in webapp/components/ui
28 -
types.ts
in websocket-server/src
27 -
route.ts
in webapp/app/api/twilio/numbers
26 2
types.ts
in webapp/components
26 -
24 1
checkbox.tsx
in webapp/components/ui
23 -
layout.tsx
in webapp/app
20 1
label.tsx
in webapp/components/ui
17 -
input.tsx
in webapp/components/ui
15 -
textarea.tsx
in webapp/components/ui
14 -
twilio.ts
in webapp/lib
10 -
twiml.xml
in websocket-server/src
8 -
mjs
7 -
route.ts
in webapp/app/api/twilio
6 1
utils.ts
in webapp/lib
5 1
backend-tag.tsx
in webapp/components
5 -
page.tsx
in webapp/app
3 -
route.ts
in webapp/app/api/twilio/webhook-local
3 1
mjs
3 -
Files With Most Units (Top 9)
File# lines# units
sessionManager.ts
in websocket-server/src
251 13
202 3
route.ts
in webapp/app/api/twilio/numbers
26 2
layout.tsx
in webapp/app
20 1
route.ts
in webapp/app/api/twilio/webhook-local
3 1
route.ts
in webapp/app/api/twilio
6 1
utils.ts
in webapp/lib
5 1
24 1
265 1
Files With Long Lines (Top 10)

There are 10 files with lines longer than 120 characters. In total, there are 14 long lines.

File# lines# units# long lines
select.tsx
in webapp/components/ui
131 - 4
dialog.tsx
in webapp/components/ui
107 - 2
functionHandlers.ts
in websocket-server/src
30 - 1
textarea.tsx
in webapp/components/ui
14 - 1
alert.tsx
in webapp/components/ui
49 - 1
checkbox.tsx
in webapp/components/ui
23 - 1
badge.tsx
in webapp/components/ui
28 - 1
input.tsx
in webapp/components/ui
15 - 1
button.tsx
in webapp/components/ui
45 - 1
top-bar.tsx
in webapp/components
32 - 1
Correlations

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

websocket-server/src/server.ts x: 2 commits (all time) y: 66 lines of code websocket-server/src/sessionManager.ts x: 2 commits (all time) y: 251 lines of code
251.0
lines of code
  min: 66.0
  average: 158.5
  25th percentile: 66.0
  median: 158.5
  75th percentile: 251.0
  max: 251.0
0 2.0
commits (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

websocket-server/src/server.ts x: 2 contributors (all time) y: 66 lines of code websocket-server/src/sessionManager.ts x: 2 contributors (all time) y: 251 lines of code
251.0
lines of code
  min: 66.0
  average: 158.5
  25th percentile: 66.0
  median: 158.5
  75th percentile: 251.0
  max: 251.0
0 2.0
contributors (all time)
min: 2.0 | average: 2.0 | 25th percentile: 2.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".