guardian / elasticsearch-node-rotation
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 20 files with 1,166 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 1 file changed 51-100 times (521 lines of code)
    • 1 file changed 21-50 times (65 lines of code)
    • 12 files changed 6-20 times (416 lines of code)
    • 6 files changed 1-5 times (164 lines of code)
0% | 44% | 5% | 35% | 14%
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 20 files with 1,166 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 3 files changed by 11-25 contributors (646 lines of code)
    • 9 files changed by 6-10 contributors (309 lines of code)
    • 8 files changed by 2-5 contributors (211 lines of code)
    • 0 files changed by 1 contributor (0 lines of code)
0% | 55% | 26% | 18% | 0%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
ts, yaml, json, gitignore, js, txt, sh, md
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
yaml0% | 88% | 11% | 0% | 0%
ts0% | 0% | 0% | 71% | 28%
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
ROOT0% | 88% | 11% | 0% | 0%
src0% | 0% | 0% | 71% | 28%
Most Frequently Changed Files (Top 20)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
521 - 2018-07-05 2024-12-05 59 19 tom.forbes@theguardian.com 10963046+andrew-nowak@users...
65 - 2018-08-15 2025-01-29 23 15 tom.forbes@theguardian.com louischather@hotmail.co.uk
autoscaling.ts
in src/aws
60 6 2018-08-08 2023-09-11 18 11 jacob.winch@guardian.co.uk fredex42@gmail.com
15 1 2018-07-11 2022-01-26 17 7 tom.forbes@theguardian.com louis.hather@guardian.co.uk
21 1 2018-08-08 2022-01-26 16 8 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
15 1 2018-08-01 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
17 1 2018-08-08 2022-01-26 13 7 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
handlerInputs.ts
in src/utils
23 - 2018-09-26 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
27 1 2018-08-08 2022-01-26 13 5 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
44 2 2018-08-08 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
ec2Instances.ts
in src/aws
53 5 2018-08-08 2023-09-11 13 9 jacob.winch@guardian.co.uk fredex42@gmail.com
ssmCommand.ts
in src/utils
65 5 2018-07-11 2023-09-11 12 8 tom.forbes@theguardian.com fredex42@gmail.com
elasticsearch.ts
in src/elasticsearch
56 1 2018-08-08 2024-12-16 11 6 jacob.winch@guardian.co.uk tom.richards@guardian.co.uk
20 1 2020-03-20 2022-01-26 9 5 amy.hughes@guardian.co.uk louis.hather@guardian.co.uk
types.ts
in src/elasticsearch
31 1 2018-08-08 2019-01-23 5 4 jacob.winch@guardian.co.uk roberto.tyley@theguardian.com
67 3 2022-01-07 2022-05-25 5 4 tom.richards@guardian.co.uk akash1810@users.noreply.git...
types.ts
in src/aws
12 1 2018-08-08 2021-06-03 4 3 jacob.winch@guardian.co.uk mbarton@users.noreply.githu...
15 1 2018-10-16 2023-09-11 3 2 jacob.winch@guardian.co.uk fredex42@gmail.com
17 1 2022-01-07 2022-01-26 3 2 tom.richards@guardian.co.uk louis.hather@guardian.co.uk
helperFunctions.ts
in src/utils
22 2 2020-01-02 2020-01-03 2 2 buck06191@gmail.com buck06191@users.noreply.git...
Files With Most Contributors (Top 20)
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
521 - 2018-07-05 2024-12-05 59 19 tom.forbes@theguardian.com 10963046+andrew-nowak@users...
65 - 2018-08-15 2025-01-29 23 15 tom.forbes@theguardian.com louischather@hotmail.co.uk
autoscaling.ts
in src/aws
60 6 2018-08-08 2023-09-11 18 11 jacob.winch@guardian.co.uk fredex42@gmail.com
ec2Instances.ts
in src/aws
53 5 2018-08-08 2023-09-11 13 9 jacob.winch@guardian.co.uk fredex42@gmail.com
21 1 2018-08-08 2022-01-26 16 8 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
ssmCommand.ts
in src/utils
65 5 2018-07-11 2023-09-11 12 8 tom.forbes@theguardian.com fredex42@gmail.com
15 1 2018-07-11 2022-01-26 17 7 tom.forbes@theguardian.com louis.hather@guardian.co.uk
17 1 2018-08-08 2022-01-26 13 7 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
handlerInputs.ts
in src/utils
23 - 2018-09-26 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
44 2 2018-08-08 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
15 1 2018-08-01 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
elasticsearch.ts
in src/elasticsearch
56 1 2018-08-08 2024-12-16 11 6 jacob.winch@guardian.co.uk tom.richards@guardian.co.uk
27 1 2018-08-08 2022-01-26 13 5 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
20 1 2020-03-20 2022-01-26 9 5 amy.hughes@guardian.co.uk louis.hather@guardian.co.uk
types.ts
in src/elasticsearch
31 1 2018-08-08 2019-01-23 5 4 jacob.winch@guardian.co.uk roberto.tyley@theguardian.com
67 3 2022-01-07 2022-05-25 5 4 tom.richards@guardian.co.uk akash1810@users.noreply.git...
types.ts
in src/aws
12 1 2018-08-08 2021-06-03 4 3 jacob.winch@guardian.co.uk mbarton@users.noreply.githu...
17 1 2022-01-07 2022-01-26 3 2 tom.richards@guardian.co.uk louis.hather@guardian.co.uk
15 1 2018-10-16 2023-09-11 3 2 jacob.winch@guardian.co.uk fredex42@gmail.com
helperFunctions.ts
in src/utils
22 2 2020-01-02 2020-01-03 2 2 buck06191@gmail.com buck06191@users.noreply.git...
Files With Least Contributors (Top 20)
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
helperFunctions.ts
in src/utils
22 2 2020-01-02 2020-01-03 2 2 buck06191@gmail.com buck06191@users.noreply.git...
17 1 2022-01-07 2022-01-26 3 2 tom.richards@guardian.co.uk louis.hather@guardian.co.uk
15 1 2018-10-16 2023-09-11 3 2 jacob.winch@guardian.co.uk fredex42@gmail.com
types.ts
in src/aws
12 1 2018-08-08 2021-06-03 4 3 jacob.winch@guardian.co.uk mbarton@users.noreply.githu...
67 3 2022-01-07 2022-05-25 5 4 tom.richards@guardian.co.uk akash1810@users.noreply.git...
types.ts
in src/elasticsearch
31 1 2018-08-08 2019-01-23 5 4 jacob.winch@guardian.co.uk roberto.tyley@theguardian.com
27 1 2018-08-08 2022-01-26 13 5 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
20 1 2020-03-20 2022-01-26 9 5 amy.hughes@guardian.co.uk louis.hather@guardian.co.uk
elasticsearch.ts
in src/elasticsearch
56 1 2018-08-08 2024-12-16 11 6 jacob.winch@guardian.co.uk tom.richards@guardian.co.uk
44 2 2018-08-08 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
handlerInputs.ts
in src/utils
23 - 2018-09-26 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
15 1 2018-08-01 2022-01-26 13 6 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
17 1 2018-08-08 2022-01-26 13 7 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
15 1 2018-07-11 2022-01-26 17 7 tom.forbes@theguardian.com louis.hather@guardian.co.uk
ssmCommand.ts
in src/utils
65 5 2018-07-11 2023-09-11 12 8 tom.forbes@theguardian.com fredex42@gmail.com
21 1 2018-08-08 2022-01-26 16 8 jacob.winch@guardian.co.uk louis.hather@guardian.co.uk
ec2Instances.ts
in src/aws
53 5 2018-08-08 2023-09-11 13 9 jacob.winch@guardian.co.uk fredex42@gmail.com
autoscaling.ts
in src/aws
60 6 2018-08-08 2023-09-11 18 11 jacob.winch@guardian.co.uk fredex42@gmail.com
65 - 2018-08-15 2025-01-29 23 15 tom.forbes@theguardian.com louischather@hotmail.co.uk
521 - 2018-07-05 2024-12-05 59 19 tom.forbes@theguardian.com 10963046+andrew-nowak@users...
Correlations

