apache / apisix-go-plugin-runner
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 23 files with 1,904 lines of code.
    • 0 files changed more than 100 times (0 lines of code)
    • 0 files changed 51-100 times (0 lines of code)
    • 1 file changed 21-50 times (187 lines of code)
    • 8 files changed 6-20 times (1,090 lines of code)
    • 14 files changed 1-5 times (627 lines of code)
0% | 0% | 9% | 57% | 32%
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 23 files with 1,904 lines of code.
    • 0 files changed by more than 25 contributors (0 lines of code)
    • 0 files changed by 11-25 contributors (0 lines of code)
    • 1 file changed by 6-10 contributors (341 lines of code)
    • 12 files changed by 2-5 contributors (948 lines of code)
    • 10 files changed by 1 contributor (615 lines of code)
0% | 0% | 17% | 49% | 32%
Legend:
26+
11-25
6-10
2-5
1

explore: grouped by folders | grouped by contributors count | data
File Change Frequency per File Extension
go, yml, md, yaml, mod, json, txt, gitignore
File Change Frequency per Extension
The number of recorded file updates
101+
51-100
21-50
6-20
1-5
go0% | 0% | 9% | 57% | 32%
yaml0% | 0% | 0% | 0% | 100%
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
internal0% | 0% | 14% | 67% | 18%
cmd0% | 0% | 0% | 31% | 68%
pkg0% | 0% | 0% | 49% | 50%
ci0% | 0% | 0% | 0% | 100%
Most Frequently Changed Files (Top 23)

See data for all files...

