guardian / content-api-sanity-tests
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 0% | 19% | 80%
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% | 12% | 87%
ts0% | 0% | 0% | 70% | 29%
sbt0% | 0% | 0% | 0% | 100%
yaml0% | 0% | 0% | 0% | 100%
xml0% | 0% | 0% | 0% | 100%
java0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
app0% | 0% | 0% | 12% | 87%
cdk0% | 0% | 0% | 70% | 29%
ROOT0% | 0% | 0% | 0% | 100%
conf0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
Longest Files (Top 39)
File# lines# units
TestFailureHandlingSupport.scala
in app/com/gu/contentapi/sanity/support
114 10
sanity-tests.ts
in cdk/lib
114 5
CloudWatchReportingSupport.scala
in app/com/gu/contentapi/sanity/support
85 10
ElkFriendlyReporter.scala
in app/com/gu/contentapi/sanity/support
79 3
ShowBlocksTest.scala
in app/com/gu/contentapi/sanity
61 1
SSLExpiryTest.scala
in app/com/gu/contentapi/sanity
54 1
QuartzScheduler.scala
in app/com/gu/contentapi/sanity/utils
53 9
App.scala
in app
47 2
policies.ts
in cdk/lib
46 1
HttpRequestSupport.scala
in app/com/gu/contentapi/sanity/support
41 3
CriticalTagsTest.scala
in app/com/gu/contentapi/sanity
32 -
build.sbt
in root
32 -
CrosswordsIndexingTest.scala
in app/com/gu/contentapi/sanity
31 -
MetaSuites.scala
in app/com/gu/contentapi/sanity
29 1
NewestItemFieldsTest.scala
in app/com/gu/contentapi/sanity
29 -
ElasticSearchSnapshotTest.scala
in app/com/gu/contentapi/sanity
28 -
SearchContainsLargeNumberOfResults.scala
in app/com/gu/contentapi/sanity
24 -
23 -
ValidateArticleSchema.scala
in app/com/gu/contentapi/sanity
19 -
19 -
XmlFileSupport.scala
in app/com/gu/contentapi/sanity/support
18 2
JREVersionTest.scala
in app/com/gu/contentapi/sanity
18 -
Config.scala
in app/com/gu/contentapi/sanity
17 -
MostViewedContainsItemsTest.scala
in app/com/gu/contentapi/sanity
16 -
EditorsPicksContainsItemsTest.scala
in app/com/gu/contentapi/sanity
16 -
SanityTestBase.scala
in app/com/gu/contentapi/sanity
15 -
TagSearchContainsLargeNumberOfResults.scala
in app/com/gu/contentapi/sanity
15 -
14 -
PreviewRequiresAuthTest.scala
in app/com/gu/contentapi/sanity
14 -
Controller.scala
in app/controllers
13 1
GetNonExistentContentShould404.scala
in app/com/gu/contentapi/sanity
12 -
ContentApiSanityTest.scala
in app/com/gu/contentapi/sanity
12 -
ProdOnly.java
in app/com/gu/contentapi/sanity/tags
10 -
9 1
Context.scala
in app/com/gu/contentapi/sanity
8 -
HealthcheckController.scala
in app/controllers
8 1
plugins.sbt
in project
5 -
Tags.scala
in app/com/gu/contentapi/sanity/tags
3 -
constants.ts
in cdk/lib
2 -
Files With Most Units (Top 15)
File# lines# units
CloudWatchReportingSupport.scala
in app/com/gu/contentapi/sanity/support
85 10
TestFailureHandlingSupport.scala
in app/com/gu/contentapi/sanity/support
114 10
QuartzScheduler.scala
in app/com/gu/contentapi/sanity/utils
53 9
sanity-tests.ts
in cdk/lib
114 5
HttpRequestSupport.scala
in app/com/gu/contentapi/sanity/support
41 3
ElkFriendlyReporter.scala
in app/com/gu/contentapi/sanity/support
79 3
XmlFileSupport.scala
in app/com/gu/contentapi/sanity/support
18 2
App.scala
in app
47 2
SSLExpiryTest.scala
in app/com/gu/contentapi/sanity
54 1
ShowBlocksTest.scala
in app/com/gu/contentapi/sanity
61 1
MetaSuites.scala
in app/com/gu/contentapi/sanity
29 1
9 1
Controller.scala
in app/controllers
13 1
HealthcheckController.scala
in app/controllers
8 1
policies.ts
in cdk/lib
46 1
Files With Long Lines (Top 11)

There are 11 files with lines longer than 120 characters. In total, there are 20 long lines.

