File Size Overall
  • There are 35 files with 2,906 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,195 lines of code)
    • 6 small files (827 lines of code)
    • 25 very small files (884 lines of code)
0% | 0% | 41% | 28% | 30%
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% | 55% | 21% | 22%
ts0% | 0% | 31% | 34% | 33%
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
src0% | 0% | 41% | 28% | 29%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 35)
File# lines# units
App.tsx
in src/app
441 2
supervisorAgent.ts
in src/app/agentConfigs/chatSupervisor
268 4
returns.ts
in src/app/agentConfigs/customerServiceRetail
268 3
Transcript.tsx
in src/app/components
218 1
useRealtimeSession.ts
in src/app/hooks
166 3
157 8
BottomToolbar.tsx
in src/app/components
137 3
sampleData.ts
in src/app/agentConfigs/chatSupervisor
127 -
types.ts
in src/app
127 -
TranscriptContext.tsx
in src/app/contexts
113 3
index.ts
in src/app/agentConfigs/chatSupervisor
99 -
sales.ts
in src/app/agentConfigs/customerServiceRetail
91 3
GuardrailChip.tsx
in src/app/components
91 1
Events.tsx
in src/app/components
86 -
guardrails.ts
in src/app/agentConfigs
83 4
useAudioDownload.ts
in src/app/hooks
77 1
EventContext.tsx
in src/app/contexts
62 1
audioUtils.ts
in src/app/lib
48 3
route.ts
in src/app/api/responses
35 3
route.ts
in src/app/api/session
26 1
simpleHandoff.ts
in src/app/agentConfigs
22 -
codecUtils.ts
in src/app/lib
19 1
globals.css
in src/app
19 -
18 -
layout.tsx
in src/app
18 1
17 -
index.ts
in src/app/agentConfigs/customerServiceRetail
15 -
page.tsx
in src/app
13 1
simulatedHuman.ts
in src/app/agentConfigs/customerServiceRetail
11 -
index.ts
in src/app/agentConfigs
10 -
route.ts
in src/app/api/health
9 1
7 -
4 -
types.ts
in src/app/agentConfigs
2 -
envSetup.ts
in src/app/lib
2 -
Large Files That Change Often (Top 2)
To change a file, an AI coding agent (or a person) has to read it: these files are read the most for the changes in the past year (lines × changes).
File# lines≈ tokens
to read
# changes
(1y)
≈ lines edited
per change
lines read per
line changed
useRealtimeSession.ts
in src/app/hooks
166 ~1k–3k 1 ~50 ~3
codecUtils.ts
in src/app/lib
19 under 1k 1 ~20 ~1

Tokens are lines × 7 to 14 (analysis.fileReadsForChanges). Lines edited per change are the file's lines added and deleted divided by its commits over the whole history. Agents read about 2,000 lines at a time: when a 17,000-line file was split into modules, the tokens an agent read for the same change fell by 83% (The Economic Benefit of Refactoring, 2026).

Files With Most Units (Top 20)
File# lines# units
157 8
supervisorAgent.ts
in src/app/agentConfigs/chatSupervisor
268 4
guardrails.ts
in src/app/agentConfigs
83 4
TranscriptContext.tsx
in src/app/contexts
113 3
returns.ts
in src/app/agentConfigs/customerServiceRetail
268 3
sales.ts
in src/app/agentConfigs/customerServiceRetail
91 3
BottomToolbar.tsx
in src/app/components
137 3
useRealtimeSession.ts
in src/app/hooks
166 3
audioUtils.ts
in src/app/lib
48 3
route.ts
in src/app/api/responses
35 3
App.tsx
in src/app
441 2
EventContext.tsx
in src/app/contexts
62 1
Transcript.tsx
in src/app/components
218 1
GuardrailChip.tsx
in src/app/components
91 1
useAudioDownload.ts
in src/app/hooks
77 1
layout.tsx
in src/app
18 1
codecUtils.ts
in src/app/lib
19 1
route.ts
in src/app/api/health
9 1
route.ts
in src/app/api/session
26 1
page.tsx
in src/app
13 1
Files With Long Lines (Top 12)

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

File# lines# units# long lines
returns.ts
in src/app/agentConfigs/customerServiceRetail
268 3 39
supervisorAgent.ts
in src/app/agentConfigs/chatSupervisor
268 4 25
index.ts
in src/app/agentConfigs/chatSupervisor
99 - 22
sales.ts
in src/app/agentConfigs/customerServiceRetail
91 3 11
Transcript.tsx
in src/app/components
218 1 5
App.tsx
in src/app
441 2 4
sampleData.ts
in src/app/agentConfigs/chatSupervisor
127 - 4
TranscriptContext.tsx
in src/app/contexts
113 3 3
guardrails.ts
in src/app/agentConfigs
83 4 2
simulatedHuman.ts
in src/app/agentConfigs/customerServiceRetail
11 - 2
Events.tsx
in src/app/components
86 - 2
types.ts
in src/app
127 - 1
Correlations

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