File# lines# unitscreatedlast modified# changes
(days)
# contributorsfirst
contributor
latest
contributor
server.go
in internal/server
187 8 2021-05-18 2022-12-27 21 5 spacewanderlzx@gmail.com andj4cn@gmail.com
plugin.go
in internal/plugin
169 9 2021-05-24 2022-09-28 14 3 spacewanderlzx@gmail.com zhaoshir@outlook.com
http.go
in pkg/http
35 - 2021-05-24 2022-09-28 13 5 spacewanderlzx@gmail.com zhaoshir@outlook.com
request.go
in internal/http
341 19 2021-05-24 2022-12-27 11 6 spacewanderlzx@gmail.com andj4cn@gmail.com
conf.go
in internal/plugin
120 8 2021-05-18 2022-02-14 10 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
response.go
in internal/http
234 15 2021-05-24 2022-12-27 8 3 spacewanderlzx@gmail.com andj4cn@gmail.com
plugin.go
in pkg/plugin
18 3 2021-06-02 2022-12-14 7 3 spacewanderlzx@gmail.com axingfly@gmail.com
main.go
in cmd/go-runner
126 5 2021-05-18 2021-07-06 7 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
log.go
in pkg/log
47 8 2021-06-28 2022-12-08 6 2 spacewanderlzx@gmail.com imyikong@gmail.com
runner.go
in pkg/runner
24 1 2021-06-04 2022-12-08 5 2 spacewanderlzx@gmail.com imyikong@gmail.com
say.go
in cmd/go-runner/plugins
39 4 2021-06-25 2022-06-22 5 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
msg.go
in internal/util
63 4 2021-08-20 2022-12-27 5 5 spacewanderlzx@gmail.com andj4cn@gmail.com
error.go
in internal/server
34 2 2021-05-19 2021-07-06 4 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
limit_req.go
in cmd/go-runner/plugins
47 4 2021-06-30 2022-06-22 4 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
config.yaml
in ci/apisix
21 - 2022-03-23 2022-09-23 3 2 cheverjonathan@gmail.com zhaoshir@outlook.com
fault_injection.go
in cmd/go-runner/plugins
64 5 2021-11-02 2022-06-22 3 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
response_rewrite.go
in cmd/go-runner/plugins
96 4 2022-06-21 2022-09-29 3 1 zhaoshir@outlook.com zhaoshir@outlook.com
pool.go
in internal/util
17 2 2021-05-20 2021-07-06 2 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
version.go
in cmd/go-runner
25 2 2021-05-18 2021-07-06 2 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
recorder.go
in pkg/httptest
72 10 2022-06-21 2022-09-28 2 1 zhaoshir@outlook.com zhaoshir@outlook.com
error.go
in pkg/common
5 - 2021-08-20 2021-08-20 1 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
header.go
in internal/http
13 2 2022-06-17 2022-06-17 1 1 zhaoshir@outlook.com zhaoshir@outlook.com
req-response.go
in internal/http
107 8 2022-06-17 2022-06-17 1 1 zhaoshir@outlook.com zhaoshir@outlook.com
Files With Most Contributors (Top 23)
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
request.go
in internal/http
341 19 2021-05-24 2022-12-27 11 6 spacewanderlzx@gmail.com andj4cn@gmail.com
server.go
in internal/server
187 8 2021-05-18 2022-12-27 21 5 spacewanderlzx@gmail.com andj4cn@gmail.com
http.go
in pkg/http
35 - 2021-05-24 2022-09-28 13 5 spacewanderlzx@gmail.com zhaoshir@outlook.com
msg.go
in internal/util
63 4 2021-08-20 2022-12-27 5 5 spacewanderlzx@gmail.com andj4cn@gmail.com
plugin.go
in internal/plugin
169 9 2021-05-24 2022-09-28 14 3 spacewanderlzx@gmail.com zhaoshir@outlook.com
response.go
in internal/http
234 15 2021-05-24 2022-12-27 8 3 spacewanderlzx@gmail.com andj4cn@gmail.com
plugin.go
in pkg/plugin
18 3 2021-06-02 2022-12-14 7 3 spacewanderlzx@gmail.com axingfly@gmail.com
log.go
in pkg/log
47 8 2021-06-28 2022-12-08 6 2 spacewanderlzx@gmail.com imyikong@gmail.com
say.go
in cmd/go-runner/plugins
39 4 2021-06-25 2022-06-22 5 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
runner.go
in pkg/runner
24 1 2021-06-04 2022-12-08 5 2 spacewanderlzx@gmail.com imyikong@gmail.com
limit_req.go
in cmd/go-runner/plugins
47 4 2021-06-30 2022-06-22 4 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
fault_injection.go
in cmd/go-runner/plugins
64 5 2021-11-02 2022-06-22 3 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
config.yaml
in ci/apisix
21 - 2022-03-23 2022-09-23 3 2 cheverjonathan@gmail.com zhaoshir@outlook.com
conf.go
in internal/plugin
120 8 2021-05-18 2022-02-14 10 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
main.go
in cmd/go-runner
126 5 2021-05-18 2021-07-06 7 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
error.go
in internal/server
34 2 2021-05-19 2021-07-06 4 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
response_rewrite.go
in cmd/go-runner/plugins
96 4 2022-06-21 2022-09-29 3 1 zhaoshir@outlook.com zhaoshir@outlook.com
version.go
in cmd/go-runner
25 2 2021-05-18 2021-07-06 2 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
pool.go
in internal/util
17 2 2021-05-20 2021-07-06 2 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
recorder.go
in pkg/httptest
72 10 2022-06-21 2022-09-28 2 1 zhaoshir@outlook.com zhaoshir@outlook.com
req-response.go
in internal/http
107 8 2022-06-17 2022-06-17 1 1 zhaoshir@outlook.com zhaoshir@outlook.com
header.go
in internal/http
13 2 2022-06-17 2022-06-17 1 1 zhaoshir@outlook.com zhaoshir@outlook.com
error.go
in pkg/common
5 - 2021-08-20 2021-08-20 1 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
Files With Least Contributors (Top 23)
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
main.go
in cmd/go-runner
126 5 2021-05-18 2021-07-06 7 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
conf.go
in internal/plugin
120 8 2021-05-18 2022-02-14 10 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
req-response.go
in internal/http
107 8 2022-06-17 2022-06-17 1 1 zhaoshir@outlook.com zhaoshir@outlook.com
response_rewrite.go
in cmd/go-runner/plugins
96 4 2022-06-21 2022-09-29 3 1 zhaoshir@outlook.com zhaoshir@outlook.com
recorder.go
in pkg/httptest
72 10 2022-06-21 2022-09-28 2 1 zhaoshir@outlook.com zhaoshir@outlook.com
error.go
in internal/server
34 2 2021-05-19 2021-07-06 4 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
version.go
in cmd/go-runner
25 2 2021-05-18 2021-07-06 2 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
pool.go
in internal/util
17 2 2021-05-20 2021-07-06 2 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
header.go
in internal/http
13 2 2022-06-17 2022-06-17 1 1 zhaoshir@outlook.com zhaoshir@outlook.com
error.go
in pkg/common
5 - 2021-08-20 2021-08-20 1 1 spacewanderlzx@gmail.com spacewanderlzx@gmail.com
fault_injection.go
in cmd/go-runner/plugins
64 5 2021-11-02 2022-06-22 3 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
limit_req.go
in cmd/go-runner/plugins
47 4 2021-06-30 2022-06-22 4 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
log.go
in pkg/log
47 8 2021-06-28 2022-12-08 6 2 spacewanderlzx@gmail.com imyikong@gmail.com
say.go
in cmd/go-runner/plugins
39 4 2021-06-25 2022-06-22 5 2 spacewanderlzx@gmail.com zhaoshir@outlook.com
runner.go
in pkg/runner
24 1 2021-06-04 2022-12-08 5 2 spacewanderlzx@gmail.com imyikong@gmail.com
config.yaml
in ci/apisix
21 - 2022-03-23 2022-09-23 3 2 cheverjonathan@gmail.com zhaoshir@outlook.com
response.go
in internal/http
234 15 2021-05-24 2022-12-27 8 3 spacewanderlzx@gmail.com andj4cn@gmail.com
plugin.go
in internal/plugin
169 9 2021-05-24 2022-09-28 14 3 spacewanderlzx@gmail.com zhaoshir@outlook.com
plugin.go
in pkg/plugin
18 3 2021-06-02 2022-12-14 7 3 spacewanderlzx@gmail.com axingfly@gmail.com
server.go
in internal/server
187 8 2021-05-18 2022-12-27 21 5 spacewanderlzx@gmail.com andj4cn@gmail.com
msg.go
in internal/util
63 4 2021-08-20 2022-12-27 5 5 spacewanderlzx@gmail.com andj4cn@gmail.com
http.go
in pkg/http
35 - 2021-05-24 2022-09-28 13 5 spacewanderlzx@gmail.com zhaoshir@outlook.com
request.go
in internal/http
341 19 2021-05-24 2022-12-27 11 6 spacewanderlzx@gmail.com andj4cn@gmail.com
Correlations

