Uber / zanzibar
File Size

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

Intro
Learn more...
File Size Overall
49% | 11% | 17% | 15% | 6%
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
go50% | 11% | 17% | 14% | 5%
js0% | 0% | 0% | 100% | 0%
yaml0% | 0% | 0% | 0% | 100%
lua0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
codegen74% | 6% | 11% | 6% | 1%
runtime0% | 26% | 37% | 21% | 14%
scripts0% | 0% | 0% | 89% | 10%
config0% | 0% | 0% | 60% | 39%
benchmarks0% | 0% | 0% | 68% | 31%
parallelize0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
template_files.go
in codegen/template_bundle
4464 141
1573 47
module.go
in codegen
1492 61
method.go
in codegen
1279 32
1051 26
gateway.go
in codegen
868 22
gateway.go
in runtime
790 22
669 41
context.go
in runtime
420 49
419 10
service.go
in codegen
330 16
285 23
package.go
in codegen
281 31
253 17
client.go
in codegen
243 14
233 5
trie.go
in runtime/router
227 9
218 8
211 9
runner.go
in codegen/runner
211 3
router.go
in runtime
206 10
195 7
194 8
thrift.go
in codegen
186 9
182 16
main.go
in benchmarks/runner
174 5
173 10
template.go
in codegen
172 13
casing.go
in codegen
165 10
163 7
157 9
easy_json.go
in scripts/easy_json
152 6
150 19
149 4
parallelize.go
in parallelize
139 13
mockgen.go
in codegen
130 7
constants.go
in runtime
124 -
main.go
in scripts/resolve_i64
123 6
router.go
in runtime/router
117 6
111 2
grpc_client.go
in runtime
101 4
http_client.go
in runtime
94 4
m3_aggregator.go
in runtime/plugins
87 7
proto.go
in codegen
87 22
middlewares.go
in runtime
86 7
73 13
69 6
main.go
in benchmarks/benchserver
69 3
http_server.go
in runtime
65 4
config.go
in config
61 3
Files With Most Units (Top 50)
File# lines# units
template_files.go
in codegen/template_bundle
4464 141
module.go
in codegen
1492 61
context.go
in runtime
420 49
1573 47
669 41
method.go
in codegen
1279 32
package.go
in codegen
281 31
1051 26
285 23
gateway.go
in runtime
790 22
gateway.go
in codegen
868 22
proto.go
in codegen
87 22
150 19
253 17
182 16
service.go
in codegen
330 16
client.go
in codegen
243 14
parallelize.go
in parallelize
139 13
73 13
template.go
in codegen
172 13
173 10
router.go
in runtime
206 10
419 10
casing.go
in codegen
165 10
211 9
157 9
trie.go
in runtime/router
227 9
thrift.go
in codegen
186 9
218 8
194 8
m3_aggregator.go
in runtime/plugins
87 7
195 7
middlewares.go
in runtime
86 7
mockgen.go
in codegen
130 7
163 7
69 6
router.go
in runtime/router
117 6
main.go
in scripts/resolve_i64
123 6
easy_json.go
in scripts/easy_json
152 6
233 5
main.go
in benchmarks/runner
174 5
http_client.go
in runtime
94 4
rule_engine.go
in runtime/ruleengine
58 4
http_server.go
in runtime
65 4
35 4
grpc_client.go
in runtime
101 4
57 4
149 4
config.go
in config
61 3
jsonwrapper.go
in runtime/jsonwrapper
17 3
Files With Long Lines (Top 19)

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

File# lines# units# long lines
template_files.go
in codegen/template_bundle
4464 141 57
trie.go
in runtime/router
227 9 9
1051 26 9
module.go
in codegen
1492 61 7
service.go
in codegen
330 16 4
http_client.go
in runtime
94 4 2
15 - 2
context.go
in runtime
420 49 2
1573 47 2
method.go
in codegen
1279 32 2
gateway.go
in runtime
790 22 1
173 10 1
grpc_client.go
in runtime
101 4 1
194 8 1
utils.go
in runtime
26 3 1
195 7 1
285 23 1
router.go
in runtime
206 10 1
111 2 1
Correlations

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

