File Size Overall
  • There are 37 files with 1,148 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)
    • 2 small files (228 lines of code)
    • 35 very small files (920 lines of code)
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%
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%
Longest Files (Top 37)
File# lines# units
sanity-tests.ts
in cdk/lib
114 5
TestFailureHandlingSupport.scala
in app/com/gu/contentapi/sanity/support
114 10
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 -
CrosswordsIndexingTest.scala
in app/com/gu/contentapi/sanity
31 -
NewestItemFieldsTest.scala
in app/com/gu/contentapi/sanity
29 -
MetaSuites.scala
in app/com/gu/contentapi/sanity
29 1
ElasticSearchSnapshotTest.scala
in app/com/gu/contentapi/sanity
28 -
SearchContainsLargeNumberOfResults.scala
in app/com/gu/contentapi/sanity
24 -
23 -
19 -
ValidateArticleSchema.scala
in app/com/gu/contentapi/sanity
19 -
JREVersionTest.scala
in app/com/gu/contentapi/sanity
18 -
XmlFileSupport.scala
in app/com/gu/contentapi/sanity/support
18 2
Config.scala
in app/com/gu/contentapi/sanity
17 -
EditorsPicksContainsItemsTest.scala
in app/com/gu/contentapi/sanity
16 -
MostViewedContainsItemsTest.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 -
PreviewRequiresAuthTest.scala
in app/com/gu/contentapi/sanity
14 -
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
HealthcheckController.scala
in app/controllers
8 1
Context.scala
in app/com/gu/contentapi/sanity
8 -
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
TestFailureHandlingSupport.scala
in app/com/gu/contentapi/sanity/support
114 10
CloudWatchReportingSupport.scala
in app/com/gu/contentapi/sanity/support
85 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
App.scala
in app
47 2
XmlFileSupport.scala
in app/com/gu/contentapi/sanity/support
18 2
policies.ts
in cdk/lib
46 1
Controller.scala
in app/controllers
13 1
HealthcheckController.scala
in app/controllers
8 1
9 1
ShowBlocksTest.scala
in app/com/gu/contentapi/sanity
61 1
SSLExpiryTest.scala
in app/com/gu/contentapi/sanity
54 1
MetaSuites.scala
in app/com/gu/contentapi/sanity
29 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
sanity-tests.ts
in cdk/lib
114 5 3
App.scala
in app
47 2 3
ElkFriendlyReporter.scala
in app/com/gu/contentapi/sanity/support
79 3 3
TagSearchContainsLargeNumberOfResults.scala
in app/com/gu/contentapi/sanity
15 - 1
QuartzScheduler.scala
in app/com/gu/contentapi/sanity/utils
53 9 1
CrosswordsIndexingTest.scala
in app/com/gu/contentapi/sanity
31 - 1
Context.scala
in app/com/gu/contentapi/sanity
8 - 1
ValidateArticleSchema.scala
in app/com/gu/contentapi/sanity
19 - 1
CloudWatchReportingSupport.scala
in app/com/gu/contentapi/sanity/support
85 10 1
SearchContainsLargeNumberOfResults.scala
in app/com/gu/contentapi/sanity
24 - 1
Correlations

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

riff-raff.yaml x: 11 commits (all time) y: 23 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: 13 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 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: 35 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: 6 commits (all time) y: 9 lines of code app/com/gu/contentapi/sanity/ContentApiSanityTest.scala x: 18 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: 19 commits (all time) y: 12 lines of code app/com/gu/contentapi/sanity/JREVersionTest.scala x: 24 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: 6 commits (all time) y: 13 lines of code app/controllers/HealthcheckController.scala x: 12 commits (all time) y: 8 lines of code app/com/gu/contentapi/sanity/Config.scala x: 26 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: 10 commits (all time) y: 53 lines of code
114.0
lines of code
  min: 2.0
  average: 31.03
  25th percentile: 13.5
  median: 19.0
  75th percentile: 43.5
  max: 114.0
0 44.0
commits (all time)
min: 2.0 | average: 14.57 | 25th percentile: 7.0 | median: 13.0 | 75th percentile: 20.0 | max: 44.0

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

riff-raff.yaml x: 4 contributors (all time) y: 23 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: 7 contributors (all time) y: 85 lines of code app/com/gu/contentapi/sanity/MetaSuites.scala x: 5 contributors (all time) y: 29 lines of code cdk/lib/constants.ts x: 3 contributors (all time) y: 2 lines of code app/com/gu/contentapi/sanity/SSLExpiryTest.scala x: 5 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: 5 contributors (all time) y: 31 lines of code app/com/gu/contentapi/sanity/support/TestFailureHandlingSupport.scala x: 4 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: 4 contributors (all time) y: 15 lines of code app/com/gu/contentapi/sanity/support/HttpRequestSupport.scala x: 5 contributors (all time) y: 41 lines of code app/com/gu/contentapi/sanity/PreviewRequiresAuthTest.scala x: 6 contributors (all time) y: 14 lines of code app/com/gu/contentapi/sanity/support/XmlFileSupport.scala x: 2 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: 3 contributors (all time) y: 12 lines of code app/com/gu/contentapi/sanity/CriticalTagsTest.scala x: 4 contributors (all time) y: 32 lines of code app/com/gu/contentapi/sanity/EditorsPicksContainsItemsTest.scala x: 3 contributors (all time) y: 16 lines of code app/com/gu/contentapi/sanity/GetNonExistentContentShould404.scala x: 4 contributors (all time) y: 12 lines of code app/com/gu/contentapi/sanity/JREVersionTest.scala x: 4 contributors (all time) y: 18 lines of code app/com/gu/contentapi/sanity/MostViewedContainsItemsTest.scala x: 4 contributors (all time) y: 16 lines of code app/com/gu/contentapi/sanity/NewestItemFieldsTest.scala x: 3 contributors (all time) y: 29 lines of code app/com/gu/contentapi/sanity/SearchContainsLargeNumberOfResults.scala x: 4 contributors (all time) y: 24 lines of code app/com/gu/contentapi/sanity/ShowBlocksTest.scala x: 2 contributors (all time) y: 61 lines of code app/com/gu/contentapi/sanity/TagSearchContainsLargeNumberOfResults.scala x: 3 contributors (all time) y: 15 lines of code app/com/gu/contentapi/sanity/ValidateArticleSchema.scala x: 4 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: 4 contributors (all time) y: 17 lines of code app/com/gu/contentapi/sanity/Context.scala x: 1 contributors (all time) y: 8 lines of code app/com/gu/contentapi/sanity/tags/ProdOnly.java x: 1 contributors (all time) y: 10 lines of code app/com/gu/contentapi/sanity/tags/Tags.scala x: 1 contributors (all time) y: 3 lines of code app/com/gu/contentapi/sanity/utils/QuartzScheduler.scala x: 2 contributors (all time) y: 53 lines of code
114.0
lines of code
  min: 2.0
  average: 31.03
  25th percentile: 13.5
  median: 19.0
  75th percentile: 43.5
  max: 114.0
0 7.0
contributors (all time)
min: 1.0 | average: 3.14 | 25th percentile: 2.0 | median: 3.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...