File Size vs. Number of Changes: 23 points

internal/http/request.go x: 341 lines of code y: 11 # changes internal/http/response.go x: 234 lines of code y: 8 # changes internal/server/server.go x: 187 lines of code y: 21 # changes internal/util/msg.go x: 63 lines of code y: 5 # changes pkg/plugin/plugin.go x: 18 lines of code y: 7 # changes pkg/log/log.go x: 47 lines of code y: 6 # changes pkg/runner/runner.go x: 24 lines of code y: 5 # changes cmd/go-runner/plugins/response_rewrite.go x: 96 lines of code y: 3 # changes internal/plugin/plugin.go x: 169 lines of code y: 14 # changes pkg/http/http.go x: 35 lines of code y: 13 # changes pkg/httptest/recorder.go x: 72 lines of code y: 2 # changes ci/apisix/config.yaml x: 21 lines of code y: 3 # changes cmd/go-runner/plugins/fault_injection.go x: 64 lines of code y: 3 # changes cmd/go-runner/plugins/limit_req.go x: 47 lines of code y: 4 # changes cmd/go-runner/plugins/say.go x: 39 lines of code y: 5 # changes internal/http/header.go x: 13 lines of code y: 1 # changes internal/http/req-response.go x: 107 lines of code y: 1 # changes internal/plugin/conf.go x: 120 lines of code y: 10 # changes pkg/common/error.go x: 5 lines of code y: 1 # changes cmd/go-runner/main.go x: 126 lines of code y: 7 # changes cmd/go-runner/version.go x: 25 lines of code y: 2 # changes internal/server/error.go x: 34 lines of code y: 4 # changes internal/util/pool.go x: 17 lines of code y: 2 # changes
21.0
# changes
  min: 1.0
  average: 6.0
  25th percentile: 2.0
  median: 5.0
  75th percentile: 8.0
  max: 21.0
