apache / apisix-go-plugin-runner
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 30% | 37% | 32%
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
go0% | 0% | 30% | 37% | 31%
yaml0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
internal0% | 0% | 44% | 45% | 9%
cmd0% | 0% | 0% | 31% | 68%
pkg0% | 0% | 0% | 0% | 100%
ci0% | 0% | 0% | 0% | 100%
Longest Files (Top 23)
File# lines# units
request.go
in internal/http
341 19
response.go
in internal/http
234 15
server.go
in internal/server
187 8
plugin.go
in internal/plugin
169 9
main.go
in cmd/go-runner
126 5
conf.go
in internal/plugin
120 8
req-response.go
in internal/http
107 8
response_rewrite.go
in cmd/go-runner/plugins
96 4
recorder.go
in pkg/httptest
72 10
fault_injection.go
in cmd/go-runner/plugins
64 5
msg.go
in internal/util
63 4
limit_req.go
in cmd/go-runner/plugins
47 4
log.go
in pkg/log
47 8
say.go
in cmd/go-runner/plugins
39 4
http.go
in pkg/http
35 -
error.go
in internal/server
34 2
version.go
in cmd/go-runner
25 2
runner.go
in pkg/runner
24 1
config.yaml
in ci/apisix
21 -
plugin.go
in pkg/plugin
18 3
pool.go
in internal/util
17 2
header.go
in internal/http
13 2
error.go
in pkg/common
5 -
Files With Most Units (Top 20)
File# lines# units
request.go
in internal/http
341 19
response.go
in internal/http
234 15
recorder.go
in pkg/httptest
72 10
plugin.go
in internal/plugin
169 9
conf.go
in internal/plugin
120 8
server.go
in internal/server
187 8
req-response.go
in internal/http
107 8
log.go
in pkg/log
47 8
fault_injection.go
in cmd/go-runner/plugins
64 5
main.go
in cmd/go-runner
126 5
limit_req.go
in cmd/go-runner/plugins
47 4
say.go
in cmd/go-runner/plugins
39 4
response_rewrite.go
in cmd/go-runner/plugins
96 4
msg.go
in internal/util
63 4
plugin.go
in pkg/plugin
18 3
version.go
in cmd/go-runner
25 2
pool.go
in internal/util
17 2
error.go
in internal/server
34 2
header.go
in internal/http
13 2
runner.go
in pkg/runner
24 1
Files With Long Lines (Top 0)

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

File# lines# units# long lines
Correlations

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

internal/http/request.go x: 14 commits (all time) y: 341 lines of code internal/http/response.go x: 10 commits (all time) y: 234 lines of code internal/server/server.go x: 26 commits (all time) y: 187 lines of code internal/util/msg.go x: 5 commits (all time) y: 63 lines of code pkg/plugin/plugin.go x: 8 commits (all time) y: 18 lines of code pkg/log/log.go x: 7 commits (all time) y: 47 lines of code pkg/runner/runner.go x: 6 commits (all time) y: 24 lines of code cmd/go-runner/plugins/response_rewrite.go x: 3 commits (all time) y: 96 lines of code internal/plugin/plugin.go x: 16 commits (all time) y: 169 lines of code pkg/http/http.go x: 16 commits (all time) y: 35 lines of code pkg/httptest/recorder.go x: 2 commits (all time) y: 72 lines of code ci/apisix/config.yaml x: 3 commits (all time) y: 21 lines of code cmd/go-runner/plugins/fault_injection.go x: 3 commits (all time) y: 64 lines of code cmd/go-runner/plugins/limit_req.go x: 4 commits (all time) y: 47 lines of code cmd/go-runner/plugins/say.go x: 6 commits (all time) y: 39 lines of code internal/http/header.go x: 1 commits (all time) y: 13 lines of code internal/http/req-response.go x: 1 commits (all time) y: 107 lines of code internal/plugin/conf.go x: 12 commits (all time) y: 120 lines of code pkg/common/error.go x: 1 commits (all time) y: 5 lines of code cmd/go-runner/main.go x: 8 commits (all time) y: 126 lines of code cmd/go-runner/version.go x: 3 commits (all time) y: 25 lines of code internal/server/error.go x: 5 commits (all time) y: 34 lines of code internal/util/pool.go x: 3 commits (all time) 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 26.0
commits (all time)
min: 1.0 | average: 7.09 | 25th percentile: 3.0 | median: 5.0 | 75th percentile: 10.0 | max: 26.0

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

internal/http/request.go x: 6 contributors (all time) y: 341 lines of code internal/http/response.go x: 3 contributors (all time) y: 234 lines of code internal/server/server.go x: 5 contributors (all time) y: 187 lines of code internal/util/msg.go x: 5 contributors (all time) y: 63 lines of code pkg/plugin/plugin.go x: 3 contributors (all time) y: 18 lines of code pkg/log/log.go x: 2 contributors (all time) y: 47 lines of code pkg/runner/runner.go x: 2 contributors (all time) y: 24 lines of code cmd/go-runner/plugins/response_rewrite.go x: 1 contributors (all time) y: 96 lines of code internal/plugin/plugin.go x: 3 contributors (all time) y: 169 lines of code pkg/http/http.go x: 5 contributors (all time) y: 35 lines of code pkg/httptest/recorder.go x: 1 contributors (all time) y: 72 lines of code ci/apisix/config.yaml x: 2 contributors (all time) y: 21 lines of code cmd/go-runner/plugins/fault_injection.go x: 2 contributors (all time) y: 64 lines of code cmd/go-runner/plugins/say.go x: 2 contributors (all time) y: 39 lines of code internal/http/header.go x: 1 contributors (all time) y: 13 lines of code internal/http/req-response.go x: 1 contributors (all time) y: 107 lines of code internal/plugin/conf.go x: 1 contributors (all time) y: 120 lines of code pkg/common/error.go x: 1 contributors (all time) y: 5 lines of code cmd/go-runner/main.go x: 1 contributors (all time) y: 126 lines of code cmd/go-runner/version.go x: 1 contributors (all time) y: 25 lines of code internal/server/error.go x: 1 contributors (all time) y: 34 lines of code internal/util/pool.go x: 1 contributors (all time) 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 (all time)
min: 1.0 | average: 2.26 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 6.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".