File Size Overall
  • There are 33 files with 1,752 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 2 medium size files (444 lines of code)
    • 5 small files (645 lines of code)
    • 26 very small files (663 lines of code)
0% | 0% | 25% | 36% | 37%
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% | 26% | 37% | 35%
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
bandit0% | 0% | 24% | 32% | 43%
cdk0% | 0% | 63% | 32% | 4%
super-mode-calculator0% | 0% | 0% | 52% | 47%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 33)
File# lines# units
build-query.ts
in bandit/src/query-lambda
233 -
bandit.ts
in cdk/lib
211 1
product-catalog.ts
in bandit/src/lib
176 3
query-lambda.ts
in bandit/src/query-lambda
128 1
build-query.ts
in super-mode-calculator/src/lib
124 -
109 1
dynamo.ts
in super-mode-calculator/src/lib
108 11
bigquery.ts
in bandit/src/query-lambda
86 -
dynamo.ts
in bandit/src/query-lambda
63 4
show-bandit-query.ts
in bandit/src/scripts
54 1
parse.ts
in super-mode-calculator/src
40 1
lambda.ts
in super-mode-calculator/src
40 1
parse-result.ts
in bandit/src/query-lambda
40 2
backfill.ts
in bandit/src/scripts
36 -
bigquery.ts
in super-mode-calculator/src/lib
35 -
cloudwatch.ts
in bandit/src/lib/aws
33 -
dependabot.yml
in .github
30 -
ssm.ts
in super-mode-calculator/src/lib
25 -
regionSql.ts
in super-mode-calculator/src
24 -
models.ts
in bandit/src/lib
24 -
ssm.ts
in bandit/src/query-lambda
23 -
local.ts
in bandit/src/query-lambda
23 -
errors.ts
in bandit/src/lib
20 -
14 -
superMode.ts
in super-mode-calculator/src
14 2
constants.ts
in super-mode-calculator/src/lib
13 -
date.ts
in super-mode-calculator/src/lib
7 2
mjs
eslint.config.mjs
in super-mode-calculator
5 -
mjs
5 -
errors.ts
in super-mode-calculator/src/lib
4 -
config.ts
in bandit/src/lib/aws
3 -
test-bq-connection.ts
in bandit/src/query-lambda
1 -
dynamodb.ts
in bandit/src/lib/aws
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
build-query.ts
in bandit/src/query-lambda
233 ~1.5k–5k 9 ~70 ~3
bandit.ts
in cdk/lib
211 ~1k–3k 7 ~30 ~7
query-lambda.ts
in bandit/src/query-lambda
128 ~700–2k 6 ~20 ~5
product-catalog.ts
in bandit/src/lib
176 ~1k–3k 4 ~150 ~1
bigquery.ts
in bandit/src/query-lambda
86 ~500–1.5k 5 ~20 ~3
show-bandit-query.ts
in bandit/src/scripts
54 ~300–1k 6 ~30 ~2
dynamo.ts
in bandit/src/query-lambda
63 ~300–1k 5 ~15 ~3
109 ~700–2k 2 ~30 ~5
backfill.ts
in bandit/src/scripts
36 under 1k 2 ~15 ~2
dependabot.yml
in .github
30 under 1k 2 ~20 ~2
parse-result.ts
in bandit/src/query-lambda
40 under 1k 1 ~30 ~2
lambda.ts
in super-mode-calculator/src
40 under 1k 1 ~20 ~2
bigquery.ts
in super-mode-calculator/src/lib
35 under 1k 1 ~15 ~3
cloudwatch.ts
in bandit/src/lib/aws
33 under 1k 1 ~15 ~2
14 under 1k 2 ~15 ~1
local.ts
in bandit/src/query-lambda
23 under 1k 1 ~15 ~2
ssm.ts
in bandit/src/query-lambda
23 under 1k 1 ~15 ~2
mjs
5 under 1k 1 ~5 ~1
mjs
eslint.config.mjs
in super-mode-calculator
5 under 1k 1 ~5 ~1
config.ts
in bandit/src/lib/aws
3 under 1k 1 ~15 ~0

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 12)
File# lines# units
dynamo.ts
in super-mode-calculator/src/lib
108 11
dynamo.ts
in bandit/src/query-lambda
63 4
product-catalog.ts
in bandit/src/lib
176 3
superMode.ts
in super-mode-calculator/src
14 2
date.ts
in super-mode-calculator/src/lib
7 2
parse-result.ts
in bandit/src/query-lambda
40 2
109 1
bandit.ts
in cdk/lib
211 1
parse.ts
in super-mode-calculator/src
40 1
lambda.ts
in super-mode-calculator/src
40 1
query-lambda.ts
in bandit/src/query-lambda
128 1
show-bandit-query.ts
in bandit/src/scripts
54 1
Files With Long Lines (Top 4)

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

