File Size Overall
  • There are 68 files with 17,721 lines of code.
    • 2 very long files (4,778 lines of code)
    • 7 long files (4,912 lines of code)
    • 13 medium size files (4,223 lines of code)
    • 14 small files (2,115 lines of code)
    • 32 very small files (1,693 lines of code)
26% | 27% | 23% | 11% | 9%
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
ts37% | 26% | 16% | 14% | 5%
css0% | 34% | 38% | 5% | 21%
py0% | 0% | 100% | 0% | 0%
js0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src28% | 28% | 22% | 11% | 9%
server0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 0% | 65% | 34%
public0% | 0% | 0% | 0% | 100%
.fttemplates0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
conversation.ts
in src/components/conversation
2599 46
app.ts
in src/components/app
2179 36
conversation.css
in src/components/conversation
947 -
preference-window.ts
in src/components/preference-window
935 28
codex-session.ts
in src/utils
743 9
app.css
in src/components/app
618 -
harmony-render.ts
in src/utils
579 -
token-window.ts
in src/components/token-window
554 17
api-manager.ts
in src/utils
536 3
token-window.css
in src/components/token-window
473 -
utils.ts
in src/utils
400 2
387 4
358 -
preference-window.css
in src/components/preference-window
338 -
316 -
message-system-content.ts
in src/components/message-system-content
314 7
message-developer-content.ts
in src/components/message-developer-content
313 7
search-window.css
in src/components/search-window
295 -
message-editor-popover.css
in src/components/message-editor-popover
285 -
config.ts
in src/config
277 -
local-data-worker.ts
in src/components/app
244 -
search-window.ts
in src/components/search-window
223 11
codex.ts
in src/components/codex
187 9
request-worker.ts
in src/components/app
179 7
floating-toolbar.ts
in src/components/floating-toolbar
174 8
message-editor-popover.ts
in src/components/message-editor-popover
171 6
toast.ts
in src/components/toast
162 5
input-dialog.ts
in src/components/input-dialog
161 6
155 9
common-types.ts
in src/types
155 -
pagination.ts
in src/components/pagination
154 5
confirm-dialog.ts
in src/components/confirm-dialog
140 6
url-manager.ts
in src/components/app
127 3
harmony-types.ts
in src/types
121 -
floating-toolbar.css
in src/components/floating-toolbar
119 -
input-dialog.css
in src/components/input-dialog
110 -
message-unsupported.ts
in src/components/message-unsupported
100 6
message-text.ts
in src/components/message-text
98 5
confirm-dialog.css
in src/components/confirm-dialog
94 -
93 7
92 -
92 -
menu.ts
in src/components/menu
86 6
toast.css
in src/components/toast
82 -
pagination.css
in src/components/pagination
79 -
message-code.ts
in src/components/message-code
74 5
66 -
58 -
menu.css
in src/components/menu
56 -
json-viewer.ts
in src/components/json-viewer
54 4
Large Files That Change Often (Top 3)
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
app.ts
in src/components/app
2179 ~15k–50k 2 ~200 ~10
api-manager.ts
in src/utils
536 ~3k–10k 2 ~2 ~300
local-data-worker.ts
in src/components/app
244 ~1.5k–5k 2 ~300 ~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 30)
File# lines# units
conversation.ts
in src/components/conversation
2599 46
app.ts
in src/components/app
2179 36
preference-window.ts
in src/components/preference-window
935 28
token-window.ts
in src/components/token-window
554 17
search-window.ts
in src/components/search-window
223 11
155 9
codex-session.ts
in src/utils
743 9
codex.ts
in src/components/codex
187 9
floating-toolbar.ts
in src/components/floating-toolbar
174 8
93 7
message-developer-content.ts
in src/components/message-developer-content
313 7
request-worker.ts
in src/components/app
179 7
message-system-content.ts
in src/components/message-system-content
314 7
input-dialog.ts
in src/components/input-dialog
161 6
confirm-dialog.ts
in src/components/confirm-dialog
140 6
message-editor-popover.ts
in src/components/message-editor-popover
171 6
menu.ts
in src/components/menu
86 6
message-unsupported.ts
in src/components/message-unsupported
100 6
patch-preview.ts
in src/utils
44 5
pagination.ts
in src/components/pagination
154 5
message-code.ts
in src/components/message-code
74 5
toast.ts
in src/components/toast
162 5
message-text.ts
in src/components/message-text
98 5
387 4
json-viewer.ts
in src/components/json-viewer
54 4
api-manager.ts
in src/utils
536 3
message-hidden.ts
in src/components/message-hidden
53 3
url-manager.ts
in src/components/app
127 3
[FTName].ts
in .fttemplates/default-template
26 2
utils.ts
in src/utils
400 2
Files With Long Lines (Top 8)

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

File# lines# units# long lines
api-manager.ts
in src/utils
536 3 4
toast.ts
in src/components/toast
162 5 4
app.ts
in src/components/app
2179 36 2
index.html
in root
24 - 1
patch-preview.ts
in src/utils
44 5 1
search-window.ts
in src/components/search-window
223 11 1
preference-window.ts
in src/components/preference-window
935 28 1
conversation.ts
in src/components/conversation
2599 46 1
Correlations

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

src/components/app/app.ts x: 2 commits (all time) y: 2179 lines of code src/components/app/local-data-worker.ts x: 2 commits (all time) y: 244 lines of code src/utils/api-manager.ts x: 2 commits (all time) y: 536 lines of code
2179.0
lines of code
  min: 244.0
  average: 986.33
  25th percentile: 244.0
  median: 536.0
  75th percentile: 2179.0
  max: 2179.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): 3 points

src/components/app/app.ts x: 1 contributors (all time) y: 2179 lines of code src/components/app/local-data-worker.ts x: 1 contributors (all time) y: 244 lines of code src/utils/api-manager.ts x: 1 contributors (all time) y: 536 lines of code
2179.0
lines of code
  min: 244.0
  average: 986.33
  25th percentile: 244.0
  median: 536.0
  75th percentile: 2179.0
  max: 2179.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".

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...