runtime/gateway.go x: 190 commits (all time) y: 790 lines of code codegen/template_bundle/template_files.go x: 510 commits (all time) y: 4464 lines of code runtime/tchannel_outbound_call.go x: 43 commits (all time) y: 195 lines of code runtime/context.go x: 78 commits (all time) y: 420 lines of code runtime/utils.go x: 5 commits (all time) y: 26 lines of code config/production.gen.go x: 23 commits (all time) y: 182 lines of code runtime/client_http_request.go x: 87 commits (all time) y: 211 lines of code runtime/client_http_response.go x: 69 commits (all time) y: 173 lines of code runtime/grpc_client.go x: 21 commits (all time) y: 101 lines of code runtime/server_http_request.go x: 123 commits (all time) y: 669 lines of code runtime/server_http_response.go x: 110 commits (all time) y: 253 lines of code runtime/tchannel_inbound_call.go x: 31 commits (all time) y: 218 lines of code runtime/router.go x: 108 commits (all time) y: 206 lines of code runtime/middlewares_tchannel.go x: 15 commits (all time) y: 69 lines of code runtime/tchannel_helpers.go x: 16 commits (all time) y: 57 lines of code runtime/tchannel_interfaces.go x: 31 commits (all time) y: 15 lines of code runtime/tchannel_server.go x: 85 commits (all time) y: 194 lines of code runtime/tchannel_client.go x: 102 commits (all time) y: 233 lines of code runtime/tchannel_client_raw.go x: 31 commits (all time) y: 47 lines of code codegen/gateway.go x: 230 commits (all time) y: 868 lines of code config/production.yaml x: 10 commits (all time) y: 24 lines of code codegen/module.go x: 151 commits (all time) y: 1492 lines of code codegen/module_system.go x: 241 commits (all time) y: 1573 lines of code codegen/runner/runner.go x: 131 commits (all time) y: 211 lines of code codegen/template.go x: 172 commits (all time) y: 172 lines of code runtime/constants.go x: 30 commits (all time) y: 124 lines of code runtime/middlewares.go x: 45 commits (all time) y: 86 lines of code benchmarks/benchserver/main.go x: 33 commits (all time) y: 69 lines of code benchmarks/runner/main.go x: 47 commits (all time) y: 174 lines of code codegen/casing.go x: 33 commits (all time) y: 165 lines of code codegen/client.go x: 36 commits (all time) y: 243 lines of code codegen/header_propagate.go x: 13 commits (all time) y: 149 lines of code codegen/method.go x: 204 commits (all time) y: 1279 lines of code codegen/mockgen.go x: 29 commits (all time) y: 130 lines of code codegen/package.go x: 112 commits (all time) y: 281 lines of code codegen/post_gen_hooks.go x: 60 commits (all time) y: 419 lines of code codegen/proto.go x: 10 commits (all time) y: 87 lines of code codegen/reflect_interface.go x: 15 commits (all time) y: 111 lines of code codegen/service.go x: 93 commits (all time) y: 330 lines of code codegen/thrift.go x: 33 commits (all time) y: 186 lines of code codegen/type_converter.go x: 91 commits (all time) y: 1051 lines of code config/config.go x: 21 commits (all time) y: 61 lines of code fix_glide.go x: 16 commits (all time) y: 10 lines of code parallelize/parallelize.go x: 7 commits (all time) y: 139 lines of code runtime/http_client.go x: 59 commits (all time) y: 94 lines of code runtime/http_server.go x: 22 commits (all time) y: 65 lines of code runtime/jsonwrapper/jsonwrapper.go x: 9 commits (all time) y: 17 lines of code runtime/options.go x: 3 commits (all time) y: 8 lines of code runtime/plugins/m3_aggregator.go x: 18 commits (all time) y: 87 lines of code runtime/router/router.go x: 14 commits (all time) y: 117 lines of code runtime/router/trie.go x: 11 commits (all time) y: 227 lines of code runtime/ruleengine/rule_engine.go x: 8 commits (all time) y: 58 lines of code runtime/runtime_metrics.go x: 16 commits (all time) y: 157 lines of code runtime/server_header.go x: 38 commits (all time) y: 150 lines of code runtime/static_config.go x: 44 commits (all time) y: 285 lines of code runtime/tchannel_headers.go x: 11 commits (all time) y: 49 lines of code runtime/tchannel_logger.go x: 20 commits (all time) y: 73 lines of code runtime/tchannel_metrics.go x: 14 commits (all time) y: 35 lines of code scripts/easy_json/easy_json.go x: 22 commits (all time) y: 152 lines of code scripts/resolve_i64/main.go x: 17 commits (all time) y: 123 lines of code scripts/resolve_thrift/main.go x: 16 commits (all time) y: 52 lines of code codegen/test-service/endpoints/health/embedded-client/client-config.yaml x: 4 commits (all time) y: 8 lines of code config/test.yaml x: 7 commits (all time) y: 32 lines of code codegen/test-service/services/test-gateway/service-config.yaml x: 1 commits (all time) y: 9 lines of code codegen/test-service-cycle/clients/example-a/client-config.yaml x: 2 commits (all time) y: 8 lines of code benchmarks/baz_call_16B.lua x: 5 commits (all time) y: 4 lines of code scripts/gocov-to-istanbul-coverage.js x: 5 commits (all time) y: 163 lines of code
4464.0
lines of code
  min: 2.0
  average: 259.68
  25th percentile: 25.0
  median: 117.0
  75th percentile: 211.0
  max: 4464.0
0 510.0
commits (all time)
min: 1.0 | average: 51.01 | 25th percentile: 7.5 | median: 21.0 | 75th percentile: 64.5 | max: 510.0

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

