guardian / editorial-viewer
File Size

The distribution of size of files (measured in lines of code).

Intro
Learn more...
File Size Overall
0% | 0% | 21% | 15% | 63%
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
scss0% | 0% | 52% | 0% | 47%
js0% | 0% | 34% | 21% | 44%
css0% | 0% | 0% | 53% | 46%
scala0% | 0% | 0% | 14% | 85%
html0% | 0% | 0% | 0% | 100%
sbt0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
public0% | 0% | 36% | 16% | 46%
src0% | 0% | 34% | 21% | 44%
app0% | 0% | 0% | 12% | 87%
ROOT0% | 0% | 0% | 0% | 100%
conf0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
Longest Files (Top 49)
File# lines# units
_header.scss
in public/styles/components
248 -
viewer.js
in src/modules/components
218 19
application.js
in src/modules/controllers
135 12
socialShareMode.css
in public/styles
108 -
PreviewProxy.scala
in app/com/gu/viewer/proxy
105 7
readerMode.css
in public/styles
95 -
RequestLoggingFilter.scala
in app/com/gu/viewer/logging
82 2
viewer.scala.html
in app/com/gu/viewer/views
68 -
61 -
ProxyClient.scala
in app/com/gu/viewer/proxy
56 1
_overlay.scss
in public/styles/components
56 -
PreviewSession.scala
in app/com/gu/viewer/proxy
53 3
Proxy.scala
in app/com/gu/viewer/controllers
52 3
_typography.scss
in public/styles/variables
51 -
ProxyResult.scala
in app/com/gu/viewer/proxy
49 2
keyboard.js
in src/modules/controllers
48 2
localStorage.js
in src/modules/utils
47 8
Email.scala
in app/com/gu/viewer/controllers
46 2
history.js
in src/modules/controllers
46 3
_viewer.scss
in public/styles/components
41 -
Application.scala
in app/com/gu/viewer/controllers
40 3
button.js
in src/modules/utils
40 5
build.sbt
in root
38 -
AppConfig.scala
in app/com/gu/viewer/config
38 1
ProxyRequest.scala
in app/com/gu/viewer/proxy
32 2
26 -
_palette.scss
in public/styles/variables
26 -
main.scala.html
in app/com/gu/viewer/views
25 -
analytics.js
in src/modules/controllers
24 3
AwsInstanceTags.scala
in app/com/gu/viewer/aws
22 1
overlay.js
in src/modules/controllers
22 8
index.scss
in public/styles
22 -
19 -
_orientation.scss
in public/styles/components
19 -
LiveProxy.scala
in app/com/gu/viewer/proxy
17 2
ProxyResponse.scala
in app/com/gu/viewer/proxy
16 1
modes.js
in src/modules
16 -
error.js
in src/modules/controllers
15 2
api.js
in src/modules/utils
14 1
13 2
PanDomainAuthActions.scala
in app/com/gu/viewer/controllers
12 1
loginRedirect.scala.html
in app/com/gu/viewer/views
10 -
overlay.scala.html
in app/com/gu/viewer/views
10 -
index.js
in src
8 -
Management.scala
in app/com/gu/viewer/controllers
7 -
_buttons.scss
in public/styles/components
5 -
Loggable.scala
in app/com/gu/viewer/logging
4 -
plugins.sbt
in project
4 -
ProxyError.scala
in app/com/gu/viewer/proxy
2 -
Files With Most Units (Top 25)
File# lines# units
viewer.js
in src/modules/components
218 19
application.js
in src/modules/controllers
135 12
localStorage.js
in src/modules/utils
47 8
overlay.js
in src/modules/controllers
22 8
PreviewProxy.scala
in app/com/gu/viewer/proxy
105 7
button.js
in src/modules/utils
40 5
PreviewSession.scala
in app/com/gu/viewer/proxy
53 3
Proxy.scala
in app/com/gu/viewer/controllers
52 3
Application.scala
in app/com/gu/viewer/controllers
40 3
history.js
in src/modules/controllers
46 3
analytics.js
in src/modules/controllers
24 3
13 2
ProxyRequest.scala
in app/com/gu/viewer/proxy
32 2
ProxyResult.scala
in app/com/gu/viewer/proxy
49 2
LiveProxy.scala
in app/com/gu/viewer/proxy
17 2
RequestLoggingFilter.scala
in app/com/gu/viewer/logging
82 2
Email.scala
in app/com/gu/viewer/controllers
46 2
error.js
in src/modules/controllers
15 2
keyboard.js
in src/modules/controllers
48 2
AppConfig.scala
in app/com/gu/viewer/config
38 1
ProxyResponse.scala
in app/com/gu/viewer/proxy
16 1
ProxyClient.scala
in app/com/gu/viewer/proxy
56 1
AwsInstanceTags.scala
in app/com/gu/viewer/aws
22 1
PanDomainAuthActions.scala
in app/com/gu/viewer/controllers
12 1
api.js
in src/modules/utils
14 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
viewer.scala.html
in app/com/gu/viewer/views
68 - 14
RequestLoggingFilter.scala
in app/com/gu/viewer/logging
82 2 3
ProxyRequest.scala
in app/com/gu/viewer/proxy
32 2 2
overlay.scala.html
in app/com/gu/viewer/views
10 - 1
ProxyClient.scala
in app/com/gu/viewer/proxy
56 1 1
Proxy.scala
in app/com/gu/viewer/controllers
52 3 1
Application.scala
in app/com/gu/viewer/controllers
40 3 1
history.js
in src/modules/controllers
46 3 1
Correlations

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