File# lines# units# long lines
bandit.ts
in cdk/lib
211 1 5
build-query.ts
in super-mode-calculator/src/lib
124 - 4
build-query.ts
in bandit/src/query-lambda
233 - 4
109 1 1
Correlations

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

cdk/eslint.config.mjs x: 2 commits (all time) y: 14 lines of code cdk/lib/bandit.ts x: 41 commits (all time) y: 211 lines of code cdk/lib/super-mode-calculator.ts x: 17 commits (all time) y: 109 lines of code bandit/src/query-lambda/query-lambda.ts x: 46 commits (all time) y: 128 lines of code bandit/src/scripts/backfill.ts x: 10 commits (all time) y: 36 lines of code bandit/src/query-lambda/dynamo.ts x: 25 commits (all time) y: 63 lines of code bandit/src/query-lambda/bigquery.ts x: 27 commits (all time) y: 86 lines of code bandit/src/query-lambda/build-query.ts x: 32 commits (all time) y: 233 lines of code bandit/src/scripts/show-bandit-query.ts x: 6 commits (all time) y: 54 lines of code bandit/src/lib/aws/cloudwatch.ts x: 8 commits (all time) y: 33 lines of code bandit/src/lib/aws/config.ts x: 6 commits (all time) y: 3 lines of code bandit/src/query-lambda/local.ts x: 13 commits (all time) y: 23 lines of code bandit/src/query-lambda/parse-result.ts x: 10 commits (all time) y: 40 lines of code bandit/src/query-lambda/ssm.ts x: 7 commits (all time) y: 23 lines of code bandit/eslint.config.mjs x: 1 commits (all time) y: 5 lines of code super-mode-calculator/src/lambda.ts x: 8 commits (all time) y: 40 lines of code super-mode-calculator/src/lib/bigquery.ts x: 10 commits (all time) y: 35 lines of code bandit/src/lib/product-catalog.ts x: 4 commits (all time) y: 176 lines of code bandit/src/lib/aws/dynamodb.ts x: 2 commits (all time) y: 1 lines of code .github/dependabot.yml x: 4 commits (all time) y: 30 lines of code super-mode-calculator/src/lib/build-query.ts x: 21 commits (all time) y: 124 lines of code super-mode-calculator/src/lib/dynamo.ts x: 8 commits (all time) y: 108 lines of code super-mode-calculator/src/lib/ssm.ts x: 5 commits (all time) y: 25 lines of code bandit/src/lib/models.ts x: 17 commits (all time) y: 24 lines of code super-mode-calculator/src/lib/constants.ts x: 16 commits (all time) y: 13 lines of code super-mode-calculator/src/lib/date.ts x: 5 commits (all time) y: 7 lines of code super-mode-calculator/src/lib/errors.ts x: 5 commits (all time) y: 4 lines of code super-mode-calculator/src/parse.ts x: 5 commits (all time) y: 40 lines of code super-mode-calculator/src/regionSql.ts x: 3 commits (all time) y: 24 lines of code super-mode-calculator/src/superMode.ts x: 4 commits (all time) y: 14 lines of code bandit/src/lib/errors.ts x: 1 commits (all time) y: 20 lines of code
233.0
lines of code
  min: 1.0
  average: 53.09
  25th percentile: 13.5
  median: 30.0
  75th percentile: 74.5
  max: 233.0
