File Size Overall
  • There are 16 files with 847 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)
    • 2 small files (336 lines of code)
    • 14 very small files (511 lines of code)
0% | 0% | 0% | 39% | 60%
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% | 89% | 10%
scala0% | 0% | 0% | 22% | 77%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
ROOT0% | 0% | 0% | 91% | 8%
src0% | 0% | 0% | 22% | 77%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 16)
File# lines# units
cfn.yaml
in root
195 -
RCS.scala
in src/main/scala/com/gu/rcspollerlambda/models
141 5
HTTP.scala
in src/main/scala/com/gu/rcspollerlambda/services
92 2
MetadataService.scala
in src/main/scala/com/gu/rcspollerlambda/services
68 3
Lambda.scala
in src/main/scala/com/gu/rcspollerlambda
63 3
Config.scala
in src/main/scala/com/gu/rcspollerlambda/config
54 -
S3.scala
in src/main/scala/com/gu/rcspollerlambda/services
45 1
DynamoDB.scala
in src/main/scala/com/gu/rcspollerlambda/services
36 1
CloudWatch.scala
in src/main/scala/com/gu/rcspollerlambda/services
34 1
Error.scala
in src/main/scala/com/gu/rcspollerlambda/models
28 -
XMLOps.scala
in src/main/scala/com/gu/rcspollerlambda/services
25 2
Switches.scala
in src/main/scala/com/gu/rcspollerlambda/config
24 2
17 -
RCSService.scala
in src/main/scala/com/gu/rcspollerlambda/services
14 1
dependabot.yml
in .github
6 -
Logging.scala
in src/main/scala/com/gu/rcspollerlambda/services
5 -
Large Files That Change Often (Top 15)
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
cfn.yaml
in root
195 ~1k–3k 2 ~7 ~30
Config.scala
in src/main/scala/com/gu/rcspollerlambda/config
54 ~300–1k 7 ~15 ~3
RCS.scala
in src/main/scala/com/gu/rcspollerlambda/models
141 ~700–2k 2 ~15 ~7
Lambda.scala
in src/main/scala/com/gu/rcspollerlambda
63 ~300–1k 4 ~10 ~7
HTTP.scala
in src/main/scala/com/gu/rcspollerlambda/services
92 ~500–1.5k 2 ~10 ~7
S3.scala
in src/main/scala/com/gu/rcspollerlambda/services
45 under 1k 4 ~10 ~5
CloudWatch.scala
in src/main/scala/com/gu/rcspollerlambda/services
34 under 1k 4 ~15 ~2
MetadataService.scala
in src/main/scala/com/gu/rcspollerlambda/services
68 ~300–1k 2 ~20 ~3
Error.scala
in src/main/scala/com/gu/rcspollerlambda/models
28 under 1k 3 ~7 ~3
Switches.scala
in src/main/scala/com/gu/rcspollerlambda/config
24 under 1k 3 ~10 ~3
DynamoDB.scala
in src/main/scala/com/gu/rcspollerlambda/services
36 under 1k 2 ~10 ~3
XMLOps.scala
in src/main/scala/com/gu/rcspollerlambda/services
25 under 1k 2 ~15 ~2
17 under 1k 2 ~2 ~10
RCSService.scala
in src/main/scala/com/gu/rcspollerlambda/services
14 under 1k 2 ~10 ~2
dependabot.yml
in .github
6 under 1k 2 ~10 ~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 10)
File# lines# units
RCS.scala
in src/main/scala/com/gu/rcspollerlambda/models
141 5
Lambda.scala
in src/main/scala/com/gu/rcspollerlambda
63 3
MetadataService.scala
in src/main/scala/com/gu/rcspollerlambda/services
68 3
Switches.scala
in src/main/scala/com/gu/rcspollerlambda/config
24 2
XMLOps.scala
in src/main/scala/com/gu/rcspollerlambda/services
25 2
HTTP.scala
in src/main/scala/com/gu/rcspollerlambda/services
92 2
CloudWatch.scala
in src/main/scala/com/gu/rcspollerlambda/services
34 1
DynamoDB.scala
in src/main/scala/com/gu/rcspollerlambda/services
36 1
RCSService.scala
in src/main/scala/com/gu/rcspollerlambda/services
14 1
S3.scala
in src/main/scala/com/gu/rcspollerlambda/services
45 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): 16 points