riff-raff.yaml x: 18 commits (all time) y: 19 lines of code app/com/gu/viewer/proxy/PreviewProxy.scala x: 37 commits (all time) y: 105 lines of code app/com/gu/viewer/proxy/ProxyResult.scala x: 15 commits (all time) y: 49 lines of code build.sbt x: 91 commits (all time) y: 38 lines of code app/AppComponents.scala x: 16 commits (all time) y: 61 lines of code app/com/gu/viewer/logging/RequestLoggingFilter.scala x: 30 commits (all time) y: 82 lines of code public/styles/components/_overlay.scss x: 7 commits (all time) y: 56 lines of code public/styles/variables/_typography.scss x: 7 commits (all time) y: 51 lines of code app/com/gu/viewer/controllers/Application.scala x: 50 commits (all time) y: 40 lines of code app/com/gu/viewer/controllers/Email.scala x: 25 commits (all time) y: 46 lines of code app/com/gu/viewer/controllers/Proxy.scala x: 46 commits (all time) y: 52 lines of code app/com/gu/viewer/proxy/ProxyRequest.scala x: 17 commits (all time) y: 32 lines of code app/com/gu/viewer/aws/AwsInstanceTags.scala x: 6 commits (all time) y: 22 lines of code app/com/gu/viewer/proxy/PreviewSession.scala x: 8 commits (all time) y: 53 lines of code app/com/gu/viewer/proxy/ProxyResponse.scala x: 13 commits (all time) y: 16 lines of code project/plugins.sbt x: 28 commits (all time) y: 4 lines of code app/com/gu/viewer/logging/Loggable.scala x: 20 commits (all time) y: 4 lines of code conf/logback.xml x: 21 commits (all time) y: 26 lines of code app/com/gu/viewer/views/main.scala.html x: 33 commits (all time) y: 25 lines of code src/index.js x: 5 commits (all time) y: 8 lines of code src/modules/components/viewer.js x: 2 commits (all time) y: 218 lines of code src/modules/controllers/analytics.js x: 2 commits (all time) y: 24 lines of code src/modules/controllers/application.js x: 2 commits (all time) y: 135 lines of code src/modules/controllers/error.js x: 2 commits (all time) y: 15 lines of code src/modules/controllers/history.js x: 2 commits (all time) y: 46 lines of code src/modules/controllers/keyboard.js x: 2 commits (all time) y: 48 lines of code src/modules/controllers/overlay.js x: 2 commits (all time) y: 22 lines of code src/modules/modes.js x: 2 commits (all time) y: 16 lines of code src/modules/utils/api.js x: 2 commits (all time) y: 14 lines of code src/modules/utils/button.js x: 2 commits (all time) y: 40 lines of code src/modules/utils/localStorage.js x: 2 commits (all time) y: 47 lines of code app/com/gu/viewer/proxy/ProxyClient.scala x: 6 commits (all time) y: 56 lines of code public/styles/socialShareMode.css x: 8 commits (all time) y: 108 lines of code app/com/gu/viewer/views/viewer.scala.html x: 103 commits (all time) y: 68 lines of code app/AppLoader.scala x: 4 commits (all time) y: 13 lines of code app/com/gu/viewer/config/AppConfig.scala x: 6 commits (all time) y: 38 lines of code app/com/gu/viewer/controllers/Management.scala x: 7 commits (all time) y: 7 lines of code app/com/gu/viewer/controllers/PanDomainAuthActions.scala x: 12 commits (all time) y: 12 lines of code app/com/gu/viewer/proxy/LiveProxy.scala x: 18 commits (all time) y: 17 lines of code public/styles/components/_viewer.scss x: 15 commits (all time) y: 41 lines of code public/styles/readerMode.css x: 10 commits (all time) y: 95 lines of code public/styles/components/_header.scss x: 49 commits (all time) y: 248 lines of code app/com/gu/viewer/views/overlay.scala.html x: 5 commits (all time) y: 10 lines of code public/styles/components/_buttons.scss x: 5 commits (all time) y: 5 lines of code public/styles/index.scss x: 11 commits (all time) y: 22 lines of code app/com/gu/viewer/proxy/ProxyError.scala x: 3 commits (all time) y: 2 lines of code app/com/gu/viewer/Logging/RequestLoggingFilter.scala x: 3 commits (all time) y: 82 lines of code public/styles/components/_orientation.scss x: 3 commits (all time) y: 19 lines of code public/styles/variables/_palette.scss x: 1 commits (all time) y: 26 lines of code
248.0
lines of code
  min: 2.0
  average: 45.86
  25th percentile: 15.75
  median: 35.0
  75th percentile: 53.75
  max: 248.0
