guardian / content-api-models
File Change Frequency

File change frequency (churn) shows the distribution of file updates (days with at least one commit).

Overview
File Change Frequency Overall
  • There are 12 files with 1,724 lines of code.
    • 3 files changed more than 100 times (1,108 lines of code)
    • 0 files changed 51-100 times (0 lines of code)
    • 3 files changed 21-50 times (404 lines of code)
    • 2 files changed 6-20 times (135 lines of code)
    • 4 files changed 1-5 times (77 lines of code)
64% | 0% | 23% | 7% | 4%
Legend:
101+
51-100
21-50
6-20
1-5

explore: grouped by folders | grouped by update frequency | data
Contributors Count Frequency Overall
  • There are 12 files with 1,724 lines of code.
    • 3 files changed by more than 25 contributors (1,108 lines of code)
    • 1 file changed by 11-25 contributors (6 lines of code)
    • 3 files changed by 6-10 contributors (438 lines of code)
    • 4 files changed by 2-5 contributors (135 lines of code)
    • 1 file changed by 1 contributor (37 lines of code)
64% | <1% | 25% | 7% | 2%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
json, scala, thrift, sbt, yaml, gitignore, txt, md, properties
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
thrift90% | 0% | 0% | 3% | 6%
sbt95% | 0% | 4% | 0% | 0%
scala0% | 0% | 78% | 18% | 2%
File Change Frequency per Logical Decomposition
primary
primary (file change frequency)
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
models90% | 0% | 0% | 3% | 6%
ROOT100% | 0% | 0% | 0% | 0%
json0% | 0% | 97% | 0% | 2%
project0% | 0% | 100% | 0% | 0%
benchmarks0% | 0% | 0% | 100% | 0%
Most Frequently Changed Files (Top 12)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
1 - 2016-04-01 2024-02-21 181 33 tom.forbes@theguardian.com automated.maven.release.adm...
v1.thrift
in models/src/main/thrift/content
966 - 2016-04-14 2025-03-24 164 52 tom.forbes@theguardian.com 10963046+andrew-nowak@users...
build.sbt
in root
141 - 2016-04-04 2024-05-24 135 35 chris.birchall@gmail.com emily.bourke@guardian.co.uk
CirceDecoders.scala
in json/src/main/scala/com/gu/contentapi/json
216 3 2016-09-21 2024-05-24 36 10 tom.forbes@theguardian.com emily.bourke@guardian.co.uk
plugins.sbt
in project
6 - 2016-04-04 2024-01-25 31 12 chris.birchall@gmail.com roberto.tyley@gmail.com
CirceEncoders.scala
in json/src/main/scala/com/gu/contentapi/json
182 2 2016-09-21 2024-05-24 28 10 tom.forbes@theguardian.com emily.bourke@guardian.co.uk
event.thrift
in models/src/main/thrift/events/crier
40 - 2016-05-16 2021-02-24 13 9 manlio.poltronieri@gmail.com justinpinner@gmail.com
JsonDecodeBenchmark.scala
in benchmarks/src/main/scala/benchmark
95 5 2016-06-28 2017-02-10 7 3 chris.birchall@guardian.co.uk tom.forbes@theguardian.com
event.thrift
in models/src/main/thrift/events/fastly
13 - 2021-01-06 2021-09-17 4 3 tonytw1@users.noreply.githu... tony.mccrae.freelancer@guar...
auxiliaryAtomEvent.thrift
in models/src/main/thrift/events/flexible
15 - 2016-11-08 2020-06-05 4 2 luke.taylor@guardian.co.uk alex.dufournet@guardian.co.uk
CapiModelEnrichment.scala
in json/src/main/scala/com/gu/contentapi/utils
12 1 2016-05-26 2017-10-03 3 2 tom.forbes@theguardian.com regis.kuckaertz@theguardian...
schema_org.thrift
in models/src/main/thrift/content
37 - 2024-03-12 2024-03-13 2 1 frederick.obrien@guardian.c... frederick.obrien@guardian.c...
Files With Most Contributors (Top 12)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
v1.thrift
in models/src/main/thrift/content
966 - 2016-04-14 2025-03-24 164 52 tom.forbes@theguardian.com 10963046+andrew-nowak@users...
build.sbt
in root
141 - 2016-04-04 2024-05-24 135 35 chris.birchall@gmail.com emily.bourke@guardian.co.uk
1 - 2016-04-01 2024-02-21 181 33 tom.forbes@theguardian.com automated.maven.release.adm...
plugins.sbt
in project
6 - 2016-04-04 2024-01-25 31 12 chris.birchall@gmail.com roberto.tyley@gmail.com
CirceDecoders.scala
in json/src/main/scala/com/gu/contentapi/json
216 3 2016-09-21 2024-05-24 36 10 tom.forbes@theguardian.com emily.bourke@guardian.co.uk
CirceEncoders.scala
in json/src/main/scala/com/gu/contentapi/json
182 2 2016-09-21 2024-05-24 28 10 tom.forbes@theguardian.com emily.bourke@guardian.co.uk
event.thrift
in models/src/main/thrift/events/crier
40 - 2016-05-16 2021-02-24 13 9 manlio.poltronieri@gmail.com justinpinner@gmail.com
JsonDecodeBenchmark.scala
in benchmarks/src/main/scala/benchmark
95 5 2016-06-28 2017-02-10 7 3 chris.birchall@guardian.co.uk tom.forbes@theguardian.com
event.thrift
in models/src/main/thrift/events/fastly
13 - 2021-01-06 2021-09-17 4 3 tonytw1@users.noreply.githu... tony.mccrae.freelancer@guar...
auxiliaryAtomEvent.thrift
in models/src/main/thrift/events/flexible
15 - 2016-11-08 2020-06-05 4 2 luke.taylor@guardian.co.uk alex.dufournet@guardian.co.uk
CapiModelEnrichment.scala
in json/src/main/scala/com/gu/contentapi/utils
12 1 2016-05-26 2017-10-03 3 2 tom.forbes@theguardian.com regis.kuckaertz@theguardian...
schema_org.thrift
in models/src/main/thrift/content
37 - 2024-03-12 2024-03-13 2 1 frederick.obrien@guardian.c... frederick.obrien@guardian.c...
Files With Least Contributors (Top 12)
Based on the number of unique email addresses found in commits.

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
schema_org.thrift
in models/src/main/thrift/content
37 - 2024-03-12 2024-03-13 2 1 frederick.obrien@guardian.c... frederick.obrien@guardian.c...
auxiliaryAtomEvent.thrift
in models/src/main/thrift/events/flexible
15 - 2016-11-08 2020-06-05 4 2 luke.taylor@guardian.co.uk alex.dufournet@guardian.co.uk
CapiModelEnrichment.scala
in json/src/main/scala/com/gu/contentapi/utils
12 1 2016-05-26 2017-10-03 3 2 tom.forbes@theguardian.com regis.kuckaertz@theguardian...
JsonDecodeBenchmark.scala
in benchmarks/src/main/scala/benchmark
95 5 2016-06-28 2017-02-10 7 3 chris.birchall@guardian.co.uk tom.forbes@theguardian.com
event.thrift
in models/src/main/thrift/events/fastly
13 - 2021-01-06 2021-09-17 4 3 tonytw1@users.noreply.githu... tony.mccrae.freelancer@guar...
event.thrift
in models/src/main/thrift/events/crier
40 - 2016-05-16 2021-02-24 13 9 manlio.poltronieri@gmail.com justinpinner@gmail.com
CirceDecoders.scala
in json/src/main/scala/com/gu/contentapi/json
216 3 2016-09-21 2024-05-24 36 10 tom.forbes@theguardian.com emily.bourke@guardian.co.uk
CirceEncoders.scala
in json/src/main/scala/com/gu/contentapi/json
182 2 2016-09-21 2024-05-24 28 10 tom.forbes@theguardian.com emily.bourke@guardian.co.uk
plugins.sbt
in project
6 - 2016-04-04 2024-01-25 31 12 chris.birchall@gmail.com roberto.tyley@gmail.com
1 - 2016-04-01 2024-02-21 181 33 tom.forbes@theguardian.com automated.maven.release.adm...
build.sbt
in root
141 - 2016-04-04 2024-05-24 135 35 chris.birchall@gmail.com emily.bourke@guardian.co.uk
v1.thrift
in models/src/main/thrift/content
966 - 2016-04-14 2025-03-24 164 52 tom.forbes@theguardian.com 10963046+andrew-nowak@users...
Correlations