src/app/hooks/useRealtimeSession.ts x: 4 commits (all time) y: 166 lines of code src/app/lib/codecUtils.ts x: 2 commits (all time) y: 19 lines of code src/app/agentConfigs/chatSupervisor/index.ts x: 9 commits (all time) y: 99 lines of code src/app/agentConfigs/customerServiceRetail/returns.ts x: 7 commits (all time) y: 268 lines of code src/app/agentConfigs/customerServiceRetail/sales.ts x: 3 commits (all time) y: 91 lines of code src/app/api/health/route.ts x: 2 commits (all time) y: 9 lines of code src/app/App.tsx x: 6 commits (all time) y: 441 lines of code src/app/agentConfigs/chatSupervisor/supervisorAgent.ts x: 4 commits (all time) y: 268 lines of code src/app/agentConfigs/customerServiceRetail/index.ts x: 2 commits (all time) y: 15 lines of code src/app/agentConfigs/guardrails.ts x: 2 commits (all time) y: 83 lines of code src/app/api/responses/route.ts x: 2 commits (all time) y: 35 lines of code src/app/api/session/route.ts x: 4 commits (all time) y: 26 lines of code src/app/components/BottomToolbar.tsx x: 3 commits (all time) y: 137 lines of code src/app/components/Events.tsx x: 3 commits (all time) y: 86 lines of code src/app/components/Transcript.tsx x: 4 commits (all time) y: 218 lines of code src/app/contexts/TranscriptContext.tsx x: 5 commits (all time) y: 113 lines of code src/app/hooks/useHandleSessionHistory.ts x: 1 commits (all time) y: 157 lines of code src/app/types.ts x: 5 commits (all time) y: 127 lines of code src/app/agentConfigs/customerServiceRetail/simulatedHuman.ts x: 1 commits (all time) y: 11 lines of code src/app/agentConfigs/index.ts x: 6 commits (all time) y: 10 lines of code src/app/agentConfigs/simpleHandoff.ts x: 3 commits (all time) y: 22 lines of code src/app/agentConfigs/types.ts x: 1 commits (all time) y: 2 lines of code src/app/contexts/EventContext.tsx x: 1 commits (all time) y: 62 lines of code src/app/page.tsx x: 2 commits (all time) y: 13 lines of code src/app/components/GuardrailChip.tsx x: 2 commits (all time) y: 91 lines of code src/app/hooks/useAudioDownload.ts x: 2 commits (all time) y: 77 lines of code src/app/lib/audioUtils.ts x: 2 commits (all time) y: 48 lines of code src/app/lib/envSetup.ts x: 2 commits (all time) y: 2 lines of code
441.0
lines of code
  min: 2.0
  average: 94.7
  25th percentile: 17.25
  median: 80.0
  75th percentile: 129.5
  max: 441.0
0 9.0
commits (all time)
min: 1.0 | average: 3.23 | 25th percentile: 2.0 | median: 2.5 | 75th percentile: 4.25 | max: 9.0

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

src/app/hooks/useRealtimeSession.ts x: 4 contributors (all time) y: 166 lines of code src/app/lib/codecUtils.ts x: 2 contributors (all time) y: 19 lines of code src/app/agentConfigs/chatSupervisor/index.ts x: 5 contributors (all time) y: 99 lines of code src/app/agentConfigs/customerServiceRetail/returns.ts x: 3 contributors (all time) y: 268 lines of code src/app/agentConfigs/customerServiceRetail/sales.ts x: 3 contributors (all time) y: 91 lines of code src/app/api/health/route.ts x: 2 contributors (all time) y: 9 lines of code src/app/App.tsx x: 3 contributors (all time) y: 441 lines of code src/app/agentConfigs/customerServiceRetail/index.ts x: 1 contributors (all time) y: 15 lines of code src/app/agentConfigs/guardrails.ts x: 1 contributors (all time) y: 83 lines of code src/app/api/responses/route.ts x: 1 contributors (all time) y: 35 lines of code src/app/api/session/route.ts x: 3 contributors (all time) y: 26 lines of code src/app/components/BottomToolbar.tsx x: 3 contributors (all time) y: 137 lines of code src/app/components/Events.tsx x: 3 contributors (all time) y: 86 lines of code src/app/components/Transcript.tsx x: 3 contributors (all time) y: 218 lines of code src/app/contexts/TranscriptContext.tsx x: 3 contributors (all time) y: 113 lines of code src/app/hooks/useHandleSessionHistory.ts x: 1 contributors (all time) y: 157 lines of code src/app/types.ts x: 3 contributors (all time) y: 127 lines of code src/app/agentConfigs/customerServiceRetail/simulatedHuman.ts x: 1 contributors (all time) y: 11 lines of code src/app/agentConfigs/index.ts x: 3 contributors (all time) y: 10 lines of code src/app/agentConfigs/simpleHandoff.ts x: 3 contributors (all time) y: 22 lines of code src/app/agentConfigs/types.ts x: 1 contributors (all time) y: 2 lines of code src/app/contexts/EventContext.tsx x: 1 contributors (all time) y: 62 lines of code src/app/page.tsx x: 2 contributors (all time) y: 13 lines of code src/app/components/GuardrailChip.tsx x: 2 contributors (all time) y: 91 lines of code src/app/hooks/useAudioDownload.ts x: 2 contributors (all time) y: 77 lines of code src/app/lib/audioUtils.ts x: 2 contributors (all time) y: 48 lines of code src/app/lib/envSetup.ts x: 2 contributors (all time) y: 2 lines of code
441.0
lines of code
  min: 2.0
  average: 94.7
  25th percentile: 17.25
  median: 80.0
  75th percentile: 129.5
  max: 441.0
0 5.0
contributors (all time)
min: 1.0 | average: 2.37 | 25th percentile: 1.75 | median: 2.5 | 75th percentile: 3.0 | max: 5.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".

About This Analysis
  • 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...