File Size Overall
  • There are 22 files with 1,122 lines of code.
    • 0 very long files (0 lines of code)
    • 0 long files (0 lines of code)
    • 1 medium size files (240 lines of code)
    • 3 small files (424 lines of code)
    • 18 very small files (458 lines of code)
0% | 0% | 21% | 37% | 40%
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% | 22% | 40% | 37%
xml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
html0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
path-manager0% | 0% | 31% | 31% | 36%
migrator0% | 0% | 0% | 54% | 45%
ROOT0% | 0% | 0% | 0% | 100%
nginx0% | 0% | 0% | 0% | 100%
Longest Files (Top 22)
File# lines# units
PathStore.scala
in path-manager/app/services
240 12
Migrator.scala
in migrator/src/main/scala/com/gu/pathmanager
184 4
PathManagerController.scala
in path-manager/app/controllers
131 6
Metrics.scala
in path-manager/app/services
109 8
Dynamo.scala
in path-manager/app/services
87 4
PathRecord.scala
in path-manager/app/model
48 1
MigrationAWS.scala
in migrator/src/main/scala/com/gu/pathmanager
46 1
MigrationPathStore.scala
in migrator/src/main/scala/com/gu/pathmanager
34 1
PathManagerConnection.scala
in migrator/src/main/scala/com/gu/pathmanager
29 2
logback.xml
in path-manager/conf
27 -
AWS.scala
in path-manager/app/services
26 1
ShortUrlEncoder.scala
in migrator/src/main/scala/com/gu/pathmanager
25 6
ShortUrlEncoder.scala
in path-manager/app/services
25 6
PathRecord.scala
in migrator/src/main/scala/com/gu/pathmanager
22 -
IdentifierSequence.scala
in path-manager/app/services
18 1
16 -
AppComponents.scala
in path-manager/app
15 -
updateIdSeq.scala.html
in path-manager/app/views/Application
10 -
AppLoader.scala
in path-manager/app
10 1
ManagementController.scala
in path-manager/app/controllers
7 -
RangeKeyMatches.java
in path-manager/app/services
7 1
6 -
Files With Most Units (Top 15)
File# lines# units
PathStore.scala
in path-manager/app/services
240 12
Metrics.scala
in path-manager/app/services
109 8
ShortUrlEncoder.scala
in migrator/src/main/scala/com/gu/pathmanager
25 6
PathManagerController.scala
in path-manager/app/controllers
131 6
ShortUrlEncoder.scala
in path-manager/app/services
25 6
Migrator.scala
in migrator/src/main/scala/com/gu/pathmanager
184 4
Dynamo.scala
in path-manager/app/services
87 4
PathManagerConnection.scala
in migrator/src/main/scala/com/gu/pathmanager
29 2
MigrationAWS.scala
in migrator/src/main/scala/com/gu/pathmanager
46 1
MigrationPathStore.scala
in migrator/src/main/scala/com/gu/pathmanager
34 1
PathRecord.scala
in path-manager/app/model
48 1
AppLoader.scala
in path-manager/app
10 1
IdentifierSequence.scala
in path-manager/app/services
18 1
AWS.scala
in path-manager/app/services
26 1
RangeKeyMatches.java
in path-manager/app/services
7 1
Files With Long Lines (Top 8)

There are 8 files with lines longer than 120 characters. In total, there are 24 long lines.

File# lines# units# long lines
PathStore.scala
in path-manager/app/services
240 12 13
MigrationPathStore.scala
in migrator/src/main/scala/com/gu/pathmanager
34 1 4
PathManagerController.scala
in path-manager/app/controllers
131 6 2
PathRecord.scala
in migrator/src/main/scala/com/gu/pathmanager
22 - 1
Migrator.scala
in migrator/src/main/scala/com/gu/pathmanager
184 4 1
PathRecord.scala
in path-manager/app/model
48 1 1
IdentifierSequence.scala
in path-manager/app/services
18 1 1
Dynamo.scala
in path-manager/app/services
87 4 1
Correlations

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

