File Size Overall
  • There are 29 files with 3,074 lines of code.
    • 0 very long files (0 lines of code)
    • 1 long files (616 lines of code)
    • 3 medium size files (776 lines of code)
    • 4 small files (612 lines of code)
    • 21 very small files (1,070 lines of code)
0% | 20% | 25% | 19% | 34%
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% | 20% | 26% | 20% | 32%
mjs0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk0% | 98% | 0% | 0% | 1%
src0% | 0% | 32% | 25% | 41%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 29)
File# lines# units
616 9
export.ts
in src/homedelivery
291 10
export.ts
in src/weekly
262 9
WeeklyExporter.ts
in src/weekly
223 13
Zuora.ts
in src/lib
165 4
160 8
157 7
query.ts
in src/weekly
130 3
config.ts
in src/lib
96 3
storage.ts
in src/lib
95 7
93 2
states.ts
in src/lib
91 2
query.ts
in src/homedelivery
87 4
74 2
cloudwatch.ts
in src/lib
72 5
60 -
59 3
54 -
52 2
WeeklyInput.ts
in src/weekly
49 1
ApiResponse.ts
in src/lib
34 3
31 -
30 -
28 -
Filename.ts
in src/lib
22 2
14 1
formatters.ts
in src/lib
14 3
8 -
NamedError.ts
in src/lib
7 1
Large Files That Change Often (Top 12)
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
export.ts
in src/weekly
262 ~1.5k–5k 7 ~70 ~3
export.ts
in src/homedelivery
291 ~2k–5k 6 ~100 ~3
157 ~1k–3k 10 ~50 ~3
616 ~3k–10k 2 ~700 ~1
Zuora.ts
in src/lib
165 ~1k–3k 4 ~100 ~2
config.ts
in src/lib
96 ~500–1.5k 2 ~50 ~2
query.ts
in src/homedelivery
87 ~500–1.5k 2 ~30 ~3
74 ~500–1.5k 2 ~30 ~2
cloudwatch.ts
in src/lib
72 ~500–1.5k 2 ~100 ~1
60 ~300–1k 2 ~70 ~1
31 under 1k 2 ~3 ~10
8 under 1k 2 ~10 ~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 23)
File# lines# units
WeeklyExporter.ts
in src/weekly
223 13
export.ts
in src/homedelivery
291 10
616 9
export.ts
in src/weekly
262 9
160 8
157 7
storage.ts
in src/lib
95 7
cloudwatch.ts
in src/lib
72 5
query.ts
in src/homedelivery
87 4
Zuora.ts
in src/lib
165 4
59 3
ApiResponse.ts
in src/lib
34 3
formatters.ts
in src/lib
14 3
config.ts
in src/lib
96 3
query.ts
in src/weekly
130 3
52 2
74 2
Filename.ts
in src/lib
22 2
states.ts
in src/lib
91 2
93 2
NamedError.ts
in src/lib
7 1
14 1
WeeklyInput.ts
in src/weekly
49 1
Files With Long Lines (Top 6)

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

File# lines# units# long lines
616 9 8
export.ts
in src/homedelivery
291 10 2
export.ts
in src/weekly
262 9 2
query.ts
in src/homedelivery
87 4 1
157 7 1
query.ts
in src/weekly
130 3 1
Correlations

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

cdk/eslint.config.mjs x: 2 commits (all time) y: 8 lines of code cdk/lib/fulfilment-lambdas.ts x: 2 commits (all time) y: 616 lines of code riff-raff.yaml x: 26 commits (all time) y: 31 lines of code src/weekly/export.ts x: 10 commits (all time) y: 262 lines of code src/homedelivery/export.ts x: 9 commits (all time) y: 291 lines of code src/lib/cloudwatch.ts x: 2 commits (all time) y: 72 lines of code src/homedelivery/query.ts x: 8 commits (all time) y: 87 lines of code src/lib/salesforceAuthenticator.ts x: 13 commits (all time) y: 157 lines of code eslint.config.mjs x: 2 commits (all time) y: 60 lines of code src/lib/Zuora.ts x: 8 commits (all time) y: 165 lines of code src/lib/config.ts x: 5 commits (all time) y: 96 lines of code src/salesforce_downloader.ts x: 5 commits (all time) y: 74 lines of code src/weekly/query.ts x: 5 commits (all time) y: 130 lines of code src/weekly_salesforce_uploader.ts x: 2 commits (all time) y: 93 lines of code src/checker.ts x: 3 commits (all time) y: 52 lines of code src/exporter.ts x: 3 commits (all time) y: 30 lines of code src/fetcher.ts x: 5 commits (all time) y: 54 lines of code src/lib/ApiResponse.ts x: 3 commits (all time) y: 34 lines of code src/lib/Filename.ts x: 3 commits (all time) y: 22 lines of code src/lib/HolidayCreditQuery.ts x: 3 commits (all time) y: 14 lines of code src/lib/NamedError.ts x: 3 commits (all time) y: 7 lines of code src/lib/S3ToSalesforceUploader.ts x: 4 commits (all time) y: 59 lines of code src/lib/states.ts x: 3 commits (all time) y: 91 lines of code src/lib/storage.ts x: 3 commits (all time) y: 95 lines of code src/querier.ts x: 3 commits (all time) y: 28 lines of code src/salesforce_uploader.ts x: 3 commits (all time) y: 160 lines of code src/weekly/WeeklyExporter.ts x: 3 commits (all time) y: 223 lines of code src/weekly/WeeklyInput.ts x: 3 commits (all time) y: 49 lines of code
616.0
lines of code
  min: 7.0
  average: 106.0
  25th percentile: 30.5
  median: 72.0
  75th percentile: 143.5
  max: 616.0
