File Size Overall
  • There are 5 files with 236 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 (106 lines of code)
    • 4 very small files (130 lines of code)
0% | 0% | 0% | 44% | 55%
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% | 44% | 55%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
core0% | 0% | 0% | 69% | 30%
ssm0% | 0% | 0% | 0% | 100%
s30% | 0% | 0% | 0% | 100%
Longest Files (Top 5)
File# lines# units
AppIdentity.scala
in core/src/main/scala/com/gu
106 5
SSMConfigurationLocation.scala
in ssm/src/main/scala/com/gu/conf
47 1
S3ConfigurationLocation.scala
in s3/src/main/scala/com/gu/conf
36 1
ConfigurationLoader.scala
in core/src/main/scala/com/gu/conf
26 2
ConfigurationLocation.scala
in core/src/main/scala/com/gu/conf
21 4
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
AppIdentity.scala
in core/src/main/scala/com/gu
106 ~700–1.5k 6 ~30 ~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 5)
File# lines# units
AppIdentity.scala
in core/src/main/scala/com/gu
106 5
ConfigurationLocation.scala
in core/src/main/scala/com/gu/conf
21 4
ConfigurationLoader.scala
in core/src/main/scala/com/gu/conf
26 2
SSMConfigurationLocation.scala
in ssm/src/main/scala/com/gu/conf
47 1
S3ConfigurationLocation.scala
in s3/src/main/scala/com/gu/conf
36 1
Files With Long Lines (Top 1)

There is only one file with lines longer than 120 characters. In total, there are 6 long lines.

File# lines# units# long lines
AppIdentity.scala
in core/src/main/scala/com/gu
106 5 6
Correlations

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

core/src/main/scala/com/gu/AppIdentity.scala x: 22 commits (all time) y: 106 lines of code s3/src/main/scala/com/gu/conf/S3ConfigurationLocation.scala x: 9 commits (all time) y: 36 lines of code ssm/src/main/scala/com/gu/conf/SSMConfigurationLocation.scala x: 5 commits (all time) y: 47 lines of code core/src/main/scala/com/gu/conf/ConfigurationLoader.scala x: 3 commits (all time) y: 26 lines of code core/src/main/scala/com/gu/conf/ConfigurationLocation.scala x: 5 commits (all time) y: 21 lines of code
106.0
lines of code
  min: 21.0
  average: 47.2
  25th percentile: 23.5
  median: 36.0
  75th percentile: 76.5
  max: 106.0
0 22.0
commits (all time)
min: 3.0 | average: 8.8 | 25th percentile: 4.0 | median: 5.0 | 75th percentile: 15.5 | max: 22.0

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

core/src/main/scala/com/gu/AppIdentity.scala x: 7 contributors (all time) y: 106 lines of code s3/src/main/scala/com/gu/conf/S3ConfigurationLocation.scala x: 3 contributors (all time) y: 36 lines of code ssm/src/main/scala/com/gu/conf/SSMConfigurationLocation.scala x: 3 contributors (all time) y: 47 lines of code core/src/main/scala/com/gu/conf/ConfigurationLoader.scala x: 2 contributors (all time) y: 26 lines of code core/src/main/scala/com/gu/conf/ConfigurationLocation.scala x: 3 contributors (all time) y: 21 lines of code
106.0
lines of code
  min: 21.0
  average: 47.2
  25th percentile: 23.5
  median: 36.0
  75th percentile: 76.5
  max: 106.0
0 7.0
contributors (all time)
min: 2.0 | average: 3.6 | 25th percentile: 2.5 | median: 3.0 | 75th percentile: 5.0 | max: 7.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...