File Size Overall
  • There are 27 files with 1,264 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)
    • 3 small files (387 lines of code)
    • 24 very small files (877 lines of code)
0% | 0% | 0% | 30% | 69%
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% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
payment-failure0% | 0% | 0% | 30% | 69%
formstack-consents0% | 0% | 0% | 29% | 70%
eventbrite-consents0% | 0% | 0% | 33% | 66%
Longest Files (Top 27)
File# lines# units
cloud-formation.yaml
in payment-failure
176 -
cloud-formation.yaml
in formstack-consents
106 -
cloud-formation.yaml
in eventbrite-consents
105 -
IdentityClient.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
94 6
Lambda.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
78 7
IdentityClient.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
62 4
Newsletter.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
60 -
BrazeEmailService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
57 5
Lambda.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
54 3
ConsentsService.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/services
44 2
SqsService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
40 3
IdentityClient.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients
40 2
Model.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
39 1
LambdaService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
39 4
AutoSignInTest.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest
38 2
EventbriteClient.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients
36 1
BrazeClient.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
35 1
EventbriteModels.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/models
24 -
LambdaConfig.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/config
21 -
Lambda.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents
19 2
VariantGenerator.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest
18 1
riff-raff.yaml
in eventbrite-consents
17 -
riff-raff.yaml
in payment-failure
15 -
riff-raff.yaml
in formstack-consents
15 -
logback.xml
in eventbrite-consents/src/main/resources
11 -
logback.xml
in formstack-consents/src/main/resources
11 -
logback.xml
in payment-failure/src/main/resources
10 -
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
Lambda.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
78 ~500–1.5k 1 ~15 ~5
SqsService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
40 under 1k 1 ~15 ~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 15)
File# lines# units
Lambda.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
78 7
IdentityClient.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
94 6
BrazeEmailService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
57 5
LambdaService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
39 4
IdentityClient.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
62 4
Lambda.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
54 3
SqsService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
40 3
AutoSignInTest.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest
38 2
IdentityClient.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients
40 2
Lambda.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents
19 2
ConsentsService.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/services
44 2
Model.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
39 1
BrazeClient.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
35 1
VariantGenerator.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest
18 1
EventbriteClient.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients
36 1
Files With Long Lines (Top 14)

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

File# lines# units# long lines
IdentityClient.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
94 6 4
cloud-formation.yaml
in payment-failure
176 - 3
Model.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
39 1 2
IdentityClient.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
62 4 2
LambdaConfig.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/config
21 - 2
ConsentsService.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/services
44 2 2
logback.xml
in payment-failure/src/main/resources
10 - 1
BrazeEmailService.scala
in payment-failure/src/main/scala/com/gu/identity/paymentfailure
57 5 1
logback.xml
in eventbrite-consents/src/main/resources
11 - 1
EventbriteClient.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients
36 1 1
EventbriteModels.scala
in eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/models
24 - 1
cloud-formation.yaml
in formstack-consents
106 - 1
logback.xml
in formstack-consents/src/main/resources
11 - 1
Lambda.scala
in formstack-consents/src/main/scala/com/gu/identity/formstackconsents
78 7 1
Correlations

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

formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Lambda.scala x: 27 commits (all time) y: 78 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/SqsService.scala x: 10 commits (all time) y: 40 lines of code formstack-consents/src/main/scala/com/gu/identity/formstackconsents/IdentityClient.scala x: 22 commits (all time) y: 94 lines of code formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Newsletter.scala x: 15 commits (all time) y: 60 lines of code eventbrite-consents/cloud-formation.yaml x: 18 commits (all time) y: 105 lines of code formstack-consents/cloud-formation.yaml x: 20 commits (all time) y: 106 lines of code payment-failure/cloud-formation.yaml x: 49 commits (all time) y: 176 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients/EventbriteClient.scala x: 8 commits (all time) y: 36 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients/IdentityClient.scala x: 7 commits (all time) y: 40 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/models/EventbriteModels.scala x: 5 commits (all time) y: 24 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/config/LambdaConfig.scala x: 7 commits (all time) y: 21 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/services/ConsentsService.scala x: 9 commits (all time) y: 44 lines of code eventbrite-consents/riff-raff.yaml x: 4 commits (all time) y: 17 lines of code eventbrite-consents/src/main/resources/logback.xml x: 3 commits (all time) y: 11 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/Lambda.scala x: 5 commits (all time) y: 19 lines of code formstack-consents/riff-raff.yaml x: 2 commits (all time) y: 15 lines of code formstack-consents/src/main/resources/logback.xml x: 4 commits (all time) y: 11 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/BrazeEmailService.scala x: 28 commits (all time) y: 57 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/LambdaService.scala x: 21 commits (all time) y: 39 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/Model.scala x: 16 commits (all time) y: 39 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/Lambda.scala x: 55 commits (all time) y: 54 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/IdentityClient.scala x: 19 commits (all time) y: 62 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest/AutoSignInTest.scala x: 25 commits (all time) y: 38 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest/VariantGenerator.scala x: 11 commits (all time) y: 18 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/BrazeClient.scala x: 20 commits (all time) y: 35 lines of code payment-failure/src/main/resources/logback.xml x: 2 commits (all time) y: 10 lines of code payment-failure/riff-raff.yaml x: 5 commits (all time) y: 15 lines of code
176.0
lines of code
  min: 10.0
  average: 46.81
  25th percentile: 18.0
  median: 39.0
  75th percentile: 60.0
  max: 176.0
