File Size Overall
  • There are 18 files with 528 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 0 medium size files (0 lines of code)
    • 1 small files (132 lines of code)
    • 17 very small files (396 lines of code)
0% | 0% | 0% | 25% | 75%
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% | 0% | 29% | 70%
js0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
sql0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
cdk0% | 0% | 0% | 100% | 0%
collab0% | 0% | 0% | 0% | 100%
nginx0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
132 1
database.ts
in collab/src/lib
74 1
index.ts
in collab/postgres
44 1
43 -
aws.ts
in collab/src/lib
42 2
index.ts
in collab/src
42 -
step.ts
in collab/src/types
30 -
panDomainAuth.ts
in collab/src
25 -
22 -
auth-middleware.ts
in collab/src/middleware
21 -
parse-steps.ts
in collab/src/lib
20 -
constants.ts
in collab/src
10 -
json.ts
in collab/src/types
7 -
7 -
server.ts
in collab/src
5 -
002-StepIndex.sql
in collab/postgres/migrations
2 -
001-StepTable.sql
in collab/postgres/migrations
1 -
stage.ts
in collab/src/types
1 -
Large Files That Change Often (Top 5)
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
132 ~700–2k 2 ~20 ~5
43 under 1k 3 ~30 ~2
index.ts
in collab/postgres
44 under 1k 2 ~20 ~2
22 under 1k 2 ~5 ~3
7 under 1k 2 ~3 ~2

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 4)
File# lines# units
aws.ts
in collab/src/lib
42 2
132 1
index.ts
in collab/postgres
44 1
database.ts
in collab/src/lib
74 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there is only one long line.

File# lines# units# long lines
aws.ts
in collab/src/lib
42 2 1
Correlations

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

collab/prod.config.js x: 9 commits (all time) y: 22 lines of code collab/demo.config.js x: 3 commits (all time) y: 43 lines of code nginx/nginx-mapping.yaml x: 5 commits (all time) y: 7 lines of code collab/postgres/index.ts x: 9 commits (all time) y: 44 lines of code cdk/lib/editorial-collaboration.ts x: 17 commits (all time) y: 132 lines of code collab/src/panDomainAuth.ts x: 9 commits (all time) y: 25 lines of code collab/src/lib/database.ts x: 11 commits (all time) y: 74 lines of code collab/src/constants.ts x: 6 commits (all time) y: 10 lines of code collab/src/index.ts x: 30 commits (all time) y: 42 lines of code collab/src/lib/aws.ts x: 3 commits (all time) y: 42 lines of code collab/postgres/migrations/001-StepTable.sql x: 2 commits (all time) y: 1 lines of code collab/postgres/migrations/002-StepIndex.sql x: 3 commits (all time) y: 2 lines of code collab/src/lib/parse-steps.ts x: 12 commits (all time) y: 20 lines of code collab/src/types/json.ts x: 4 commits (all time) y: 7 lines of code collab/src/types/step.ts x: 10 commits (all time) y: 30 lines of code collab/src/middleware/auth-middleware.ts x: 4 commits (all time) y: 21 lines of code collab/src/server.ts x: 3 commits (all time) y: 5 lines of code
132.0
lines of code
  min: 1.0
  average: 29.33
  25th percentile: 6.5
  median: 21.5
  75th percentile: 42.25
  max: 132.0
0 30.0
commits (all time)
min: 2.0 | average: 7.89 | 25th percentile: 3.0 | median: 5.5 | 75th percentile: 10.25 | max: 30.0

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

collab/prod.config.js x: 4 contributors (all time) y: 22 lines of code collab/demo.config.js x: 1 contributors (all time) y: 43 lines of code nginx/nginx-mapping.yaml x: 4 contributors (all time) y: 7 lines of code collab/postgres/index.ts x: 1 contributors (all time) y: 44 lines of code cdk/lib/editorial-collaboration.ts x: 10 contributors (all time) y: 132 lines of code collab/src/panDomainAuth.ts x: 5 contributors (all time) y: 25 lines of code collab/src/lib/database.ts x: 1 contributors (all time) y: 74 lines of code collab/src/constants.ts x: 3 contributors (all time) y: 10 lines of code collab/src/index.ts x: 8 contributors (all time) y: 42 lines of code collab/src/lib/aws.ts x: 1 contributors (all time) y: 42 lines of code collab/postgres/migrations/001-StepTable.sql x: 1 contributors (all time) y: 1 lines of code collab/postgres/migrations/002-StepIndex.sql x: 1 contributors (all time) y: 2 lines of code collab/src/lib/parse-steps.ts x: 2 contributors (all time) y: 20 lines of code collab/src/types/json.ts x: 2 contributors (all time) y: 7 lines of code collab/src/types/step.ts x: 2 contributors (all time) y: 30 lines of code collab/src/middleware/auth-middleware.ts x: 2 contributors (all time) y: 21 lines of code collab/src/types/stage.ts x: 2 contributors (all time) y: 1 lines of code collab/src/server.ts x: 2 contributors (all time) y: 5 lines of code
132.0
lines of code
  min: 1.0
  average: 29.33
  25th percentile: 6.5
  median: 21.5
  75th percentile: 42.25
  max: 132.0
0 10.0
contributors (all time)
min: 1.0 | average: 2.89 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 10.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...