File Size vs. Number of Changes: 12 points

models/src/main/thrift/content/v1.thrift x: 966 lines of code y: 164 # changes build.sbt x: 141 lines of code y: 135 # changes json/src/main/scala/com/gu/contentapi/json/CirceDecoders.scala x: 216 lines of code y: 36 # changes json/src/main/scala/com/gu/contentapi/json/CirceEncoders.scala x: 182 lines of code y: 28 # changes models/src/main/thrift/content/schema_org.thrift x: 37 lines of code y: 2 # changes version.sbt x: 1 lines of code y: 181 # changes project/plugins.sbt x: 6 lines of code y: 31 # changes models/src/main/thrift/events/fastly/event.thrift x: 13 lines of code y: 4 # changes models/src/main/thrift/events/crier/event.thrift x: 40 lines of code y: 13 # changes models/src/main/thrift/events/flexible/auxiliaryAtomEvent.thrift x: 15 lines of code y: 4 # changes json/src/main/scala/com/gu/contentapi/utils/CapiModelEnrichment.scala x: 12 lines of code y: 3 # changes benchmarks/src/main/scala/benchmark/JsonDecodeBenchmark.scala x: 95 lines of code y: 7 # changes
181.0
# changes
  min: 2.0
  average: 50.67
  25th percentile: 4.0
  median: 20.5
  75th percentile: 110.25
  max: 181.0
