File Size Overall
  • There are 10 files with 304 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)
    • 0 small files (0 lines of code)
    • 10 very small files (304 lines of code)
0% | 0% | 0% | 0% | 100%
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
scala0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
core0% | 0% | 0% | 0% | 100%
aws-parameterstore0% | 0% | 0% | 0% | 100%
play0% | 0% | 0% | 0% | 100%
secret-generator0% | 0% | 0% | 0% | 100%
Longest Files (Top 10)
File# lines# units
DualSecretTransition.scala
in core/src/main/scala/com/gu/play/secretrotation
75 2
71 2
Lambda.scala
in aws-parameterstore/lambda
50 2
SecretSupplier.scala
in aws-parameterstore/secret-supplier
28 1
SnapshotProvider.scala
in core/src/main/scala/com/gu/play/secretrotation
23 2
Phase.scala
in core/src/main/scala/com/gu/play/secretrotation
22 1
TransitionTiming.scala
in core/src/main/scala/com/gu/play/secretrotation
10 -
SecretGenerator.scala
in secret-generator/src/main/scala/com/gu/play/secretrotation
10 -
AwsSdkV2.scala
in aws-parameterstore/secret-supplier/aws-sdk-v2
8 -
MinimalAwsSdkWrapper.scala
in aws-parameterstore/secret-supplier
7 -
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 aws-parameterstore/lambda
50 under 1k 2 ~50 ~1
SecretSupplier.scala
in aws-parameterstore/secret-supplier
28 under 1k 2 ~15 ~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 6)
File# lines# units
DualSecretTransition.scala
in core/src/main/scala/com/gu/play/secretrotation
75 2
SnapshotProvider.scala
in core/src/main/scala/com/gu/play/secretrotation
23 2
71 2
Lambda.scala
in aws-parameterstore/lambda
50 2
Phase.scala
in core/src/main/scala/com/gu/play/secretrotation
22 1
SecretSupplier.scala
in aws-parameterstore/secret-supplier
28 1
Files With Long Lines (Top 3)

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

File# lines# units# long lines
71 2 2
DualSecretTransition.scala
in core/src/main/scala/com/gu/play/secretrotation
75 2 1
Lambda.scala
in aws-parameterstore/lambda
50 2 1
Correlations

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

aws-parameterstore/lambda/Lambda.scala x: 4 commits (all time) y: 50 lines of code aws-parameterstore/secret-supplier/SecretSupplier.scala x: 6 commits (all time) y: 28 lines of code play/play-v29/RotatingSecretComponents.scala x: 10 commits (all time) y: 71 lines of code core/src/main/scala/com/gu/play/secretrotation/SnapshotProvider.scala x: 10 commits (all time) y: 23 lines of code core/src/main/scala/com/gu/play/secretrotation/DualSecretTransition.scala x: 10 commits (all time) y: 75 lines of code aws-parameterstore/secret-supplier/aws-sdk-v2/AwsSdkV2.scala x: 6 commits (all time) y: 8 lines of code core/src/main/scala/com/gu/play/secretrotation/Phase.scala x: 8 commits (all time) y: 22 lines of code aws-parameterstore/secret-supplier/MinimalAwsSdkWrapper.scala x: 4 commits (all time) y: 7 lines of code core/src/main/scala/com/gu/play/secretrotation/TransitionTiming.scala x: 3 commits (all time) y: 10 lines of code secret-generator/src/main/scala/com/gu/play/secretrotation/SecretGenerator.scala x: 1 commits (all time) y: 10 lines of code
75.0
lines of code
  min: 7.0
  average: 30.4
  25th percentile: 9.5
  median: 22.5
  75th percentile: 55.25
  max: 75.0
0 10.0
commits (all time)
min: 1.0 | average: 6.2 | 25th percentile: 3.75 | median: 6.0 | 75th percentile: 10.0 | max: 10.0

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

aws-parameterstore/lambda/Lambda.scala x: 2 contributors (all time) y: 50 lines of code aws-parameterstore/secret-supplier/SecretSupplier.scala x: 2 contributors (all time) y: 28 lines of code play/play-v29/RotatingSecretComponents.scala x: 2 contributors (all time) y: 71 lines of code core/src/main/scala/com/gu/play/secretrotation/SnapshotProvider.scala x: 1 contributors (all time) y: 23 lines of code core/src/main/scala/com/gu/play/secretrotation/DualSecretTransition.scala x: 1 contributors (all time) y: 75 lines of code aws-parameterstore/secret-supplier/aws-sdk-v2/AwsSdkV2.scala x: 1 contributors (all time) y: 8 lines of code core/src/main/scala/com/gu/play/secretrotation/Phase.scala x: 1 contributors (all time) y: 22 lines of code aws-parameterstore/secret-supplier/MinimalAwsSdkWrapper.scala x: 1 contributors (all time) y: 7 lines of code core/src/main/scala/com/gu/play/secretrotation/TransitionTiming.scala x: 1 contributors (all time) y: 10 lines of code
75.0
lines of code
  min: 7.0
  average: 30.4
  25th percentile: 9.5
  median: 22.5
  75th percentile: 55.25
  max: 75.0
0 2.0
contributors (all time)
min: 1.0 | average: 1.3 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 2.0 | max: 2.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...