File Size Overall
  • There are 53 files with 4,540 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 4 medium size files (1,157 lines of code)
    • 15 small files (2,061 lines of code)
    • 34 very small files (1,322 lines of code)
0% | 0% | 25% | 45% | 29%
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% | 27% | 45% | 26%
ts0% | 0% | 0% | 68% | 31%
html0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
mjs0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
app0% | 0% | 27% | 45% | 27%
cdk0% | 0% | 0% | 64% | 35%
conf0% | 0% | 0% | 0% | 100%
.github0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
Api.scala
in app/controllers
434 24
instance.scala
in app/collectors
267 8
origin.scala
in app/agent
246 7
collector.scala
in app/agent
210 5
context.scala
in app/conf
196 4
vpc.scala
in app/collectors
176 4
acmCertificates.scala
in app/collectors
158 4
ApiResult.scala
in app/controllers
158 5
prism.ts
in cdk/lib
157 1
model.scala
in app/agent
141 7
launchTemplates.scala
in app/collectors
133 1
132 11
implicits.scala
in app/jsonimplicits
129 4
bucket.scala
in app/collectors
126 1
securityGroup.scala
in app/collectors
122 2
zone.scala
in app/collectors
114 1
reservation.scala
in app/collectors
111 3
lambda.scala
in app/collectors
105 3
Owners.scala
in app/data
103 2
image.scala
in app/collectors
96 1
Prism.scala
in app/controllers
93 -
filter.scala
in app/utils
88 8
87 1
Agent.scala
in app/pekko/gu/agent
82 1
81 -
loadBalancers.scala
in app/collectors
76 1
AWS.scala
in app/conf
76 2
75 3
prism-access.ts
in cdk/lib
73 1
OwnerApi.scala
in app/controllers
73 4
index.scala.html
in app/views
61 -
data.scala
in app/collectors
50 1
dependabot.yml
in .github
36 -
35 1
34 1
25 2
22 1
22 -
20 -
reference.scala
in app/agent
16 1
14 -
FutureUtils.scala
in app/utils
13 1
Lifecycle.scala
in app/utils
12 3
main.scala.html
in app/views
11 -
Application.scala
in app/controllers
10 -
package.scala
in app/collectors
8 -
7 -
SSA.scala
in app/model
6 -
Logging.scala
in app/utils
5 -
StopWatch.scala
in app/utils
5 -
Large Files That Change Often (Top 9)
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
prism.ts
in cdk/lib
157 ~1k–3k 11 ~20 ~7
origin.scala
in app/agent
246 ~1.5k–5k 3 ~20 ~10
Owners.scala
in app/data
103 ~700–1.5k 4 ~7 ~15
dependabot.yml
in .github
36 under 1k 7 ~10 ~3
34 under 1k 5 ~20 ~2
AWS.scala
in app/conf
76 ~500–1.5k 2 ~20 ~5
35 under 1k 2 ~15 ~3
22 under 1k 2 ~15 ~2
Identity.scala
in app/model
2 under 1k 2 ~3 ~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 36)
File# lines# units
Api.scala
in app/controllers
434 24
132 11
instance.scala
in app/collectors
267 8
filter.scala
in app/utils
88 8
model.scala
in app/agent
141 7
origin.scala
in app/agent
246 7
collector.scala
in app/agent
210 5
ApiResult.scala
in app/controllers
158 5
acmCertificates.scala
in app/collectors
158 4
vpc.scala
in app/collectors
176 4
implicits.scala
in app/jsonimplicits
129 4
OwnerApi.scala
in app/controllers
73 4
context.scala
in app/conf
196 4
lambda.scala
in app/collectors
105 3
reservation.scala
in app/collectors
111 3
Lifecycle.scala
in app/utils
12 3
75 3
securityGroup.scala
in app/collectors
122 2
25 2
Owners.scala
in app/data
103 2
AWS.scala
in app/conf
76 2
prism-access.ts
in cdk/lib
73 1
prism.ts
in cdk/lib
157 1
Agent.scala
in app/pekko/gu/agent
82 1
data.scala
in app/collectors
50 1
bucket.scala
in app/collectors
126 1
image.scala
in app/collectors
96 1
87 1
zone.scala
in app/collectors
114 1
loadBalancers.scala
in app/collectors
76 1
launchTemplates.scala
in app/collectors
133 1
22 1
FutureUtils.scala
in app/utils
13 1
reference.scala
in app/agent
16 1
34 1
35 1
Files With Long Lines (Top 7)

There are 7 files with lines longer than 120 characters. In total, there are 21 long lines.

File# lines# units# long lines
index.scala.html
in app/views
61 - 11
collector.scala
in app/agent
210 5 4
lambda.scala
in app/collectors
105 3 2
bucket.scala
in app/collectors
126 1 1
reservation.scala
in app/collectors
111 3 1
ApiResult.scala
in app/controllers
158 5 1
75 3 1
Correlations

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