0 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

Number of Contributors vs. Number of Changes: 12 points

models/src/main/thrift/content/v1.thrift x: 52 # contributors y: 164 # changes build.sbt x: 35 # contributors y: 135 # changes json/src/main/scala/com/gu/contentapi/json/CirceDecoders.scala x: 10 # contributors y: 36 # changes json/src/main/scala/com/gu/contentapi/json/CirceEncoders.scala x: 10 # contributors y: 28 # changes models/src/main/thrift/content/schema_org.thrift x: 1 # contributors y: 2 # changes version.sbt x: 33 # contributors y: 181 # changes project/plugins.sbt x: 12 # contributors y: 31 # changes models/src/main/thrift/events/fastly/event.thrift x: 3 # contributors y: 4 # changes models/src/main/thrift/events/crier/event.thrift x: 9 # contributors y: 13 # changes models/src/main/thrift/events/flexible/auxiliaryAtomEvent.thrift x: 2 # contributors y: 4 # changes json/src/main/scala/com/gu/contentapi/utils/CapiModelEnrichment.scala x: 2 # contributors y: 3 # changes benchmarks/src/main/scala/benchmark/JsonDecodeBenchmark.scala x: 3 # contributors y: 7 # changes
181.0
# changes
  min: 2.0
  average: 50.67
  25th percentile: 4.0
  median: 20.5
  75th percentile: 110.25
  max: 181.0
0 52.0
# contributors
min: 1.0 | average: 14.33 | 25th percentile: 2.25 | median: 9.5 | 75th percentile: 27.75 | max: 52.0

Number of Contributors vs. File Size: 12 points

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