File Size Overall
  • There are 14 files with 515 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (372 lines of code)
    • 0 small files (0 lines of code)
    • 13 very small files (143 lines of code)
0% | 0% | 72% | 0% | 27%
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% | 100% | 0% | 0%
sql0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk0% | 0% | 98% | 0% | 1%
db0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 14)
File# lines# units
gatehouse.ts
in cdk/lib
372 1
35 -
20 -
19 -
dependabot.yml
in .github
14 -
14 -
10 -
V0__init.sql
in db/migrations
9 -
9 -
5 -
3 -
2 -
2 -
1 -
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
gatehouse.ts
in cdk/lib
372 ~2k–7k 6 ~50 ~7
14 under 1k 1 ~20 ~1
3 under 1k 2 ~5 ~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 1)
File# lines# units
gatehouse.ts
in cdk/lib
372 1
Files With Long Lines (Top 2)

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

File# lines# units# long lines
20 - 1
35 - 1
Correlations

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

cdk/lib/gatehouse.ts x: 43 commits (all time) y: 372 lines of code db/migrations/V202601121111__create_user_permissions.sql x: 1 commits (all time) y: 14 lines of code db/migrations/V202511171406__create_user_sequence.sql x: 2 commits (all time) y: 3 lines of code cdk/eslint.config.mjs x: 2 commits (all time) y: 5 lines of code db/migrations/V202504140953__rename_idapi_tables.sql x: 2 commits (all time) y: 2 lines of code db/migrations/V202503141216__identity_admin_api_user.sql x: 2 commits (all time) y: 9 lines of code db/migrations/V202503141217__client_access_tokens.sql x: 2 commits (all time) y: 19 lines of code db/migrations/V202502251530__puzzle_id_column.sql x: 2 commits (all time) y: 20 lines of code db/migrations/V202502031121__db_users_schema.sql x: 2 commits (all time) y: 35 lines of code db/migrations/V202502041538__grant_identity_api_access.sql x: 2 commits (all time) y: 1 lines of code .github/dependabot.yml x: 4 commits (all time) y: 14 lines of code
372.0
lines of code
  min: 1.0
  average: 36.79
  25th percentile: 2.75
  median: 9.5
  75th percentile: 19.25
  max: 372.0
0 43.0
commits (all time)
min: 1.0 | average: 5.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 43.0

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

cdk/lib/gatehouse.ts x: 4 contributors (all time) y: 372 lines of code db/migrations/V202601121111__create_user_permissions.sql x: 1 contributors (all time) y: 14 lines of code db/migrations/V202511171406__create_user_sequence.sql x: 2 contributors (all time) y: 3 lines of code cdk/eslint.config.mjs x: 1 contributors (all time) y: 5 lines of code db/migrations/V202504140953__rename_idapi_tables.sql x: 1 contributors (all time) y: 2 lines of code db/migrations/V202503141216__identity_admin_api_user.sql x: 1 contributors (all time) y: 9 lines of code db/migrations/V202503141217__client_access_tokens.sql x: 1 contributors (all time) y: 19 lines of code db/migrations/V202502251530__puzzle_id_column.sql x: 1 contributors (all time) y: 20 lines of code db/migrations/V202502031121__db_users_schema.sql x: 1 contributors (all time) y: 35 lines of code db/migrations/V202502041538__grant_identity_api_access.sql x: 1 contributors (all time) y: 1 lines of code
372.0
lines of code
  min: 1.0
  average: 36.79
  25th percentile: 2.75
  median: 9.5
  75th percentile: 19.25
  max: 372.0
0 4.0
contributors (all time)
min: 1.0 | average: 1.29 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | 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): 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...