File# lines# units# long lines
TestFailureHandlingSupport.scala
in app/com/gu/contentapi/sanity/support
114 10 4
ElkFriendlyReporter.scala
in app/com/gu/contentapi/sanity/support
79 3 3
App.scala
in app
47 2 3
sanity-tests.ts
in cdk/lib
114 5 3
QuartzScheduler.scala
in app/com/gu/contentapi/sanity/utils
53 9 1
CloudWatchReportingSupport.scala
in app/com/gu/contentapi/sanity/support
85 10 1
ValidateArticleSchema.scala
in app/com/gu/contentapi/sanity
19 - 1
CrosswordsIndexingTest.scala
in app/com/gu/contentapi/sanity
31 - 1
TagSearchContainsLargeNumberOfResults.scala
in app/com/gu/contentapi/sanity
15 - 1
Context.scala
in app/com/gu/contentapi/sanity
8 - 1
SearchContainsLargeNumberOfResults.scala
in app/com/gu/contentapi/sanity
24 - 1
Correlations

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

build.sbt x: 114 commits (all time) y: 32 lines of code project/plugins.sbt x: 43 commits (all time) y: 5 lines of code app/App.scala x: 8 commits (all time) y: 47 lines of code app/com/gu/contentapi/sanity/support/ElkFriendlyReporter.scala x: 4 commits (all time) y: 79 lines of code conf/logback.xml x: 8 commits (all time) y: 14 lines of code app/AppComponents.scala x: 11 commits (all time) y: 19 lines of code app/com/gu/contentapi/sanity/support/CloudWatchReportingSupport.scala x: 21 commits (all time) y: 85 lines of code app/com/gu/contentapi/sanity/MetaSuites.scala x: 44 commits (all time) y: 29 lines of code cdk/lib/constants.ts x: 5 commits (all time) y: 2 lines of code riff-raff.yaml x: 9 commits (all time) y: 23 lines of code app/com/gu/contentapi/sanity/SSLExpiryTest.scala x: 23 commits (all time) y: 54 lines of code cdk/lib/sanity-tests.ts x: 10 commits (all time) y: 114 lines of code app/com/gu/contentapi/sanity/CrosswordsIndexingTest.scala x: 21 commits (all time) y: 31 lines of code app/com/gu/contentapi/sanity/support/TestFailureHandlingSupport.scala x: 18 commits (all time) y: 114 lines of code cdk/lib/policies.ts x: 4 commits (all time) y: 46 lines of code app/com/gu/contentapi/sanity/ElasticSearchSnapshotTest.scala x: 11 commits (all time) y: 28 lines of code app/com/gu/contentapi/sanity/SanityTestBase.scala x: 18 commits (all time) y: 15 lines of code app/com/gu/contentapi/sanity/support/HttpRequestSupport.scala x: 25 commits (all time) y: 41 lines of code app/com/gu/contentapi/sanity/PreviewRequiresAuthTest.scala x: 33 commits (all time) y: 14 lines of code app/com/gu/contentapi/sanity/support/XmlFileSupport.scala x: 6 commits (all time) y: 18 lines of code app/AppLoader.scala x: 4 commits (all time) y: 9 lines of code app/com/gu/contentapi/sanity/ContentApiSanityTest.scala x: 16 commits (all time) y: 12 lines of code app/com/gu/contentapi/sanity/CriticalTagsTest.scala x: 13 commits (all time) y: 32 lines of code app/com/gu/contentapi/sanity/EditorsPicksContainsItemsTest.scala x: 17 commits (all time) y: 16 lines of code app/com/gu/contentapi/sanity/GetNonExistentContentShould404.scala x: 17 commits (all time) y: 12 lines of code app/com/gu/contentapi/sanity/JREVersionTest.scala x: 22 commits (all time) y: 18 lines of code app/com/gu/contentapi/sanity/MostViewedContainsItemsTest.scala x: 18 commits (all time) y: 16 lines of code app/com/gu/contentapi/sanity/NewestItemFieldsTest.scala x: 24 commits (all time) y: 29 lines of code app/com/gu/contentapi/sanity/SearchContainsLargeNumberOfResults.scala x: 19 commits (all time) y: 24 lines of code app/com/gu/contentapi/sanity/ShowBlocksTest.scala x: 12 commits (all time) y: 61 lines of code app/com/gu/contentapi/sanity/TagSearchContainsLargeNumberOfResults.scala x: 9 commits (all time) y: 15 lines of code app/com/gu/contentapi/sanity/ValidateArticleSchema.scala x: 15 commits (all time) y: 19 lines of code app/controllers/Controller.scala x: 4 commits (all time) y: 13 lines of code app/controllers/HealthcheckController.scala x: 10 commits (all time) y: 8 lines of code app/com/gu/contentapi/sanity/Config.scala x: 24 commits (all time) y: 17 lines of code app/com/gu/contentapi/sanity/Context.scala x: 2 commits (all time) y: 8 lines of code app/com/gu/contentapi/sanity/tags/ProdOnly.java x: 2 commits (all time) y: 10 lines of code app/com/gu/contentapi/sanity/tags/Tags.scala x: 2 commits (all time) y: 3 lines of code app/com/gu/contentapi/sanity/utils/QuartzScheduler.scala x: 8 commits (all time) y: 53 lines of code
114.0
lines of code
  min: 2.0
  average: 30.38
  25th percentile: 13.0
  median: 19.0
  75th percentile: 41.0
  max: 114.0