0 341.0
lines of code
min: 5.0 | average: 82.78 | 25th percentile: 24.0 | median: 47.0 | 75th percentile: 120.0 | max: 341.0

Number of Contributors vs. Number of Changes: 23 points

internal/http/request.go x: 6 # contributors y: 11 # changes internal/http/response.go x: 3 # contributors y: 8 # changes internal/server/server.go x: 5 # contributors y: 21 # changes internal/util/msg.go x: 5 # contributors y: 5 # changes pkg/plugin/plugin.go x: 3 # contributors y: 7 # changes pkg/log/log.go x: 2 # contributors y: 6 # changes pkg/runner/runner.go x: 2 # contributors y: 5 # changes cmd/go-runner/plugins/response_rewrite.go x: 1 # contributors y: 3 # changes internal/plugin/plugin.go x: 3 # contributors y: 14 # changes pkg/http/http.go x: 5 # contributors y: 13 # changes pkg/httptest/recorder.go x: 1 # contributors y: 2 # changes ci/apisix/config.yaml x: 2 # contributors y: 3 # changes cmd/go-runner/plugins/limit_req.go x: 2 # contributors y: 4 # changes internal/http/header.go x: 1 # contributors y: 1 # changes internal/plugin/conf.go x: 1 # contributors y: 10 # changes cmd/go-runner/main.go x: 1 # contributors y: 7 # changes internal/server/error.go x: 1 # contributors y: 4 # changes
21.0
# changes
  min: 1.0
  average: 6.0
  25th percentile: 2.0
  median: 5.0
  75th percentile: 8.0
  max: 21.0
0 6.0
# contributors
min: 1.0 | average: 2.26 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.0

Number of Contributors vs. File Size: 23 points

internal/http/request.go x: 6 # contributors y: 341 lines of code internal/http/response.go x: 3 # contributors y: 234 lines of code internal/server/server.go x: 5 # contributors y: 187 lines of code internal/util/msg.go x: 5 # contributors y: 63 lines of code pkg/plugin/plugin.go x: 3 # contributors y: 18 lines of code pkg/log/log.go x: 2 # contributors y: 47 lines of code pkg/runner/runner.go x: 2 # contributors y: 24 lines of code cmd/go-runner/plugins/response_rewrite.go x: 1 # contributors y: 96 lines of code internal/plugin/plugin.go x: 3 # contributors y: 169 lines of code pkg/http/http.go x: 5 # contributors y: 35 lines of code pkg/httptest/recorder.go x: 1 # contributors y: 72 lines of code ci/apisix/config.yaml x: 2 # contributors y: 21 lines of code cmd/go-runner/plugins/fault_injection.go x: 2 # contributors y: 64 lines of code cmd/go-runner/plugins/say.go x: 2 # contributors y: 39 lines of code internal/http/header.go x: 1 # contributors y: 13 lines of code internal/http/req-response.go x: 1 # contributors y: 107 lines of code internal/plugin/conf.go x: 1 # contributors y: 120 lines of code pkg/common/error.go x: 1 # contributors y: 5 lines of code cmd/go-runner/main.go x: 1 # contributors y: 126 lines of code cmd/go-runner/version.go x: 1 # contributors y: 25 lines of code internal/server/error.go x: 1 # contributors y: 34 lines of code internal/util/pool.go x: 1 # contributors y: 17 lines of code
341.0
lines of code
  min: 5.0
  average: 82.78
  25th percentile: 24.0
  median: 47.0
  75th percentile: 120.0
  max: 341.0
0 6.0
# contributors
min: 1.0 | average: 2.26 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.0