File Size Overall
  • There are 11 files with 1,168 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (457 lines of code)
    • 2 small files (355 lines of code)
    • 7 very small files (356 lines of code)
0% | 0% | 39% | 30% | 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
ts0% | 0% | 39% | 30% | 30%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 39% | 30% | 30%
Longest Files (Top 11)
File# lines# units
231 6
226 7
180 9
175 3
72 1
index.ts
in src
66 2
64 3
54 1
retry.ts
in src
41 1
36 3
23 1
Large Files That Change Often (Top 9)
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
231 ~1.5k–5k 14 ~30 ~7
226 ~1.5k–5k 12 ~30 ~7
180 ~1k–3k 4 ~100 ~2
index.ts
in src
66 ~300–1k 10 ~3 ~15
175 ~1k–3k 2 ~100 ~2
72 ~500–1.5k 3 ~15 ~5
23 under 1k 7 ~70 ~0
retry.ts
in src
41 under 1k 1 ~50 ~1
36 under 1k 1 ~50 ~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 11)
File# lines# units
180 9
226 7
231 6
175 3
64 3
36 3
index.ts
in src
66 2
23 1
retry.ts
in src
41 1
72 1
54 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
175 3 5
72 1 4
226 7 3
Correlations

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

src/run-claude-sdk.ts x: 12 commits (all time) y: 226 lines of code src/parse-sdk-options.ts x: 14 commits (all time) y: 231 lines of code src/index.ts x: 19 commits (all time) y: 66 lines of code src/workload-identity.ts x: 2 commits (all time) y: 175 lines of code src/retry.ts x: 1 commits (all time) y: 41 lines of code src/validate-env.ts x: 4 commits (all time) y: 72 lines of code src/execution-file.ts x: 1 commits (all time) y: 36 lines of code src/run-claude.ts x: 20 commits (all time) y: 23 lines of code src/install-plugins.ts x: 4 commits (all time) y: 180 lines of code src/setup-claude-code-settings.ts x: 7 commits (all time) y: 54 lines of code
231.0
lines of code
  min: 23.0
  average: 110.4
  25th percentile: 39.75
  median: 69.0
  75th percentile: 191.5
  max: 231.0
0 20.0
commits (all time)
min: 1.0 | average: 8.4 | 25th percentile: 1.75 | median: 5.5 | 75th percentile: 15.25 | max: 20.0

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

src/run-claude-sdk.ts x: 1 contributors (all time) y: 226 lines of code src/parse-sdk-options.ts x: 1 contributors (all time) y: 231 lines of code src/index.ts x: 2 contributors (all time) y: 66 lines of code src/workload-identity.ts x: 1 contributors (all time) y: 175 lines of code src/retry.ts x: 1 contributors (all time) y: 41 lines of code src/validate-env.ts x: 2 contributors (all time) y: 72 lines of code src/execution-file.ts x: 1 contributors (all time) y: 36 lines of code src/run-claude.ts x: 4 contributors (all time) y: 23 lines of code src/install-plugins.ts x: 1 contributors (all time) y: 180 lines of code src/setup-claude-code-settings.ts x: 3 contributors (all time) y: 54 lines of code
231.0
lines of code
  min: 23.0
  average: 110.4
  25th percentile: 39.75
  median: 69.0
  75th percentile: 191.5
  max: 231.0
0 4.0
contributors (all time)
min: 1.0 | average: 1.7 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.25 | max: 4.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): 4 points

src/run-claude-sdk.ts x: 3 commits (90d) y: 226 lines of code src/parse-sdk-options.ts x: 3 commits (90d) y: 231 lines of code src/index.ts x: 1 commits (90d) y: 66 lines of code src/workload-identity.ts x: 1 commits (90d) y: 175 lines of code
231.0
lines of code
  min: 66.0
  average: 174.5
  25th percentile: 93.25
  median: 200.5
  75th percentile: 229.75
  max: 231.0
0 3.0
commits (90d)
min: 1.0 | average: 2.0 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 3.0

File Size vs. Contributors (90 days): 4 points

src/run-claude-sdk.ts x: 1 contributors (90d) y: 226 lines of code src/parse-sdk-options.ts x: 1 contributors (90d) y: 231 lines of code src/index.ts x: 1 contributors (90d) y: 66 lines of code src/workload-identity.ts x: 1 contributors (90d) y: 175 lines of code
231.0
lines of code
  min: 66.0
  average: 174.5
  25th percentile: 93.25
  median: 200.5
  75th percentile: 229.75
  max: 231.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0
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...