guardian / scrooge-extras
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 32% | 29% | 38%
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% | 45% | 41% | 13%
mustache0% | 0% | 0% | 0% | 100%
sbt0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
scrooge-generator-typescript0% | 0% | 42% | 16% | 41%
sbt-scrooge-typescript0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
Longest Files (Top 21)
File# lines# units
TypescriptGenerator.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
319 9
ScroogeTypescriptGen.scala
in sbt-scrooge-typescript/src/main/scala/com/gu/thrift
168 4
TemplateModels.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
120 -
build.sbt
in root
69 -
ScalaObjectHandler.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
67 6
read_field.mustache
in scrooge-generator-typescript/src/main/resources/typescript
37 -
struct_read.mustache
in scrooge-generator-typescript/src/main/resources/typescript
34 -
write_field.mustache
in scrooge-generator-typescript/src/main/resources/typescript
33 -
union_read.mustache
in scrooge-generator-typescript/src/main/resources/typescript
31 -
MustacheUtils.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
18 2
union_write.mustache
in scrooge-generator-typescript/src/main/resources/typescript
17 -
union.mustache
in scrooge-generator-typescript/src/main/resources/typescript
13 -
struct_write.mustache
in scrooge-generator-typescript/src/main/resources/typescript
13 -
struct.mustache
in scrooge-generator-typescript/src/main/resources/typescript
11 -
imports.mustache
in scrooge-generator-typescript/src/main/resources/typescript
11 -
NPMLibraries.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
10 -
enum.mustache
in scrooge-generator-typescript/src/main/resources/typescript
6 -
autogen.mustache
in scrooge-generator-typescript/src/main/resources/typescript
5 -
const.mustache
in scrooge-generator-typescript/src/main/resources/typescript
4 -
plugins.sbt
in project
4 -
1 -
Files With Most Units (Top 4)
File# lines# units
TypescriptGenerator.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
319 9
ScalaObjectHandler.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
67 6
ScroogeTypescriptGen.scala
in sbt-scrooge-typescript/src/main/scala/com/gu/thrift
168 4
MustacheUtils.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
18 2
Files With Long Lines (Top 2)

There are 2 files with lines longer than 120 characters. In total, there are 13 long lines.

File# lines# units# long lines
ScroogeTypescriptGen.scala
in sbt-scrooge-typescript/src/main/scala/com/gu/thrift
168 4 11
TypescriptGenerator.scala
in scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript
319 9 2
Correlations

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

build.sbt x: 32 commits (all time) y: 69 lines of code version.sbt x: 59 commits (all time) y: 1 lines of code project/plugins.sbt x: 14 commits (all time) y: 4 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/ScalaObjectHandler.scala x: 4 commits (all time) y: 67 lines of code sbt-scrooge-typescript/src/main/scala/com/gu/thrift/ScroogeTypescriptGen.scala x: 14 commits (all time) y: 168 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/NPMLibraries.scala x: 5 commits (all time) y: 10 lines of code scrooge-generator-typescript/src/main/resources/typescript/read_field.mustache x: 5 commits (all time) y: 37 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/TypescriptGenerator.scala x: 10 commits (all time) y: 319 lines of code scrooge-generator-typescript/src/main/resources/typescript/imports.mustache x: 4 commits (all time) y: 11 lines of code scrooge-generator-typescript/src/main/resources/typescript/union.mustache x: 4 commits (all time) y: 13 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/TemplateModels.scala x: 4 commits (all time) y: 120 lines of code scrooge-generator-typescript/src/main/resources/typescript/autogen.mustache x: 2 commits (all time) y: 5 lines of code scrooge-generator-typescript/src/main/resources/typescript/enum.mustache x: 2 commits (all time) y: 6 lines of code scrooge-generator-typescript/src/main/resources/typescript/struct_read.mustache x: 2 commits (all time) y: 34 lines of code scrooge-generator-typescript/src/main/resources/typescript/struct_write.mustache x: 2 commits (all time) y: 13 lines of code scrooge-generator-typescript/src/main/resources/typescript/union_read.mustache x: 2 commits (all time) y: 31 lines of code scrooge-generator-typescript/src/main/resources/typescript/union_write.mustache x: 2 commits (all time) y: 17 lines of code scrooge-generator-typescript/src/main/resources/typescript/write_field.mustache x: 2 commits (all time) y: 33 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/MustacheUtils.scala x: 2 commits (all time) y: 18 lines of code
319.0
lines of code
  min: 1.0
  average: 47.19
  25th percentile: 8.0
  median: 17.0
  75th percentile: 52.0
  max: 319.0
0 59.0
commits (all time)
min: 2.0 | average: 8.43 | 25th percentile: 2.0 | median: 4.0 | 75th percentile: 7.5 | max: 59.0

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

build.sbt x: 8 contributors (all time) y: 69 lines of code version.sbt x: 6 contributors (all time) y: 1 lines of code project/plugins.sbt x: 6 contributors (all time) y: 4 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/ScalaObjectHandler.scala x: 3 contributors (all time) y: 67 lines of code sbt-scrooge-typescript/src/main/scala/com/gu/thrift/ScroogeTypescriptGen.scala x: 4 contributors (all time) y: 168 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/NPMLibraries.scala x: 4 contributors (all time) y: 10 lines of code scrooge-generator-typescript/src/main/resources/typescript/read_field.mustache x: 2 contributors (all time) y: 37 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/TypescriptGenerator.scala x: 1 contributors (all time) y: 319 lines of code scrooge-generator-typescript/src/main/resources/typescript/imports.mustache x: 1 contributors (all time) y: 11 lines of code scrooge-generator-typescript/src/main/resources/typescript/union.mustache x: 1 contributors (all time) y: 13 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/TemplateModels.scala x: 1 contributors (all time) y: 120 lines of code scrooge-generator-typescript/src/main/resources/typescript/autogen.mustache x: 1 contributors (all time) y: 5 lines of code scrooge-generator-typescript/src/main/resources/typescript/enum.mustache x: 1 contributors (all time) y: 6 lines of code scrooge-generator-typescript/src/main/resources/typescript/struct_read.mustache x: 1 contributors (all time) y: 34 lines of code scrooge-generator-typescript/src/main/resources/typescript/union_read.mustache x: 1 contributors (all time) y: 31 lines of code scrooge-generator-typescript/src/main/resources/typescript/union_write.mustache x: 1 contributors (all time) y: 17 lines of code scrooge-generator-typescript/src/main/resources/typescript/write_field.mustache x: 1 contributors (all time) y: 33 lines of code scrooge-generator-typescript/src/main/scala/com/gu/scrooge/backend/typescript/MustacheUtils.scala x: 1 contributors (all time) y: 18 lines of code
319.0
lines of code
  min: 1.0
  average: 47.19
  25th percentile: 8.0
  median: 17.0
  75th percentile: 52.0
  max: 319.0
0 8.0
contributors (all time)
min: 1.0 | average: 2.24 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 3.5 | max: 8.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".