File Size Overall
  • There are 27 files with 1,958 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (1,116 lines of code)
    • 1 small files (183 lines of code)
    • 23 very small files (659 lines of code)
0% | 0% | 56% | 9% | 33%
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% | 57% | 9% | 32%
prisma0% | 0% | 0% | 0% | 100%
sql0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
toml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
projects0% | 0% | 53% | 11% | 35%
cdk0% | 0% | 74% | 0% | 25%
Longest Files (Top 27)
File# lines# units
audit_page_run.ts
in projects/page-runner/prisma/client/models
440 -
prismaNamespace.ts
in projects/page-runner/prisma/client/internal
436 1
240 1
commonInputTypes.ts
in projects/page-runner/prisma/client
183 -
audit.ts
in projects/page-runner/src
100 -
81 1
write-db-env.ts
in projects/page-runner/scripts
76 -
db.ts
in projects/page-runner/src/util
64 1
class.ts
in projects/page-runner/prisma/client/internal
60 4
prismaNamespaceBrowser.ts
in projects/page-runner/prisma/client/internal
44 -
get-rds-proxy-endpoint.ts
in projects/page-runner/scripts
38 -
handler.ts
in projects/page-runner/src
35 -
playwright.config.ts
in projects/page-runner
30 1
lambda.ts
in projects/page-runner/src/util
25 -
env.ts
in projects/page-runner/src/util
19 -
run-locally.ts
in projects/page-runner/scripts
15 -
prisma
schema.prisma
in projects/page-runner/prisma
14 -
client.ts
in projects/page-runner/prisma/client
14 -
prisma.config.ts
in projects/page-runner
11 1
migration.sql
in projects/page-runner/prisma/migrations/0_init
6 -
index.js
in projects/page-runner/src
6 -
browser.ts
in projects/page-runner/prisma/client
5 -
constants.ts
in projects/page-runner/src/util
5 -
request.ts
in projects/page-runner/src/model
5 -
migration_lock.toml
in projects/page-runner/prisma/migrations
3 -
models.ts
in projects/page-runner/prisma/client
2 -
enums.ts
in projects/page-runner/prisma/client
1 -
Large Files That Change Often (Top 20)
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
240 ~1.5k–5k 12 ~50 ~5
audit_page_run.ts
in projects/page-runner/prisma/client/models
440 ~3k–7k 2 ~1,000 ~0
prismaNamespace.ts
in projects/page-runner/prisma/client/internal
436 ~3k–7k 2 ~700 ~1
81 ~500–1.5k 6 ~30 ~2
commonInputTypes.ts
in projects/page-runner/prisma/client
183 ~1k–3k 2 ~200 ~1
audit.ts
in projects/page-runner/src
100 ~700–1.5k 2 ~150 ~1
write-db-env.ts
in projects/page-runner/scripts
76 ~500–1.5k 2 ~100 ~1
db.ts
in projects/page-runner/src/util
64 ~300–1k 2 ~70 ~1
class.ts
in projects/page-runner/prisma/client/internal
60 ~300–1k 2 ~200 ~0
prismaNamespaceBrowser.ts
in projects/page-runner/prisma/client/internal
44 under 1k 2 ~100 ~0
get-rds-proxy-endpoint.ts
in projects/page-runner/scripts
38 under 1k 2 ~50 ~1
handler.ts
in projects/page-runner/src
35 under 1k 2 ~50 ~1
playwright.config.ts
in projects/page-runner
30 under 1k 2 ~70 ~0
lambda.ts
in projects/page-runner/src/util
25 under 1k 2 ~30 ~1
env.ts
in projects/page-runner/src/util
19 under 1k 2 ~30 ~1
run-locally.ts
in projects/page-runner/scripts
15 under 1k 2 ~20 ~1
client.ts
in projects/page-runner/prisma/client
14 under 1k 2 ~50 ~0
prisma
schema.prisma
in projects/page-runner/prisma
14 under 1k 2 ~15 ~1
prisma.config.ts
in projects/page-runner
11 under 1k 2 ~10 ~1
migration.sql
in projects/page-runner/prisma/migrations/0_init
6 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 7)
File# lines# units
class.ts
in projects/page-runner/prisma/client/internal
60 4
81 1
240 1
prismaNamespace.ts
in projects/page-runner/prisma/client/internal
436 1
prisma.config.ts
in projects/page-runner
11 1
playwright.config.ts
in projects/page-runner
30 1
db.ts
in projects/page-runner/src/util
64 1
Files With Long Lines (Top 5)

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

File# lines# units# long lines
audit_page_run.ts
in projects/page-runner/prisma/client/models
440 - 44
class.ts
in projects/page-runner/prisma/client/internal
60 4 8
prismaNamespace.ts
in projects/page-runner/prisma/client/internal
436 1 4
prismaNamespaceBrowser.ts
in projects/page-runner/prisma/client/internal
44 - 1
client.ts
in projects/page-runner/prisma/client
14 - 1
Correlations

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