.github/dependabot.yml x: 2 commits (all time) y: 6 lines of code src/main/scala/com/gu/rcspollerlambda/config/Config.scala x: 41 commits (all time) y: 54 lines of code src/main/scala/com/gu/rcspollerlambda/services/CloudWatch.scala x: 12 commits (all time) y: 34 lines of code src/main/scala/com/gu/rcspollerlambda/services/S3.scala x: 18 commits (all time) y: 45 lines of code cfn.yaml x: 43 commits (all time) y: 195 lines of code riff-raff.yaml x: 4 commits (all time) y: 17 lines of code src/main/scala/com/gu/rcspollerlambda/Lambda.scala x: 56 commits (all time) y: 63 lines of code src/main/scala/com/gu/rcspollerlambda/config/Switches.scala x: 14 commits (all time) y: 24 lines of code src/main/scala/com/gu/rcspollerlambda/models/Error.scala x: 18 commits (all time) y: 28 lines of code src/main/scala/com/gu/rcspollerlambda/models/RCS.scala x: 37 commits (all time) y: 141 lines of code src/main/scala/com/gu/rcspollerlambda/services/DynamoDB.scala x: 18 commits (all time) y: 36 lines of code src/main/scala/com/gu/rcspollerlambda/services/HTTP.scala x: 36 commits (all time) y: 92 lines of code src/main/scala/com/gu/rcspollerlambda/services/MetadataService.scala x: 12 commits (all time) y: 68 lines of code src/main/scala/com/gu/rcspollerlambda/services/RCSService.scala x: 4 commits (all time) y: 14 lines of code src/main/scala/com/gu/rcspollerlambda/services/XMLOps.scala x: 16 commits (all time) y: 25 lines of code src/main/scala/com/gu/rcspollerlambda/services/Logging.scala x: 1 commits (all time) y: 5 lines of code
195.0
lines of code
  min: 5.0
  average: 52.94
  25th percentile: 18.75
  median: 35.0
  75th percentile: 66.75
  max: 195.0
0 56.0
commits (all time)
min: 1.0 | average: 20.75 | 25th percentile: 6.0 | median: 17.0 | 75th percentile: 36.75 | max: 56.0

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

.github/dependabot.yml x: 2 contributors (all time) y: 6 lines of code src/main/scala/com/gu/rcspollerlambda/config/Config.scala x: 8 contributors (all time) y: 54 lines of code src/main/scala/com/gu/rcspollerlambda/services/CloudWatch.scala x: 4 contributors (all time) y: 34 lines of code src/main/scala/com/gu/rcspollerlambda/services/S3.scala x: 5 contributors (all time) y: 45 lines of code cfn.yaml x: 9 contributors (all time) y: 195 lines of code riff-raff.yaml x: 3 contributors (all time) y: 17 lines of code src/main/scala/com/gu/rcspollerlambda/Lambda.scala x: 7 contributors (all time) y: 63 lines of code src/main/scala/com/gu/rcspollerlambda/config/Switches.scala x: 4 contributors (all time) y: 24 lines of code src/main/scala/com/gu/rcspollerlambda/models/Error.scala x: 7 contributors (all time) y: 28 lines of code src/main/scala/com/gu/rcspollerlambda/models/RCS.scala x: 7 contributors (all time) y: 141 lines of code src/main/scala/com/gu/rcspollerlambda/services/DynamoDB.scala x: 5 contributors (all time) y: 36 lines of code src/main/scala/com/gu/rcspollerlambda/services/HTTP.scala x: 8 contributors (all time) y: 92 lines of code src/main/scala/com/gu/rcspollerlambda/services/MetadataService.scala x: 6 contributors (all time) y: 68 lines of code src/main/scala/com/gu/rcspollerlambda/services/RCSService.scala x: 3 contributors (all time) y: 14 lines of code src/main/scala/com/gu/rcspollerlambda/services/XMLOps.scala x: 4 contributors (all time) y: 25 lines of code src/main/scala/com/gu/rcspollerlambda/services/Logging.scala x: 1 contributors (all time) y: 5 lines of code
195.0
lines of code
  min: 5.0
  average: 52.94
  25th percentile: 18.75
  median: 35.0
  75th percentile: 66.75
  max: 195.0
0 9.0
contributors (all time)
min: 1.0 | average: 5.19 | 25th percentile: 3.25 | median: 5.0 | 75th percentile: 7.0 | max: 9.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...