File Size Overall
  • There are 19 files with 1,463 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 3 medium size files (829 lines of code)
    • 2 small files (275 lines of code)
    • 14 very small files (359 lines of code)
0% | 0% | 56% | 18% | 24%
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% | 61% | 20% | 18%
yaml0% | 0% | 0% | 0% | 100%
js0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
src0% | 0% | 52% | 24% | 22%
cdk0% | 0% | 100% | 0% | 0%
ROOT0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 19)
File# lines# units
transforms.ts
in src/libs
302 23
zuora.ts
in src/libs
282 10
245 1
main.ts
in src
145 5
salesforce.ts
in src/libs
130 5
cloudwatch.ts
in src/utils
61 2
identity.ts
in src/libs
60 3
local.ts
in src
54 1
48 -
s3.ts
in src/libs
42 4
dependabot.yml
in .github
32 -
31 -
ssm.ts
in src/utils
15 1
index.ts
in src
5 -
config.ts
in src/utils
4 -
3 -
sleep.ts
in src/utils
2 -
1 -
option.ts
in src/utils
1 -
Large Files That Change Often (Top 4)
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
245 ~1.5k–5k 5 ~20 ~10
transforms.ts
in src/libs
302 ~2k–5k 3 ~20 ~15
cloudwatch.ts
in src/utils
61 ~300–1k 2 ~70 ~1
dependabot.yml
in .github
32 under 1k 2 ~20 ~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 10)
File# lines# units
transforms.ts
in src/libs
302 23
zuora.ts
in src/libs
282 10
main.ts
in src
145 5
salesforce.ts
in src/libs
130 5
s3.ts
in src/libs
42 4
identity.ts
in src/libs
60 3
cloudwatch.ts
in src/utils
61 2
245 1
ssm.ts
in src/utils
15 1
local.ts
in src
54 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
245 1 7
transforms.ts
in src/libs
302 23 4
salesforce.ts
in src/libs
130 5 1
Correlations

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

cdk/lib/national-delivery-fulfilment.ts x: 38 commits (all time) y: 245 lines of code .github/dependabot.yml x: 4 commits (all time) y: 32 lines of code src/libs/transforms.ts x: 52 commits (all time) y: 302 lines of code src/utils/cloudwatch.ts x: 2 commits (all time) y: 61 lines of code src/libs/zuora.ts x: 70 commits (all time) y: 282 lines of code riff-raff.yaml x: 3 commits (all time) y: 48 lines of code src/index.ts x: 12 commits (all time) y: 5 lines of code src/libs/identity.ts x: 8 commits (all time) y: 60 lines of code src/libs/salesforce.ts x: 6 commits (all time) y: 130 lines of code src/main.ts x: 89 commits (all time) y: 145 lines of code eslint.config.js x: 2 commits (all time) y: 31 lines of code src/local.ts x: 15 commits (all time) y: 54 lines of code src/utils/ssm.ts x: 8 commits (all time) y: 15 lines of code babel.config.js x: 4 commits (all time) y: 3 lines of code commitlint.config.js x: 2 commits (all time) y: 1 lines of code src/libs/s3.ts x: 6 commits (all time) y: 42 lines of code src/utils/config.ts x: 4 commits (all time) y: 4 lines of code src/utils/option.ts x: 3 commits (all time) y: 1 lines of code src/utils/sleep.ts x: 6 commits (all time) y: 2 lines of code
302.0
lines of code
  min: 1.0
  average: 77.0
  25th percentile: 4.0
  median: 42.0
  75th percentile: 130.0
  max: 302.0
0 89.0
commits (all time)
min: 2.0 | average: 17.58 | 25th percentile: 3.0 | median: 6.0 | 75th percentile: 15.0 | max: 89.0

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

cdk/lib/national-delivery-fulfilment.ts x: 5 contributors (all time) y: 245 lines of code .github/dependabot.yml x: 1 contributors (all time) y: 32 lines of code src/libs/transforms.ts x: 4 contributors (all time) y: 302 lines of code src/utils/cloudwatch.ts x: 2 contributors (all time) y: 61 lines of code src/libs/zuora.ts x: 4 contributors (all time) y: 282 lines of code riff-raff.yaml x: 3 contributors (all time) y: 48 lines of code src/index.ts x: 2 contributors (all time) y: 5 lines of code src/libs/identity.ts x: 2 contributors (all time) y: 60 lines of code src/libs/salesforce.ts x: 2 contributors (all time) y: 130 lines of code src/main.ts x: 3 contributors (all time) y: 145 lines of code src/local.ts x: 2 contributors (all time) y: 54 lines of code src/utils/ssm.ts x: 2 contributors (all time) y: 15 lines of code babel.config.js x: 2 contributors (all time) y: 3 lines of code commitlint.config.js x: 1 contributors (all time) y: 1 lines of code src/libs/s3.ts x: 2 contributors (all time) y: 42 lines of code src/utils/config.ts x: 2 contributors (all time) y: 4 lines of code src/utils/option.ts x: 2 contributors (all time) y: 1 lines of code src/utils/sleep.ts x: 2 contributors (all time) y: 2 lines of code
302.0
lines of code
  min: 1.0
  average: 77.0
  25th percentile: 4.0
  median: 42.0
  75th percentile: 130.0
  max: 302.0
0 5.0
contributors (all time)
min: 1.0 | average: 2.32 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 3.0 | max: 5.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...