File Size vs. Number of Changes: 20 points

riff-raff.yaml x: 65 lines of code y: 23 # changes src/elasticsearch/elasticsearch.ts x: 56 lines of code y: 11 # changes cloudformation.yaml x: 521 lines of code y: 59 # changes src/aws/autoscaling.ts x: 60 lines of code y: 18 # changes src/aws/ec2Instances.ts x: 53 lines of code y: 13 # changes src/aws/stepFunctions.ts x: 15 lines of code y: 3 # changes src/utils/ssmCommand.ts x: 65 lines of code y: 12 # changes src/getTargetNode.ts x: 67 lines of code y: 5 # changes src/addNode.ts x: 27 lines of code y: 13 # changes src/autoScalingGroupCheck.ts x: 20 lines of code y: 9 # changes src/clusterSizeCheck.ts x: 44 lines of code y: 13 # changes src/clusterStatusCheck.ts x: 15 lines of code y: 17 # changes src/migrateShards.ts x: 15 lines of code y: 13 # changes src/reattachTargetInstance.ts x: 17 lines of code y: 3 # changes src/removeNode.ts x: 21 lines of code y: 16 # changes src/shardMigrationCheck.ts x: 17 lines of code y: 13 # changes src/utils/handlerInputs.ts x: 23 lines of code y: 13 # changes src/aws/types.ts x: 12 lines of code y: 4 # changes src/utils/helperFunctions.ts x: 22 lines of code y: 2 # changes src/elasticsearch/types.ts x: 31 lines of code y: 5 # changes
59.0
# changes
  min: 2.0
  average: 13.25
  25th percentile: 5.0
  median: 13.0
  75th percentile: 15.25
  max: 59.0