0 26.0
commits (all time)
min: 2.0 | average: 5.07 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 5.0 | max: 26.0

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

cdk/eslint.config.mjs x: 1 contributors (all time) y: 8 lines of code cdk/lib/fulfilment-lambdas.ts x: 1 contributors (all time) y: 616 lines of code riff-raff.yaml x: 6 contributors (all time) y: 31 lines of code src/weekly/export.ts x: 4 contributors (all time) y: 262 lines of code src/homedelivery/export.ts x: 3 contributors (all time) y: 291 lines of code src/lib/cloudwatch.ts x: 2 contributors (all time) y: 72 lines of code src/homedelivery/query.ts x: 3 contributors (all time) y: 87 lines of code src/lib/salesforceAuthenticator.ts x: 3 contributors (all time) y: 157 lines of code eslint.config.mjs x: 2 contributors (all time) y: 60 lines of code src/lib/Zuora.ts x: 3 contributors (all time) y: 165 lines of code src/lib/config.ts x: 3 contributors (all time) y: 96 lines of code src/salesforce_downloader.ts x: 3 contributors (all time) y: 74 lines of code src/weekly/query.ts x: 2 contributors (all time) y: 130 lines of code src/weekly_salesforce_uploader.ts x: 1 contributors (all time) y: 93 lines of code src/checker.ts x: 1 contributors (all time) y: 52 lines of code src/exporter.ts x: 1 contributors (all time) y: 30 lines of code src/fetcher.ts x: 1 contributors (all time) y: 54 lines of code src/lib/ApiResponse.ts x: 1 contributors (all time) y: 34 lines of code src/lib/Filename.ts x: 1 contributors (all time) y: 22 lines of code src/lib/HolidayCreditQuery.ts x: 1 contributors (all time) y: 14 lines of code src/lib/NamedError.ts x: 1 contributors (all time) y: 7 lines of code src/lib/S3ToSalesforceUploader.ts x: 1 contributors (all time) y: 59 lines of code src/lib/states.ts x: 1 contributors (all time) y: 91 lines of code src/lib/storage.ts x: 1 contributors (all time) y: 95 lines of code src/querier.ts x: 1 contributors (all time) y: 28 lines of code src/salesforce_uploader.ts x: 1 contributors (all time) y: 160 lines of code src/weekly/WeeklyExporter.ts x: 1 contributors (all time) y: 223 lines of code src/weekly/WeeklyInput.ts x: 1 contributors (all time) y: 49 lines of code
616.0
lines of code
  min: 7.0
  average: 106.0
  25th percentile: 30.5
  median: 72.0
  75th percentile: 143.5
  max: 616.0
0 6.0
contributors (all time)
min: 1.0 | average: 1.79 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.0 | max: 6.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): 3 points

cdk/eslint.config.mjs x: 2 commits (90d) y: 8 lines of code cdk/lib/fulfilment-lambdas.ts x: 2 commits (90d) y: 616 lines of code riff-raff.yaml x: 2 commits (90d) y: 31 lines of code
616.0
lines of code
  min: 8.0
  average: 218.33
  25th percentile: 8.0
  median: 31.0
  75th percentile: 616.0
  max: 616.0
0 2.0
commits (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

cdk/eslint.config.mjs x: 1 contributors (90d) y: 8 lines of code cdk/lib/fulfilment-lambdas.ts x: 1 contributors (90d) y: 616 lines of code riff-raff.yaml x: 1 contributors (90d) y: 31 lines of code
616.0
lines of code
  min: 8.0
  average: 218.33
  25th percentile: 8.0
  median: 31.0
  75th percentile: 616.0
  max: 616.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...