0 103.0
commits (all time)
min: 1.0 | average: 15.78 | 25th percentile: 2.75 | median: 7.0 | 75th percentile: 18.5 | max: 103.0

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

riff-raff.yaml x: 10 contributors (all time) y: 19 lines of code app/com/gu/viewer/proxy/PreviewProxy.scala x: 9 contributors (all time) y: 105 lines of code app/com/gu/viewer/proxy/ProxyResult.scala x: 5 contributors (all time) y: 49 lines of code build.sbt x: 22 contributors (all time) y: 38 lines of code app/AppComponents.scala x: 4 contributors (all time) y: 61 lines of code app/com/gu/viewer/logging/RequestLoggingFilter.scala x: 10 contributors (all time) y: 82 lines of code public/styles/components/_overlay.scss x: 5 contributors (all time) y: 56 lines of code public/styles/variables/_typography.scss x: 6 contributors (all time) y: 51 lines of code app/com/gu/viewer/controllers/Application.scala x: 12 contributors (all time) y: 40 lines of code app/com/gu/viewer/controllers/Email.scala x: 8 contributors (all time) y: 46 lines of code app/com/gu/viewer/controllers/Proxy.scala x: 5 contributors (all time) y: 52 lines of code app/com/gu/viewer/proxy/ProxyRequest.scala x: 5 contributors (all time) y: 32 lines of code app/com/gu/viewer/aws/AwsInstanceTags.scala x: 4 contributors (all time) y: 22 lines of code app/com/gu/viewer/proxy/PreviewSession.scala x: 5 contributors (all time) y: 53 lines of code app/com/gu/viewer/proxy/ProxyResponse.scala x: 6 contributors (all time) y: 16 lines of code project/plugins.sbt x: 8 contributors (all time) y: 4 lines of code conf/logback.xml x: 6 contributors (all time) y: 26 lines of code app/com/gu/viewer/views/main.scala.html x: 13 contributors (all time) y: 25 lines of code src/index.js x: 2 contributors (all time) y: 8 lines of code src/modules/components/viewer.js x: 2 contributors (all time) y: 218 lines of code src/modules/controllers/analytics.js x: 2 contributors (all time) y: 24 lines of code src/modules/controllers/application.js x: 2 contributors (all time) y: 135 lines of code src/modules/controllers/error.js x: 2 contributors (all time) y: 15 lines of code src/modules/controllers/history.js x: 2 contributors (all time) y: 46 lines of code src/modules/controllers/keyboard.js x: 2 contributors (all time) y: 48 lines of code src/modules/controllers/overlay.js x: 2 contributors (all time) y: 22 lines of code src/modules/modes.js x: 2 contributors (all time) y: 16 lines of code src/modules/utils/api.js x: 2 contributors (all time) y: 14 lines of code src/modules/utils/button.js x: 2 contributors (all time) y: 40 lines of code src/modules/utils/localStorage.js x: 2 contributors (all time) y: 47 lines of code app/com/gu/viewer/proxy/ProxyClient.scala x: 3 contributors (all time) y: 56 lines of code public/styles/socialShareMode.css x: 2 contributors (all time) y: 108 lines of code app/com/gu/viewer/views/viewer.scala.html x: 17 contributors (all time) y: 68 lines of code app/AppLoader.scala x: 2 contributors (all time) y: 13 lines of code app/com/gu/viewer/config/AppConfig.scala x: 2 contributors (all time) y: 38 lines of code app/com/gu/viewer/controllers/Management.scala x: 3 contributors (all time) y: 7 lines of code app/com/gu/viewer/controllers/PanDomainAuthActions.scala x: 5 contributors (all time) y: 12 lines of code app/com/gu/viewer/proxy/LiveProxy.scala x: 4 contributors (all time) y: 17 lines of code public/styles/components/_viewer.scss x: 6 contributors (all time) y: 41 lines of code public/styles/readerMode.css x: 2 contributors (all time) y: 95 lines of code public/styles/components/_header.scss x: 9 contributors (all time) y: 248 lines of code app/com/gu/viewer/views/overlay.scala.html x: 2 contributors (all time) y: 10 lines of code public/styles/components/_buttons.scss x: 2 contributors (all time) y: 5 lines of code app/com/gu/viewer/proxy/ProxyError.scala x: 2 contributors (all time) y: 2 lines of code app/com/gu/viewer/Logging/RequestLoggingFilter.scala x: 1 contributors (all time) y: 82 lines of code public/styles/components/_orientation.scss x: 1 contributors (all time) y: 19 lines of code public/styles/variables/_palette.scss x: 1 contributors (all time) y: 26 lines of code
248.0
lines of code
  min: 2.0
  average: 45.86
  25th percentile: 15.75
  median: 35.0
  75th percentile: 53.75
  max: 248.0