cdk/lib/prism.ts x: 45 commits (all time) y: 157 lines of code app/data/Owners.scala x: 68 commits (all time) y: 103 lines of code .github/dependabot.yml x: 18 commits (all time) y: 36 lines of code app/agent/origin.scala x: 64 commits (all time) y: 246 lines of code app/AppLoader.scala x: 21 commits (all time) y: 35 lines of code app/conf/AWS.scala x: 25 commits (all time) y: 76 lines of code app/conf/FileConfiguration.scala x: 12 commits (all time) y: 34 lines of code app/model/Identity.scala x: 2 commits (all time) y: 2 lines of code app/utils/AWSCredentialProviders.scala x: 13 commits (all time) y: 22 lines of code cdk/eslint.config.mjs x: 2 commits (all time) y: 14 lines of code app/collectors/launchTemplates.scala x: 14 commits (all time) y: 133 lines of code cdk/lib/prism-access.ts x: 21 commits (all time) y: 73 lines of code app/controllers/Api.scala x: 142 commits (all time) y: 434 lines of code app/controllers/Prism.scala x: 80 commits (all time) y: 93 lines of code app/jsonimplicits/implicits.scala x: 98 commits (all time) y: 129 lines of code conf/logback.xml x: 4 commits (all time) y: 20 lines of code app/RequestLoggingFilter.scala x: 7 commits (all time) y: 75 lines of code app/agent/collector.scala x: 47 commits (all time) y: 210 lines of code app/pekko/gu/agent/Agent.scala x: 3 commits (all time) y: 82 lines of code app/utils/ScheduledAgent.scala x: 13 commits (all time) y: 132 lines of code app/collectors/bucket.scala x: 56 commits (all time) y: 126 lines of code app/collectors/securityGroup.scala x: 49 commits (all time) y: 122 lines of code app/AppComponents.scala x: 10 commits (all time) y: 81 lines of code app/agent/model.scala x: 44 commits (all time) y: 141 lines of code app/agent/reference.scala x: 9 commits (all time) y: 16 lines of code app/collectors/acmCertificates.scala x: 38 commits (all time) y: 158 lines of code app/collectors/data.scala x: 27 commits (all time) y: 50 lines of code app/collectors/image.scala x: 40 commits (all time) y: 96 lines of code app/collectors/instance.scala x: 88 commits (all time) y: 267 lines of code app/collectors/lambda.scala x: 43 commits (all time) y: 105 lines of code app/collectors/launchConfigurations.scala x: 34 commits (all time) y: 87 lines of code app/collectors/loadBalancers.scala x: 26 commits (all time) y: 76 lines of code app/collectors/package.scala x: 4 commits (all time) y: 8 lines of code app/collectors/reservation.scala x: 35 commits (all time) y: 111 lines of code app/collectors/vpc.scala x: 12 commits (all time) y: 176 lines of code app/collectors/zone.scala x: 27 commits (all time) y: 114 lines of code app/conf/context.scala x: 75 commits (all time) y: 196 lines of code app/controllers/ApiResult.scala x: 26 commits (all time) y: 158 lines of code app/controllers/Application.scala x: 16 commits (all time) y: 10 lines of code app/model/DataContainer.scala x: 3 commits (all time) y: 7 lines of code app/model/Owner.scala x: 5 commits (all time) y: 4 lines of code app/model/SSA.scala x: 5 commits (all time) y: 6 lines of code app/utils/FutureUtils.scala x: 5 commits (all time) y: 13 lines of code app/utils/Lifecycle.scala x: 6 commits (all time) y: 12 lines of code app/utils/StopWatch.scala x: 4 commits (all time) y: 5 lines of code app/utils/UnnaturalOrdering.scala x: 6 commits (all time) y: 25 lines of code app/utils/filter.scala x: 15 commits (all time) y: 88 lines of code app/views/index.scala.html x: 25 commits (all time) y: 61 lines of code app/utils/Marker.scala x: 7 commits (all time) y: 4 lines of code app/views/main.scala.html x: 5 commits (all time) y: 11 lines of code conf/application-logger.xml x: 2 commits (all time) y: 22 lines of code
434.0
lines of code
  min: 2.0
  average: 85.66
  25th percentile: 15.0
  median: 76.0
  75th percentile: 127.5
  max: 434.0
0 142.0
commits (all time)
min: 2.0 | average: 27.77 | 25th percentile: 5.5 | median: 18.0 | 75th percentile: 41.5 | max: 142.0

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