0 55.0
commits (all time)
min: 2.0 | average: 15.44 | 25th percentile: 5.0 | median: 11.0 | 75th percentile: 21.0 | max: 55.0

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

formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Lambda.scala x: 4 contributors (all time) y: 78 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/SqsService.scala x: 4 contributors (all time) y: 40 lines of code formstack-consents/src/main/scala/com/gu/identity/formstackconsents/IdentityClient.scala x: 6 contributors (all time) y: 94 lines of code formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Newsletter.scala x: 6 contributors (all time) y: 60 lines of code eventbrite-consents/cloud-formation.yaml x: 4 contributors (all time) y: 105 lines of code formstack-consents/cloud-formation.yaml x: 5 contributors (all time) y: 106 lines of code payment-failure/cloud-formation.yaml x: 6 contributors (all time) y: 176 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/clients/EventbriteClient.scala x: 4 contributors (all time) y: 36 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/models/EventbriteModels.scala x: 2 contributors (all time) y: 24 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/config/LambdaConfig.scala x: 2 contributors (all time) y: 21 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/services/ConsentsService.scala x: 2 contributors (all time) y: 44 lines of code eventbrite-consents/riff-raff.yaml x: 2 contributors (all time) y: 17 lines of code eventbrite-consents/src/main/resources/logback.xml x: 2 contributors (all time) y: 11 lines of code eventbrite-consents/src/main/scala/com/gu/identity/eventbriteconsents/Lambda.scala x: 2 contributors (all time) y: 19 lines of code formstack-consents/riff-raff.yaml x: 2 contributors (all time) y: 15 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/BrazeEmailService.scala x: 3 contributors (all time) y: 57 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/LambdaService.scala x: 1 contributors (all time) y: 39 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/Model.scala x: 3 contributors (all time) y: 39 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/Lambda.scala x: 5 contributors (all time) y: 54 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/IdentityClient.scala x: 5 contributors (all time) y: 62 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest/AutoSignInTest.scala x: 3 contributors (all time) y: 38 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/abtest/VariantGenerator.scala x: 3 contributors (all time) y: 18 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/BrazeClient.scala x: 3 contributors (all time) y: 35 lines of code payment-failure/src/main/resources/logback.xml x: 1 contributors (all time) y: 10 lines of code payment-failure/riff-raff.yaml x: 1 contributors (all time) y: 15 lines of code
176.0
lines of code
  min: 10.0
  average: 46.81
  25th percentile: 18.0
  median: 39.0
  75th percentile: 60.0
  max: 176.0
0 6.0
contributors (all time)
min: 1.0 | average: 3.22 | 25th percentile: 2.0 | median: 3.0 | 75th percentile: 4.0 | max: 6.0

File Size vs. Commits (30 days): 1 points

formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Lambda.scala x: 1 commits (30d) y: 78 lines of code
78.0
lines of code
  min: 78.0
  average: 78.0
  25th percentile: 78.0
  median: 78.0
  75th percentile: 78.0
  max: 78.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (30 days): 1 points

formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Lambda.scala x: 1 contributors (30d) y: 78 lines of code
78.0
lines of code
  min: 78.0
  average: 78.0
  25th percentile: 78.0
  median: 78.0
  75th percentile: 78.0
  max: 78.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 2 points

formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Lambda.scala x: 1 commits (90d) y: 78 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/SqsService.scala x: 1 commits (90d) y: 40 lines of code
78.0
lines of code
  min: 40.0
  average: 59.0
  25th percentile: 40.0
  median: 59.0
  75th percentile: 78.0
  max: 78.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 2 points

formstack-consents/src/main/scala/com/gu/identity/formstackconsents/Lambda.scala x: 1 contributors (90d) y: 78 lines of code payment-failure/src/main/scala/com/gu/identity/paymentfailure/SqsService.scala x: 1 contributors (90d) y: 40 lines of code
78.0
lines of code
  min: 40.0
  average: 59.0
  25th percentile: 40.0
  median: 59.0
  75th percentile: 78.0
  max: 78.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.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...