0 114.0
commits (all time)
min: 2.0 | average: 17.28 | 25th percentile: 8.0 | median: 13.0 | 75th percentile: 21.0 | max: 114.0

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

build.sbt x: 13 contributors (all time) y: 32 lines of code project/plugins.sbt x: 12 contributors (all time) y: 5 lines of code app/App.scala x: 3 contributors (all time) y: 47 lines of code app/com/gu/contentapi/sanity/support/ElkFriendlyReporter.scala x: 1 contributors (all time) y: 79 lines of code conf/logback.xml x: 1 contributors (all time) y: 14 lines of code app/AppComponents.scala x: 2 contributors (all time) y: 19 lines of code app/com/gu/contentapi/sanity/support/CloudWatchReportingSupport.scala x: 8 contributors (all time) y: 85 lines of code app/com/gu/contentapi/sanity/MetaSuites.scala x: 7 contributors (all time) y: 29 lines of code cdk/lib/constants.ts x: 3 contributors (all time) y: 2 lines of code riff-raff.yaml x: 3 contributors (all time) y: 23 lines of code app/com/gu/contentapi/sanity/SSLExpiryTest.scala x: 6 contributors (all time) y: 54 lines of code cdk/lib/sanity-tests.ts x: 2 contributors (all time) y: 114 lines of code app/com/gu/contentapi/sanity/CrosswordsIndexingTest.scala x: 6 contributors (all time) y: 31 lines of code app/com/gu/contentapi/sanity/support/TestFailureHandlingSupport.scala x: 5 contributors (all time) y: 114 lines of code cdk/lib/policies.ts x: 2 contributors (all time) y: 46 lines of code app/com/gu/contentapi/sanity/ElasticSearchSnapshotTest.scala x: 4 contributors (all time) y: 28 lines of code app/com/gu/contentapi/sanity/SanityTestBase.scala x: 5 contributors (all time) y: 15 lines of code app/com/gu/contentapi/sanity/support/HttpRequestSupport.scala x: 7 contributors (all time) y: 41 lines of code app/com/gu/contentapi/sanity/PreviewRequiresAuthTest.scala x: 8 contributors (all time) y: 14 lines of code app/com/gu/contentapi/sanity/support/XmlFileSupport.scala x: 3 contributors (all time) y: 18 lines of code app/AppLoader.scala x: 1 contributors (all time) y: 9 lines of code app/com/gu/contentapi/sanity/ContentApiSanityTest.scala x: 4 contributors (all time) y: 12 lines of code app/com/gu/contentapi/sanity/CriticalTagsTest.scala x: 6 contributors (all time) y: 32 lines of code app/com/gu/contentapi/sanity/EditorsPicksContainsItemsTest.scala x: 4 contributors (all time) y: 16 lines of code app/com/gu/contentapi/sanity/GetNonExistentContentShould404.scala x: 6 contributors (all time) y: 12 lines of code app/com/gu/contentapi/sanity/JREVersionTest.scala x: 5 contributors (all time) y: 18 lines of code app/com/gu/contentapi/sanity/MostViewedContainsItemsTest.scala x: 5 contributors (all time) y: 16 lines of code app/com/gu/contentapi/sanity/NewestItemFieldsTest.scala x: 4 contributors (all time) y: 29 lines of code app/com/gu/contentapi/sanity/SearchContainsLargeNumberOfResults.scala x: 5 contributors (all time) y: 24 lines of code app/com/gu/contentapi/sanity/ShowBlocksTest.scala x: 3 contributors (all time) y: 61 lines of code app/com/gu/contentapi/sanity/TagSearchContainsLargeNumberOfResults.scala x: 4 contributors (all time) y: 15 lines of code app/com/gu/contentapi/sanity/ValidateArticleSchema.scala x: 5 contributors (all time) y: 19 lines of code app/controllers/Controller.scala x: 1 contributors (all time) y: 13 lines of code app/controllers/HealthcheckController.scala x: 2 contributors (all time) y: 8 lines of code app/com/gu/contentapi/sanity/Config.scala x: 6 contributors (all time) y: 17 lines of code app/com/gu/contentapi/sanity/tags/ProdOnly.java x: 2 contributors (all time) y: 10 lines of code app/com/gu/contentapi/sanity/tags/Tags.scala x: 2 contributors (all time) y: 3 lines of code app/com/gu/contentapi/sanity/utils/QuartzScheduler.scala x: 3 contributors (all time) y: 53 lines of code
114.0
lines of code
  min: 2.0
  average: 30.38
  25th percentile: 13.0
  median: 19.0
  75th percentile: 41.0
  max: 114.0
0 13.0
contributors (all time)
min: 1.0 | average: 4.38 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 6.0 | max: 13.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".