cdk/lib/prism.ts x: 4 contributors (all time) y: 157 lines of code app/data/Owners.scala x: 24 contributors (all time) y: 103 lines of code .github/dependabot.yml x: 5 contributors (all time) y: 36 lines of code app/agent/origin.scala x: 13 contributors (all time) y: 246 lines of code app/AppLoader.scala x: 5 contributors (all time) y: 35 lines of code app/conf/AWS.scala x: 9 contributors (all time) y: 76 lines of code app/conf/FileConfiguration.scala x: 7 contributors (all time) y: 34 lines of code app/model/Identity.scala x: 1 contributors (all time) y: 2 lines of code app/utils/AWSCredentialProviders.scala x: 4 contributors (all time) y: 22 lines of code cdk/eslint.config.mjs x: 1 contributors (all time) y: 14 lines of code app/collectors/launchTemplates.scala x: 2 contributors (all time) y: 133 lines of code cdk/lib/prism-access.ts x: 4 contributors (all time) y: 73 lines of code app/controllers/Api.scala x: 19 contributors (all time) y: 434 lines of code app/controllers/Prism.scala x: 18 contributors (all time) y: 93 lines of code app/jsonimplicits/implicits.scala x: 18 contributors (all time) y: 129 lines of code conf/logback.xml x: 3 contributors (all time) y: 20 lines of code app/RequestLoggingFilter.scala x: 5 contributors (all time) y: 75 lines of code app/agent/collector.scala x: 13 contributors (all time) y: 210 lines of code app/pekko/gu/agent/Agent.scala x: 2 contributors (all time) y: 82 lines of code app/utils/ScheduledAgent.scala x: 8 contributors (all time) y: 132 lines of code app/collectors/bucket.scala x: 10 contributors (all time) y: 126 lines of code app/collectors/securityGroup.scala x: 9 contributors (all time) y: 122 lines of code app/AppComponents.scala x: 5 contributors (all time) y: 81 lines of code app/agent/model.scala x: 12 contributors (all time) y: 141 lines of code app/agent/reference.scala x: 5 contributors (all time) y: 16 lines of code app/collectors/acmCertificates.scala x: 8 contributors (all time) y: 158 lines of code app/collectors/data.scala x: 8 contributors (all time) y: 50 lines of code app/collectors/image.scala x: 8 contributors (all time) y: 96 lines of code app/collectors/instance.scala x: 13 contributors (all time) y: 267 lines of code app/collectors/lambda.scala x: 11 contributors (all time) y: 105 lines of code app/collectors/launchConfigurations.scala x: 8 contributors (all time) y: 87 lines of code app/collectors/loadBalancers.scala x: 7 contributors (all time) y: 76 lines of code app/collectors/package.scala x: 4 contributors (all time) y: 8 lines of code app/collectors/reservation.scala x: 8 contributors (all time) y: 111 lines of code app/collectors/vpc.scala x: 5 contributors (all time) y: 176 lines of code app/collectors/zone.scala x: 7 contributors (all time) y: 114 lines of code app/conf/context.scala x: 12 contributors (all time) y: 196 lines of code app/controllers/Application.scala x: 6 contributors (all time) y: 10 lines of code app/controllers/OwnerApi.scala x: 10 contributors (all time) y: 73 lines of code app/model/DataContainer.scala x: 3 contributors (all time) y: 7 lines of code app/model/Owner.scala x: 5 contributors (all time) y: 4 lines of code app/model/SSA.scala x: 5 contributors (all time) y: 6 lines of code app/utils/FutureUtils.scala x: 4 contributors (all time) y: 13 lines of code app/utils/Lifecycle.scala x: 5 contributors (all time) y: 12 lines of code app/utils/Logging.scala x: 4 contributors (all time) y: 5 lines of code app/utils/StopWatch.scala x: 3 contributors (all time) y: 5 lines of code app/utils/UnnaturalOrdering.scala x: 4 contributors (all time) y: 25 lines of code app/utils/filter.scala x: 7 contributors (all time) y: 88 lines of code app/views/index.scala.html x: 5 contributors (all time) y: 61 lines of code app/views/main.scala.html x: 3 contributors (all time) y: 11 lines of code conf/application-logger.xml x: 1 contributors (all time) y: 22 lines of code
434.0
lines of code
  min: 2.0
  average: 85.66
  25th percentile: 15.0
  median: 76.0
  75th percentile: 127.5
  max: 434.0
0 24.0
contributors (all time)
min: 1.0 | average: 7.19 | 25th percentile: 4.0 | median: 5.0 | 75th percentile: 9.0 | max: 24.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): 1 points

cdk/lib/prism.ts x: 2 commits (90d) y: 157 lines of code
157.0
lines of code
  min: 157.0
  average: 157.0
  25th percentile: 157.0
  median: 157.0
  75th percentile: 157.0
  max: 157.0
0 2.0
commits (90d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

cdk/lib/prism.ts x: 1 contributors (90d) y: 157 lines of code
157.0
lines of code
  min: 157.0
  average: 157.0
  25th percentile: 157.0
  median: 157.0
  75th percentile: 157.0
  max: 157.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...