openai / realtime-voice-component
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 4,709 lines of code.
    • 1 very long files (1,141 lines of code)
    • 3 long files (1,826 lines of code)
    • 3 medium size files (1,037 lines of code)
    • 2 small files (291 lines of code)
    • 10 very small files (414 lines of code)
24% | 38% | 22% | 6% | 8%
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
ts33% | 15% | 30% | 8% | 10%
tsx0% | 95% | 0% | 0% | 4%
css0% | 100% | 0% | 0% | 0%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src24% | 38% | 22% | 6% | 8%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
1141 37
VoiceControlWidget.tsx
in src/components
755 13
541 -
useCornerSnap.ts
in src/internal
530 14
443 15
types.ts
in src
388 -
session.ts
in src/internal
206 16
cornerSnap.ts
in src/internal
161 13
130 11
index.ts
in src
72 -
67 4
mockRealtimeTransport.ts
in src/transport
60 1
types.ts
in src/transport
59 -
storage.ts
in src/internal
49 3
GhostCursorOverlay.tsx
in src/components
39 1
schema.ts
in src
26 5
23 2
16 -
cx.ts
in src/internal
3 1
Files With Most Units (Top 14)
File# lines# units
1141 37
session.ts
in src/internal
206 16
443 15
useCornerSnap.ts
in src/internal
530 14
VoiceControlWidget.tsx
in src/components
755 13
cornerSnap.ts
in src/internal
161 13
130 11
schema.ts
in src
26 5
67 4
storage.ts
in src/internal
49 3
23 2
mockRealtimeTransport.ts
in src/transport
60 1
GhostCursorOverlay.tsx
in src/components
39 1
cx.ts
in src/internal
3 1
Files With Long Lines (Top 1)

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

File# lines# units# long lines
1141 37 1