0 46.0
commits (all time)
min: 1.0 | average: 11.27 | 25th percentile: 4.0 | median: 7.0 | 75th percentile: 16.5 | max: 46.0

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

cdk/eslint.config.mjs x: 2 contributors (all time) y: 14 lines of code cdk/lib/bandit.ts x: 7 contributors (all time) y: 211 lines of code cdk/lib/super-mode-calculator.ts x: 5 contributors (all time) y: 109 lines of code bandit/src/query-lambda/query-lambda.ts x: 6 contributors (all time) y: 128 lines of code bandit/src/scripts/backfill.ts x: 3 contributors (all time) y: 36 lines of code bandit/src/query-lambda/dynamo.ts x: 5 contributors (all time) y: 63 lines of code bandit/src/query-lambda/bigquery.ts x: 5 contributors (all time) y: 86 lines of code bandit/src/query-lambda/build-query.ts x: 5 contributors (all time) y: 233 lines of code bandit/src/scripts/show-bandit-query.ts x: 2 contributors (all time) y: 54 lines of code bandit/src/lib/aws/cloudwatch.ts x: 3 contributors (all time) y: 33 lines of code bandit/src/lib/aws/config.ts x: 3 contributors (all time) y: 3 lines of code bandit/src/query-lambda/local.ts x: 4 contributors (all time) y: 23 lines of code bandit/src/query-lambda/parse-result.ts x: 5 contributors (all time) y: 40 lines of code bandit/src/query-lambda/ssm.ts x: 5 contributors (all time) y: 23 lines of code bandit/eslint.config.mjs x: 1 contributors (all time) y: 5 lines of code super-mode-calculator/src/lib/bigquery.ts x: 3 contributors (all time) y: 35 lines of code bandit/src/lib/product-catalog.ts x: 2 contributors (all time) y: 176 lines of code bandit/src/lib/aws/dynamodb.ts x: 2 contributors (all time) y: 1 lines of code .github/dependabot.yml x: 4 contributors (all time) y: 30 lines of code super-mode-calculator/src/lib/build-query.ts x: 5 contributors (all time) y: 124 lines of code super-mode-calculator/src/lib/dynamo.ts x: 5 contributors (all time) y: 108 lines of code super-mode-calculator/src/lib/ssm.ts x: 5 contributors (all time) y: 25 lines of code bandit/src/lib/models.ts x: 4 contributors (all time) y: 24 lines of code super-mode-calculator/src/lib/constants.ts x: 3 contributors (all time) y: 13 lines of code super-mode-calculator/src/lib/date.ts x: 4 contributors (all time) y: 7 lines of code super-mode-calculator/src/lib/errors.ts x: 4 contributors (all time) y: 4 lines of code super-mode-calculator/src/parse.ts x: 3 contributors (all time) y: 40 lines of code super-mode-calculator/src/regionSql.ts x: 3 contributors (all time) y: 24 lines of code super-mode-calculator/src/superMode.ts x: 3 contributors (all time) y: 14 lines of code bandit/src/lib/errors.ts x: 1 contributors (all time) y: 20 lines of code
233.0
lines of code
  min: 1.0
  average: 53.09
  25th percentile: 13.5
  median: 30.0
  75th percentile: 74.5
  max: 233.0
0 7.0
contributors (all time)
min: 1.0 | average: 3.64 | 25th percentile: 2.5 | median: 4.0 | 75th percentile: 5.0 | max: 7.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: 14 lines of code cdk/lib/bandit.ts x: 2 commits (90d) y: 211 lines of code cdk/lib/super-mode-calculator.ts x: 2 commits (90d) y: 109 lines of code
211.0
lines of code
  min: 14.0
  average: 111.33
  25th percentile: 14.0
  median: 109.0
  75th percentile: 211.0
  max: 211.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: 2 contributors (90d) y: 14 lines of code cdk/lib/bandit.ts x: 2 contributors (90d) y: 211 lines of code cdk/lib/super-mode-calculator.ts x: 2 contributors (90d) y: 109 lines of code
211.0
lines of code
  min: 14.0
  average: 111.33
  25th percentile: 14.0
  median: 109.0
  75th percentile: 211.0
  max: 211.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...