0 521.0
lines of code
min: 12.0 | average: 58.3 | 25th percentile: 17.0 | median: 25.0 | 75th percentile: 59.0 | max: 521.0

Number of Contributors vs. Number of Changes: 20 points

riff-raff.yaml x: 15 # contributors y: 23 # changes src/elasticsearch/elasticsearch.ts x: 6 # contributors y: 11 # changes cloudformation.yaml x: 19 # contributors y: 59 # changes src/aws/autoscaling.ts x: 11 # contributors y: 18 # changes src/aws/ec2Instances.ts x: 9 # contributors y: 13 # changes src/aws/stepFunctions.ts x: 2 # contributors y: 3 # changes src/utils/ssmCommand.ts x: 8 # contributors y: 12 # changes src/getTargetNode.ts x: 4 # contributors y: 5 # changes src/addNode.ts x: 5 # contributors y: 13 # changes src/autoScalingGroupCheck.ts x: 5 # contributors y: 9 # changes src/clusterSizeCheck.ts x: 6 # contributors y: 13 # changes src/clusterStatusCheck.ts x: 7 # contributors y: 17 # changes src/removeNode.ts x: 8 # contributors y: 16 # changes src/shardMigrationCheck.ts x: 7 # contributors y: 13 # changes src/aws/types.ts x: 3 # contributors y: 4 # changes src/utils/helperFunctions.ts x: 2 # contributors y: 2 # changes
59.0
# changes
  min: 2.0
  average: 13.25
  25th percentile: 5.0
  median: 13.0
  75th percentile: 15.25
  max: 59.0
0 19.0
# contributors
min: 2.0 | average: 6.75 | 25th percentile: 4.0 | median: 6.0 | 75th percentile: 8.0 | max: 19.0

Number of Contributors vs. File Size: 20 points

riff-raff.yaml x: 15 # contributors y: 65 lines of code src/elasticsearch/elasticsearch.ts x: 6 # contributors y: 56 lines of code cloudformation.yaml x: 19 # contributors y: 521 lines of code src/aws/autoscaling.ts x: 11 # contributors y: 60 lines of code src/aws/ec2Instances.ts x: 9 # contributors y: 53 lines of code src/aws/stepFunctions.ts x: 2 # contributors y: 15 lines of code src/utils/ssmCommand.ts x: 8 # contributors y: 65 lines of code src/getTargetNode.ts x: 4 # contributors y: 67 lines of code src/addNode.ts x: 5 # contributors y: 27 lines of code src/autoScalingGroupCheck.ts x: 5 # contributors y: 20 lines of code src/clusterSizeCheck.ts x: 6 # contributors y: 44 lines of code src/clusterStatusCheck.ts x: 7 # contributors y: 15 lines of code src/migrateShards.ts x: 6 # contributors y: 15 lines of code src/reattachTargetInstance.ts x: 2 # contributors y: 17 lines of code src/removeNode.ts x: 8 # contributors y: 21 lines of code src/shardMigrationCheck.ts x: 7 # contributors y: 17 lines of code src/utils/handlerInputs.ts x: 6 # contributors y: 23 lines of code src/aws/types.ts x: 3 # contributors y: 12 lines of code src/utils/helperFunctions.ts x: 2 # contributors y: 22 lines of code src/elasticsearch/types.ts x: 4 # contributors y: 31 lines of code
521.0
lines of code
  min: 12.0
  average: 58.3
  25th percentile: 17.0
  median: 25.0
  75th percentile: 59.0
  max: 521.0
0 19.0
# contributors
min: 2.0 | average: 6.75 | 25th percentile: 4.0 | median: 6.0 | 75th percentile: 8.0 | max: 19.0