riff-raff.yaml x: 8 commits (all time) y: 16 lines of code path-manager/app/services/Dynamo.scala x: 14 commits (all time) y: 87 lines of code path-manager/app/services/Metrics.scala x: 6 commits (all time) y: 109 lines of code path-manager/app/AppLoader.scala x: 5 commits (all time) y: 10 lines of code path-manager/conf/logback.xml x: 6 commits (all time) y: 27 lines of code path-manager/app/services/PathStore.scala x: 33 commits (all time) y: 240 lines of code path-manager/app/model/PathRecord.scala x: 14 commits (all time) y: 48 lines of code path-manager/app/controllers/PathManagerController.scala x: 25 commits (all time) y: 131 lines of code path-manager/app/AppComponents.scala x: 2 commits (all time) y: 15 lines of code path-manager/app/controllers/ManagementController.scala x: 2 commits (all time) y: 7 lines of code path-manager/app/services/AWS.scala x: 6 commits (all time) y: 26 lines of code path-manager/app/services/IdentifierSequence.scala x: 4 commits (all time) y: 18 lines of code nginx/nginx-mapping.yml x: 3 commits (all time) y: 6 lines of code migrator/src/main/scala/com/gu/pathmanager/Migrator.scala x: 16 commits (all time) y: 184 lines of code migrator/src/main/scala/com/gu/pathmanager/PathRecord.scala x: 8 commits (all time) y: 22 lines of code migrator/src/main/scala/com/gu/pathmanager/MigrationAWS.scala x: 4 commits (all time) y: 46 lines of code migrator/src/main/scala/com/gu/pathmanager/MigrationPathStore.scala x: 5 commits (all time) y: 34 lines of code migrator/src/main/scala/com/gu/pathmanager/ShortUrlEncoder.scala x: 4 commits (all time) y: 25 lines of code migrator/src/main/scala/com/gu/pathmanager/PathManagerConnection.scala x: 3 commits (all time) y: 29 lines of code path-manager/app/services/ShortUrlEncoder.scala x: 2 commits (all time) y: 25 lines of code path-manager/app/views/Application/updateIdSeq.scala.html x: 2 commits (all time) y: 10 lines of code
240.0
lines of code
  min: 6.0
  average: 51.0
  25th percentile: 13.75
  median: 25.5
  75th percentile: 57.75
  max: 240.0
0 33.0
commits (all time)
min: 2.0 | average: 7.91 | 25th percentile: 2.75 | median: 5.0 | 75th percentile: 9.5 | max: 33.0

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

riff-raff.yaml x: 4 contributors (all time) y: 16 lines of code path-manager/app/services/Dynamo.scala x: 7 contributors (all time) y: 87 lines of code path-manager/app/services/Metrics.scala x: 5 contributors (all time) y: 109 lines of code path-manager/app/AppLoader.scala x: 2 contributors (all time) y: 10 lines of code path-manager/conf/logback.xml x: 1 contributors (all time) y: 27 lines of code path-manager/app/services/PathStore.scala x: 5 contributors (all time) y: 240 lines of code path-manager/app/model/PathRecord.scala x: 4 contributors (all time) y: 48 lines of code path-manager/app/controllers/PathManagerController.scala x: 4 contributors (all time) y: 131 lines of code path-manager/app/AppComponents.scala x: 2 contributors (all time) y: 15 lines of code path-manager/app/controllers/ManagementController.scala x: 2 contributors (all time) y: 7 lines of code path-manager/app/services/AWS.scala x: 6 contributors (all time) y: 26 lines of code path-manager/app/services/IdentifierSequence.scala x: 4 contributors (all time) y: 18 lines of code path-manager/app/services/RangeKeyMatches.java x: 1 contributors (all time) y: 7 lines of code nginx/nginx-mapping.yml x: 2 contributors (all time) y: 6 lines of code migrator/src/main/scala/com/gu/pathmanager/Migrator.scala x: 4 contributors (all time) y: 184 lines of code migrator/src/main/scala/com/gu/pathmanager/PathRecord.scala x: 2 contributors (all time) y: 22 lines of code migrator/src/main/scala/com/gu/pathmanager/MigrationAWS.scala x: 2 contributors (all time) y: 46 lines of code migrator/src/main/scala/com/gu/pathmanager/MigrationPathStore.scala x: 2 contributors (all time) y: 34 lines of code migrator/src/main/scala/com/gu/pathmanager/ShortUrlEncoder.scala x: 2 contributors (all time) y: 25 lines of code migrator/src/main/scala/com/gu/pathmanager/PathManagerConnection.scala x: 2 contributors (all time) y: 29 lines of code
240.0
lines of code
  min: 6.0
  average: 51.0
  25th percentile: 13.75
  median: 25.5
  75th percentile: 57.75
  max: 240.0
0 7.0
contributors (all time)
min: 1.0 | average: 3.05 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 4.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...