File Size Overall
  • There are 18 files with 1,113 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)
    • 4 small files (580 lines of code)
    • 14 very small files (533 lines of code)
0% | 0% | 0% | 52% | 47%
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% | 53% | 46%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
packages0% | 0% | 0% | 53% | 46%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 18)
File# lines# units
logEntryProcessing.ts
in packages/app/src
171 8
161 1
cloudwatch.ts
in packages/app/src
147 10
structuredFields.ts
in packages/app/src
101 7
set-log-shipping.ts
in packages/app/src/handlers
83 4
config.ts
in packages/app/src
71 5
ecs.ts
in packages/app/src
65 5
ship-log-entries.ts
in packages/app/src/handlers
65 1
lambda.ts
in packages/app/src
54 3
cloudwatch-logs-retention.ts
in packages/cdk/lib
46 1
s3.ts
in packages/app/src
34 2
set-retention.ts
in packages/app/src/handlers
34 2
kinesis.ts
in packages/app/src
31 1
dependabot.yml
in .github
22 -
model.ts
in packages/app/src
15 -
6 -
build-info.ts
in packages/app/src
4 -
index.ts
in packages/app/src/handlers
3 -
Large Files That Change Often (Top 1)
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
dependabot.yml
in .github
22 under 1k 1 ~7 ~3

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 13)
File# lines# units
cloudwatch.ts
in packages/app/src
147 10
logEntryProcessing.ts
in packages/app/src
171 8
structuredFields.ts
in packages/app/src
101 7
ecs.ts
in packages/app/src
65 5
config.ts
in packages/app/src
71 5
set-log-shipping.ts
in packages/app/src/handlers
83 4
lambda.ts
in packages/app/src
54 3
s3.ts
in packages/app/src
34 2
set-retention.ts
in packages/app/src/handlers
34 2
161 1
cloudwatch-logs-retention.ts
in packages/cdk/lib
46 1
kinesis.ts
in packages/app/src
31 1
ship-log-entries.ts
in packages/app/src/handlers
65 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines
Correlations

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

.github/dependabot.yml x: 9 commits (all time) y: 22 lines of code packages/cdk/lib/cloudwatch-logs-management.ts x: 21 commits (all time) y: 161 lines of code packages/cdk/lib/cloudwatch-logs-retention.ts x: 8 commits (all time) y: 46 lines of code packages/app/src/config.ts x: 12 commits (all time) y: 71 lines of code packages/app/src/handlers/set-log-shipping.ts x: 7 commits (all time) y: 83 lines of code packages/app/src/handlers/set-retention.ts x: 7 commits (all time) y: 34 lines of code packages/app/src/handlers/ship-log-entries.ts x: 9 commits (all time) y: 65 lines of code packages/app/src/structuredFields.ts x: 5 commits (all time) y: 101 lines of code packages/cdk/lib/cloudwatch-logs-management-props.ts x: 2 commits (all time) y: 6 lines of code packages/app/src/cloudwatch.ts x: 4 commits (all time) y: 147 lines of code packages/app/src/ecs.ts x: 4 commits (all time) y: 65 lines of code packages/app/src/kinesis.ts x: 4 commits (all time) y: 31 lines of code packages/app/src/lambda.ts x: 4 commits (all time) y: 54 lines of code packages/app/src/handlers/index.ts x: 2 commits (all time) y: 3 lines of code packages/app/src/build-info.ts x: 2 commits (all time) y: 4 lines of code packages/app/src/logEntryProcessing.ts x: 3 commits (all time) y: 171 lines of code packages/app/src/model.ts x: 2 commits (all time) y: 15 lines of code
171.0
lines of code
  min: 3.0
  average: 61.83
  25th percentile: 20.25
  median: 50.0
  75th percentile: 87.5
  max: 171.0
0 21.0
commits (all time)
min: 2.0 | average: 6.22 | 25th percentile: 2.75 | median: 4.5 | 75th percentile: 8.25 | max: 21.0

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

.github/dependabot.yml x: 3 contributors (all time) y: 22 lines of code packages/cdk/lib/cloudwatch-logs-management.ts x: 5 contributors (all time) y: 161 lines of code packages/cdk/lib/cloudwatch-logs-retention.ts x: 3 contributors (all time) y: 46 lines of code packages/app/src/config.ts x: 2 contributors (all time) y: 71 lines of code packages/app/src/handlers/set-log-shipping.ts x: 4 contributors (all time) y: 83 lines of code packages/app/src/handlers/set-retention.ts x: 4 contributors (all time) y: 34 lines of code packages/app/src/handlers/ship-log-entries.ts x: 4 contributors (all time) y: 65 lines of code packages/app/src/s3.ts x: 2 contributors (all time) y: 34 lines of code packages/app/src/structuredFields.ts x: 2 contributors (all time) y: 101 lines of code packages/cdk/lib/cloudwatch-logs-management-props.ts x: 1 contributors (all time) y: 6 lines of code packages/app/src/cloudwatch.ts x: 2 contributors (all time) y: 147 lines of code packages/app/src/ecs.ts x: 2 contributors (all time) y: 65 lines of code packages/app/src/kinesis.ts x: 2 contributors (all time) y: 31 lines of code packages/app/src/lambda.ts x: 2 contributors (all time) y: 54 lines of code packages/app/src/handlers/index.ts x: 1 contributors (all time) y: 3 lines of code packages/app/src/build-info.ts x: 1 contributors (all time) y: 4 lines of code packages/app/src/logEntryProcessing.ts x: 1 contributors (all time) y: 171 lines of code packages/app/src/model.ts x: 1 contributors (all time) y: 15 lines of code
171.0
lines of code
  min: 3.0
  average: 61.83
  25th percentile: 20.25
  median: 50.0
  75th percentile: 87.5
  max: 171.0
0 5.0
contributors (all time)
min: 1.0 | average: 2.33 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.25 | 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...