0 22.0
contributors (all time)
min: 1.0 | average: 4.9 | 25th percentile: 2.0 | median: 3.5 | 75th percentile: 6.0 | max: 22.0

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

riff-raff.yaml x: 2 commits (30d) y: 19 lines of code
19.0
lines of code
  min: 19.0
  average: 19.0
  25th percentile: 19.0
  median: 19.0
  75th percentile: 19.0
  max: 19.0
0 2.0
commits (30d)
min: 2.0 | average: 2.0 | 25th percentile: 2.0 | median: 2.0 | 75th percentile: 2.0 | max: 2.0

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

riff-raff.yaml x: 1 contributors (30d) y: 19 lines of code
19.0
lines of code
  min: 19.0
  average: 19.0
  25th percentile: 19.0
  median: 19.0
  75th percentile: 19.0
  max: 19.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): 3 points

riff-raff.yaml x: 2 commits (90d) y: 19 lines of code app/com/gu/viewer/proxy/PreviewProxy.scala x: 7 commits (90d) y: 105 lines of code app/com/gu/viewer/proxy/ProxyResult.scala x: 4 commits (90d) y: 49 lines of code
105.0
lines of code
  min: 19.0
  average: 57.67
  25th percentile: 19.0
  median: 49.0
  75th percentile: 105.0
  max: 105.0
0 7.0
commits (90d)
min: 2.0 | average: 4.33 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 7.0 | max: 7.0

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

riff-raff.yaml x: 1 contributors (90d) y: 19 lines of code app/com/gu/viewer/proxy/PreviewProxy.scala x: 1 contributors (90d) y: 105 lines of code app/com/gu/viewer/proxy/ProxyResult.scala x: 1 contributors (90d) y: 49 lines of code
105.0
lines of code
  min: 19.0
  average: 57.67
  25th percentile: 19.0
  median: 49.0
  75th percentile: 105.0
  max: 105.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