guardian / content-api-models
File Size

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

Intro
Learn more...
File Size Overall
0% | 56% | 12% | 18% | 12%
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
thrift0% | 90% | 0% | 0% | 9%
scala0% | 0% | 42% | 36% | 21%
sbt0% | 0% | 0% | 95% | 4%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
models0% | 90% | 0% | 0% | 9%
json0% | 0% | 52% | 44% | 2%
ROOT0% | 0% | 0% | 99% | <1%
benchmarks0% | 0% | 0% | 0% | 100%
project0% | 0% | 0% | 0% | 100%
Longest Files (Top 12)
File# lines# units
v1.thrift
in models/src/main/thrift/content
966 -
CirceDecoders.scala
in json/src/main/scala/com/gu/contentapi/json
216 3
CirceEncoders.scala
in json/src/main/scala/com/gu/contentapi/json
182 2
build.sbt
in root
141 -
JsonDecodeBenchmark.scala
in benchmarks/src/main/scala/benchmark
95 5
event.thrift
in models/src/main/thrift/events/crier
40 -
schema_org.thrift
in models/src/main/thrift/content
37 -
auxiliaryAtomEvent.thrift
in models/src/main/thrift/events/flexible
15 -
event.thrift
in models/src/main/thrift/events/fastly
13 -
CapiModelEnrichment.scala
in json/src/main/scala/com/gu/contentapi/utils
12 1
plugins.sbt
in project
6 -
1 -
Files With Most Units (Top 4)
File# lines# units
JsonDecodeBenchmark.scala
in benchmarks/src/main/scala/benchmark
95 5
CirceDecoders.scala
in json/src/main/scala/com/gu/contentapi/json
216 3
CirceEncoders.scala
in json/src/main/scala/com/gu/contentapi/json
182 2
CapiModelEnrichment.scala
in json/src/main/scala/com/gu/contentapi/utils
12 1
Files With Long Lines (Top 3)

There are 3 files with lines longer than 120 characters. In total, there are 5 long lines.

File# lines# units# long lines
CirceEncoders.scala
in json/src/main/scala/com/gu/contentapi/json
182 2 3
CapiModelEnrichment.scala
in json/src/main/scala/com/gu/contentapi/utils
12 1 1
CirceDecoders.scala
in json/src/main/scala/com/gu/contentapi/json
216 3 1
Correlations

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

models/src/main/thrift/content/v1.thrift x: 234 commits (all time) y: 966 lines of code build.sbt x: 230 commits (all time) y: 141 lines of code json/src/main/scala/com/gu/contentapi/json/CirceDecoders.scala x: 55 commits (all time) y: 216 lines of code json/src/main/scala/com/gu/contentapi/json/CirceEncoders.scala x: 43 commits (all time) y: 182 lines of code models/src/main/thrift/content/schema_org.thrift x: 4 commits (all time) y: 37 lines of code version.sbt x: 422 commits (all time) y: 1 lines of code project/plugins.sbt x: 40 commits (all time) y: 6 lines of code models/src/main/thrift/events/fastly/event.thrift x: 9 commits (all time) y: 13 lines of code models/src/main/thrift/events/crier/event.thrift x: 19 commits (all time) y: 40 lines of code models/src/main/thrift/events/flexible/auxiliaryAtomEvent.thrift x: 4 commits (all time) y: 15 lines of code json/src/main/scala/com/gu/contentapi/utils/CapiModelEnrichment.scala x: 5 commits (all time) y: 12 lines of code benchmarks/src/main/scala/benchmark/JsonDecodeBenchmark.scala x: 8 commits (all time) y: 95 lines of code
966.0
lines of code
  min: 1.0
  average: 143.67
  25th percentile: 12.25
  median: 38.5
  75th percentile: 171.75
  max: 966.0
0 422.0
commits (all time)
min: 4.0 | average: 89.42 | 25th percentile: 5.75 | median: 29.5 | 75th percentile: 186.25 | max: 422.0

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

models/src/main/thrift/content/v1.thrift x: 52 contributors (all time) y: 966 lines of code build.sbt x: 35 contributors (all time) y: 141 lines of code json/src/main/scala/com/gu/contentapi/json/CirceDecoders.scala x: 10 contributors (all time) y: 216 lines of code json/src/main/scala/com/gu/contentapi/json/CirceEncoders.scala x: 10 contributors (all time) y: 182 lines of code models/src/main/thrift/content/schema_org.thrift x: 1 contributors (all time) y: 37 lines of code version.sbt x: 33 contributors (all time) y: 1 lines of code project/plugins.sbt x: 12 contributors (all time) y: 6 lines of code models/src/main/thrift/events/fastly/event.thrift x: 3 contributors (all time) y: 13 lines of code models/src/main/thrift/events/crier/event.thrift x: 9 contributors (all time) y: 40 lines of code models/src/main/thrift/events/flexible/auxiliaryAtomEvent.thrift x: 2 contributors (all time) y: 15 lines of code benchmarks/src/main/scala/benchmark/JsonDecodeBenchmark.scala x: 3 contributors (all time) y: 95 lines of code
966.0
lines of code
  min: 1.0
  average: 143.67
  25th percentile: 12.25
  median: 38.5
  75th percentile: 171.75
  max: 966.0
0 52.0
contributors (all time)
min: 1.0 | average: 14.33 | 25th percentile: 2.25 | median: 9.5 | 75th percentile: 27.75 | max: 52.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): 1 points

models/src/main/thrift/content/v1.thrift x: 3 commits (90d) y: 966 lines of code
966.0
lines of code
  min: 966.0
  average: 966.0
  25th percentile: 966.0
  median: 966.0
  75th percentile: 966.0
  max: 966.0
0 3.0
commits (90d)
min: 3.0 | average: 3.0 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 3.0 | max: 3.0

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

models/src/main/thrift/content/v1.thrift x: 3 contributors (90d) y: 966 lines of code
966.0
lines of code
  min: 966.0
  average: 966.0
  25th percentile: 966.0
  median: 966.0
  75th percentile: 966.0
  max: 966.0
0 3.0
contributors (90d)
min: 3.0 | average: 3.0 | 25th percentile: 3.0 | median: 3.0 | 75th percentile: 3.0 | max: 3.0