cdk/lib/content-audit-infra.ts x: 6 commits (all time) y: 81 lines of code cdk/lib/content-audit.ts x: 31 commits (all time) y: 240 lines of code projects/page-runner/playwright.config.ts x: 2 commits (all time) y: 30 lines of code projects/page-runner/prisma.config.ts x: 2 commits (all time) y: 11 lines of code projects/page-runner/prisma/client/browser.ts x: 2 commits (all time) y: 5 lines of code projects/page-runner/prisma/client/client.ts x: 2 commits (all time) y: 14 lines of code projects/page-runner/prisma/client/commonInputTypes.ts x: 2 commits (all time) y: 183 lines of code projects/page-runner/prisma/client/enums.ts x: 2 commits (all time) y: 1 lines of code projects/page-runner/prisma/client/internal/class.ts x: 2 commits (all time) y: 60 lines of code projects/page-runner/prisma/client/internal/prismaNamespace.ts x: 2 commits (all time) y: 436 lines of code projects/page-runner/prisma/client/internal/prismaNamespaceBrowser.ts x: 2 commits (all time) y: 44 lines of code projects/page-runner/prisma/client/models.ts x: 2 commits (all time) y: 2 lines of code projects/page-runner/prisma/client/models/audit_page_run.ts x: 2 commits (all time) y: 440 lines of code projects/page-runner/prisma/migrations/0_init/migration.sql x: 2 commits (all time) y: 6 lines of code projects/page-runner/scripts/get-rds-proxy-endpoint.ts x: 2 commits (all time) y: 38 lines of code projects/page-runner/scripts/write-db-env.ts x: 2 commits (all time) y: 76 lines of code projects/page-runner/src/audit.ts x: 2 commits (all time) y: 100 lines of code projects/page-runner/src/handler.ts x: 2 commits (all time) y: 35 lines of code projects/page-runner/src/util/db.ts x: 2 commits (all time) y: 64 lines of code projects/page-runner/src/util/env.ts x: 2 commits (all time) y: 19 lines of code projects/page-runner/src/util/lambda.ts x: 2 commits (all time) y: 25 lines of code
440.0
lines of code
  min: 1.0
  average: 72.52
  25th percentile: 6.0
  median: 25.0
  75th percentile: 76.0
  max: 440.0
0 31.0
commits (all time)
min: 2.0 | average: 3.22 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 31.0

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

cdk/lib/content-audit-infra.ts x: 2 contributors (all time) y: 81 lines of code cdk/lib/content-audit.ts x: 1 contributors (all time) y: 240 lines of code projects/page-runner/playwright.config.ts x: 1 contributors (all time) y: 30 lines of code projects/page-runner/prisma.config.ts x: 1 contributors (all time) y: 11 lines of code projects/page-runner/prisma/client/browser.ts x: 1 contributors (all time) y: 5 lines of code projects/page-runner/prisma/client/client.ts x: 1 contributors (all time) y: 14 lines of code projects/page-runner/prisma/client/commonInputTypes.ts x: 1 contributors (all time) y: 183 lines of code projects/page-runner/prisma/client/enums.ts x: 1 contributors (all time) y: 1 lines of code projects/page-runner/prisma/client/internal/class.ts x: 1 contributors (all time) y: 60 lines of code projects/page-runner/prisma/client/internal/prismaNamespace.ts x: 1 contributors (all time) y: 436 lines of code projects/page-runner/prisma/client/internal/prismaNamespaceBrowser.ts x: 1 contributors (all time) y: 44 lines of code projects/page-runner/prisma/client/models.ts x: 1 contributors (all time) y: 2 lines of code projects/page-runner/prisma/client/models/audit_page_run.ts x: 1 contributors (all time) y: 440 lines of code projects/page-runner/prisma/migrations/0_init/migration.sql x: 1 contributors (all time) y: 6 lines of code projects/page-runner/scripts/get-rds-proxy-endpoint.ts x: 1 contributors (all time) y: 38 lines of code projects/page-runner/scripts/write-db-env.ts x: 1 contributors (all time) y: 76 lines of code projects/page-runner/src/audit.ts x: 1 contributors (all time) y: 100 lines of code projects/page-runner/src/handler.ts x: 1 contributors (all time) y: 35 lines of code projects/page-runner/src/util/db.ts x: 1 contributors (all time) y: 64 lines of code projects/page-runner/src/util/env.ts x: 1 contributors (all time) y: 19 lines of code projects/page-runner/src/util/lambda.ts x: 1 contributors (all time) y: 25 lines of code
440.0
lines of code
  min: 1.0
  average: 72.52
  25th percentile: 6.0
  median: 25.0
  75th percentile: 76.0
  max: 440.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.04 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 2.0

File Size vs. Commits (30 days): 1 points

cdk/lib/content-audit-infra.ts x: 2 commits (30d) y: 81 lines of code
81.0
lines of code
  min: 81.0
  average: 81.0
  25th percentile: 81.0
  median: 81.0
  75th percentile: 81.0
  max: 81.0
0 2.0
commits (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Contributors (30 days): 1 points

cdk/lib/content-audit-infra.ts x: 2 contributors (30d) y: 81 lines of code
81.0
lines of code
  min: 81.0
  average: 81.0
  25th percentile: 81.0
  median: 81.0
  75th percentile: 81.0
  max: 81.0
0 2.0
contributors (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

File Size vs. Commits (90 days): 1 points

cdk/lib/content-audit-infra.ts x: 2 commits (90d) y: 81 lines of code
81.0
lines of code
  min: 81.0
  average: 81.0
  25th percentile: 81.0
  median: 81.0
  75th percentile: 81.0
  max: 81.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): 1 points

cdk/lib/content-audit-infra.ts x: 2 contributors (90d) y: 81 lines of code
81.0
lines of code
  min: 81.0
  average: 81.0
  25th percentile: 81.0
  median: 81.0
  75th percentile: 81.0
  max: 81.0
0 2.0
contributors (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.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...