File Size Overall
  • There are 13 files with 467 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 (105 lines of code)
    • 12 very small files (362 lines of code)
0% | 0% | 0% | 22% | 77%
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
yaml0% | 0% | 0% | 66% | 33%
scala0% | 0% | 0% | 0% | 100%
ts0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
backup-parameter-store0% | 0% | 0% | 39% | 60%
facia-purger0% | 0% | 0% | 0% | 100%
cdk0% | 0% | 0% | 0% | 100%
Longest Files (Top 13)
File# lines# units
cfn.yaml
in backup-parameter-store
105 -
facia-purger.ts
in cdk/lib
74 1
wrappers.scala
in backup-parameter-store/src/main/scala/com/gu/aws
68 3
Lambda.scala
in facia-purger/src/main/scala/com/gu/purge/facia
47 3
riff-raff.yaml
in facia-purger
31 -
BackupService.scala
in backup-parameter-store/src/main/scala/com/gu/backupparameterstore
31 3
Lambda.scala
in backup-parameter-store/src/main/scala/com/gu/backupparameterstore
25 3
riff-raff.yaml
in backup-parameter-store
22 -
log4j2.xml
in facia-purger/src/main/resources
16 -
FrontsS3PathParser.scala
in facia-purger/src/main/scala/com/gu/purge/facia
15 2
Config.scala
in facia-purger/src/main/scala/com/gu/purge/facia
14 1
logback.xml
in backup-parameter-store/src/main/resources
14 -
Logging.scala
in facia-purger/src/main/scala/com/gu/purge/facia
5 -
Large Files That Change Often (Top 2)
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
wrappers.scala
in backup-parameter-store/src/main/scala/com/gu/aws
68 ~300–1k 3 ~30 ~2
logback.xml
in backup-parameter-store/src/main/resources
14 under 1k 2 ~15 ~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 7)
File# lines# units
Lambda.scala
in facia-purger/src/main/scala/com/gu/purge/facia
47 3
BackupService.scala
in backup-parameter-store/src/main/scala/com/gu/backupparameterstore
31 3
Lambda.scala
in backup-parameter-store/src/main/scala/com/gu/backupparameterstore
25 3
wrappers.scala
in backup-parameter-store/src/main/scala/com/gu/aws
68 3
FrontsS3PathParser.scala
in facia-purger/src/main/scala/com/gu/purge/facia
15 2
facia-purger.ts
in cdk/lib
74 1
Config.scala
in facia-purger/src/main/scala/com/gu/purge/facia
14 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
facia-purger.ts
in cdk/lib
74 1 1
Lambda.scala
in facia-purger/src/main/scala/com/gu/purge/facia
47 3 1
Correlations

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

backup-parameter-store/src/main/resources/logback.xml x: 2 commits (all time) y: 14 lines of code backup-parameter-store/src/main/scala/com/gu/aws/wrappers.scala x: 8 commits (all time) y: 68 lines of code backup-parameter-store/riff-raff.yaml x: 4 commits (all time) y: 22 lines of code backup-parameter-store/cfn.yaml x: 5 commits (all time) y: 105 lines of code backup-parameter-store/src/main/scala/com/gu/backupparameterstore/Lambda.scala x: 6 commits (all time) y: 25 lines of code facia-purger/src/main/scala/com/gu/purge/facia/Lambda.scala x: 38 commits (all time) y: 47 lines of code facia-purger/riff-raff.yaml x: 10 commits (all time) y: 31 lines of code backup-parameter-store/src/main/scala/com/gu/backupparameterstore/BackupService.scala x: 4 commits (all time) y: 31 lines of code cdk/lib/facia-purger.ts x: 9 commits (all time) y: 74 lines of code facia-purger/src/main/resources/log4j2.xml x: 1 commits (all time) y: 16 lines of code facia-purger/src/main/scala/com/gu/purge/facia/Logging.scala x: 3 commits (all time) y: 5 lines of code facia-purger/src/main/scala/com/gu/purge/facia/Config.scala x: 16 commits (all time) y: 14 lines of code facia-purger/src/main/scala/com/gu/purge/facia/FrontsS3PathParser.scala x: 14 commits (all time) y: 15 lines of code
105.0
lines of code
  min: 5.0
  average: 35.92
  25th percentile: 14.5
  median: 25.0
  75th percentile: 57.5
  max: 105.0
0 38.0
commits (all time)
min: 1.0 | average: 9.23 | 25th percentile: 3.5 | median: 6.0 | 75th percentile: 12.0 | max: 38.0

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

backup-parameter-store/src/main/resources/logback.xml x: 1 contributors (all time) y: 14 lines of code backup-parameter-store/src/main/scala/com/gu/aws/wrappers.scala x: 3 contributors (all time) y: 68 lines of code backup-parameter-store/riff-raff.yaml x: 2 contributors (all time) y: 22 lines of code backup-parameter-store/cfn.yaml x: 3 contributors (all time) y: 105 lines of code backup-parameter-store/src/main/scala/com/gu/backupparameterstore/Lambda.scala x: 3 contributors (all time) y: 25 lines of code facia-purger/src/main/scala/com/gu/purge/facia/Lambda.scala x: 8 contributors (all time) y: 47 lines of code facia-purger/riff-raff.yaml x: 5 contributors (all time) y: 31 lines of code backup-parameter-store/src/main/scala/com/gu/backupparameterstore/BackupService.scala x: 2 contributors (all time) y: 31 lines of code cdk/lib/facia-purger.ts x: 3 contributors (all time) y: 74 lines of code facia-purger/src/main/resources/log4j2.xml x: 1 contributors (all time) y: 16 lines of code facia-purger/src/main/scala/com/gu/purge/facia/Logging.scala x: 3 contributors (all time) y: 5 lines of code facia-purger/src/main/scala/com/gu/purge/facia/Config.scala x: 4 contributors (all time) y: 14 lines of code facia-purger/src/main/scala/com/gu/purge/facia/FrontsS3PathParser.scala x: 4 contributors (all time) y: 15 lines of code
105.0
lines of code
  min: 5.0
  average: 35.92
  25th percentile: 14.5
  median: 25.0
  75th percentile: 57.5
  max: 105.0
0 8.0
contributors (all time)
min: 1.0 | average: 3.23 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 8.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...