runtime/gateway.go x: 43 contributors (all time) y: 790 lines of code codegen/template_bundle/template_files.go x: 63 contributors (all time) y: 4464 lines of code runtime/tchannel_outbound_call.go x: 19 contributors (all time) y: 195 lines of code runtime/context.go x: 26 contributors (all time) y: 420 lines of code runtime/utils.go x: 3 contributors (all time) y: 26 lines of code config/production.gen.go x: 17 contributors (all time) y: 182 lines of code runtime/client_http_request.go x: 26 contributors (all time) y: 211 lines of code runtime/client_http_response.go x: 27 contributors (all time) y: 173 lines of code runtime/grpc_client.go x: 13 contributors (all time) y: 101 lines of code runtime/server_http_request.go x: 34 contributors (all time) y: 669 lines of code runtime/server_http_response.go x: 36 contributors (all time) y: 253 lines of code runtime/tchannel_inbound_call.go x: 17 contributors (all time) y: 218 lines of code runtime/router.go x: 34 contributors (all time) y: 206 lines of code runtime/middlewares_tchannel.go x: 13 contributors (all time) y: 69 lines of code runtime/tchannel_helpers.go x: 14 contributors (all time) y: 57 lines of code runtime/tchannel_interfaces.go x: 16 contributors (all time) y: 15 lines of code runtime/tchannel_server.go x: 27 contributors (all time) y: 194 lines of code runtime/tchannel_client.go x: 31 contributors (all time) y: 233 lines of code runtime/tchannel_client_raw.go x: 17 contributors (all time) y: 47 lines of code codegen/gateway.go x: 33 contributors (all time) y: 868 lines of code config/production.yaml x: 7 contributors (all time) y: 24 lines of code codegen/module.go x: 38 contributors (all time) y: 1492 lines of code codegen/module_system.go x: 39 contributors (all time) y: 1573 lines of code codegen/runner/runner.go x: 33 contributors (all time) y: 211 lines of code runtime/constants.go x: 15 contributors (all time) y: 124 lines of code runtime/middlewares.go x: 21 contributors (all time) y: 86 lines of code benchmarks/benchserver/main.go x: 16 contributors (all time) y: 69 lines of code benchmarks/runner/main.go x: 20 contributors (all time) y: 174 lines of code codegen/casing.go x: 16 contributors (all time) y: 165 lines of code codegen/client.go x: 14 contributors (all time) y: 243 lines of code codegen/header_propagate.go x: 10 contributors (all time) y: 149 lines of code codegen/method.go x: 37 contributors (all time) y: 1279 lines of code codegen/mockgen.go x: 10 contributors (all time) y: 130 lines of code codegen/package.go x: 33 contributors (all time) y: 281 lines of code codegen/post_gen_hooks.go x: 13 contributors (all time) y: 419 lines of code codegen/proto.go x: 8 contributors (all time) y: 87 lines of code codegen/reflect_interface.go x: 10 contributors (all time) y: 111 lines of code codegen/service.go x: 24 contributors (all time) y: 330 lines of code codegen/thrift.go x: 20 contributors (all time) y: 186 lines of code codegen/type_converter.go x: 23 contributors (all time) y: 1051 lines of code fix_glide.go x: 12 contributors (all time) y: 10 lines of code parallelize/parallelize.go x: 6 contributors (all time) y: 139 lines of code runtime/http_client.go x: 25 contributors (all time) y: 94 lines of code runtime/jsonwrapper/jsonwrapper.go x: 6 contributors (all time) y: 17 lines of code runtime/options.go x: 1 contributors (all time) y: 8 lines of code runtime/plugins/m3_aggregator.go x: 10 contributors (all time) y: 87 lines of code runtime/router/router.go x: 9 contributors (all time) y: 117 lines of code runtime/router/trie.go x: 8 contributors (all time) y: 227 lines of code runtime/ruleengine/rule_engine.go x: 7 contributors (all time) y: 58 lines of code runtime/runtime_metrics.go x: 12 contributors (all time) y: 157 lines of code runtime/server_header.go x: 19 contributors (all time) y: 150 lines of code runtime/static_config.go x: 24 contributors (all time) y: 285 lines of code runtime/tchannel_headers.go x: 10 contributors (all time) y: 49 lines of code runtime/tchannel_logger.go x: 14 contributors (all time) y: 73 lines of code runtime/tchannel_metrics.go x: 12 contributors (all time) y: 35 lines of code scripts/easy_json/easy_json.go x: 13 contributors (all time) y: 152 lines of code scripts/resolve_i64/main.go x: 11 contributors (all time) y: 123 lines of code scripts/resolve_thrift/main.go x: 12 contributors (all time) y: 52 lines of code codegen/test-service/endpoints/health/embedded-client/client-config.yaml x: 4 contributors (all time) y: 8 lines of code codegen/test-service-cycle/clients/example-a/client-config.yaml x: 2 contributors (all time) y: 8 lines of code benchmarks/baz_call_16B.lua x: 3 contributors (all time) y: 4 lines of code scripts/gocov-to-istanbul-coverage.js x: 4 contributors (all time) y: 163 lines of code
4464.0
lines of code
  min: 2.0
  average: 259.68
  25th percentile: 25.0
  median: 117.0
  75th percentile: 211.0
  max: 4464.0
0 63.0
contributors (all time)
min: 1.0 | average: 15.86 | 25th percentile: 6.5 | median: 13.0 | 75th percentile: 24.0 | max: 63.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".