apache / rocketmq-client-go
File Size

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

Intro
Learn more...
File Size Overall
9% | 34% | 33% | 10% | 12%
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
go9% | 34% | 33% | 10% | 12%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
consumer25% | 37% | 29% | 3% | 4%
internal0% | 40% | 38% | 7% | 14%
producer0% | 67% | 0% | 24% | 7%
benchmark0% | 0% | 67% | 24% | 8%
primitive0% | 0% | 42% | 29% | 28%
admin0% | 0% | 58% | 0% | 41%
rlog0% | 0% | 0% | 100% | 0%
ROOT0% | 0% | 0% | 0% | 100%
errors0% | 0% | 0% | 0% | 100%
hooks0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
push_consumer.go
in consumer
1215 42
consumer.go
in consumer
974 44
client.go
in internal
878 37
pull_consumer.go
in consumer
857 49
producer.go
in producer
658 33
route.go
in internal
556 23
request.go
in internal
532 29
trace.go
in internal
461 14
message.go
in primitive
443 35
statistics.go
in consumer
406 41
model.go
in internal
394 15
codec.go
in internal/remote
391 17
offset_store.go
in consumer
375 21
process_queue.go
in consumer
368 27
remote_client.go
in internal/remote
320 15
mock_client.go
in internal
271 65
option.go
in consumer
260 38
producer.go
in benchmark
237 6
consumer.go
in benchmark
224 6
admin.go
in admin
223 14
strategy.go
in consumer
191 6
nsresolver.go
in primitive
190 14
log.go
in rlog
178 19
stable.go
in benchmark
165 14
option.go
in producer
140 20
mock_namesrv.go
in internal
122 23
ctx.go
in primitive
121 13
namesrv.go
in internal
111 8
107 10
selector.go
in producer
101 9
base.go
in primitive
99 5
option.go
in admin
96 14
result.go
in primitive
88 9
interceptor.go
in consumer
86 2
76 14
interceptor.go
in producer
72 2
set.go
in internal/utils
72 9
mock_remote_client.go
in internal/remote
69 14
files.go
in internal/utils
67 3
api.go
in root
63 4
response.go
in admin
62 4
compression.go
in internal/utils
62 3
interceptor.go
in internal/remote
57 2
main.go
in benchmark
48 3
tcp_conn.go
in internal/remote
48 3
net.go
in internal/utils
47 4
future.go
in internal/remote
44 3
namespace.go
in internal/utils
38 3
errors.go
in errors
36 -
errors.go
in primitive
34 6
Files With Most Units (Top 50)
File# lines# units
mock_client.go
in internal
271 65
pull_consumer.go
in consumer
857 49
consumer.go
in consumer
974 44
push_consumer.go
in consumer
1215 42
statistics.go
in consumer
406 41
option.go
in consumer
260 38
client.go
in internal
878 37
message.go
in primitive
443 35
producer.go
in producer
658 33
request.go
in internal
532 29
process_queue.go
in consumer
368 27
mock_namesrv.go
in internal
122 23
route.go
in internal
556 23
offset_store.go
in consumer
375 21
option.go
in producer
140 20
log.go
in rlog
178 19
codec.go
in internal/remote
391 17
model.go
in internal
394 15
remote_client.go
in internal/remote
320 15
nsresolver.go
in primitive
190 14
admin.go
in admin
223 14
option.go
in admin
96 14
76 14
stable.go
in benchmark
165 14
trace.go
in internal
461 14
mock_remote_client.go
in internal/remote
69 14
ctx.go
in primitive
121 13
107 10
result.go
in primitive
88 9
selector.go
in producer
101 9
set.go
in internal/utils
72 9
namesrv.go
in internal
111 8
errors.go
in primitive
34 6
strategy.go
in consumer
191 6
producer.go
in benchmark
237 6
consumer.go
in benchmark
224 6
pool.go
in primitive
32 5
base.go
in primitive
99 5
api.go
in root
63 4
response.go
in admin
62 4
net.go
in internal/utils
47 4
perm.go
in internal
32 4
main.go
in benchmark
48 3
namespace.go
in internal/utils
38 3
compression.go
in internal/utils
62 3
files.go
in internal/utils
67 3
tcp_conn.go
in internal/remote
48 3
future.go
in internal/remote
44 3
interceptor.go
in primitive
25 2
interceptor.go
in consumer
86 2
Files With Long Lines (Top 21)

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

File# lines# units# long lines
mock_client.go
in internal
271 65 31
client.go
in internal
878 37 13
pull_consumer.go
in consumer
857 49 12
mock_namesrv.go
in internal
122 23 12
push_consumer.go
in consumer
1215 42 9
producer.go
in producer
658 33 8
mock_remote_client.go
in internal/remote
69 14 8
consumer.go
in consumer
974 44 5
selector.go
in producer
101 9 5
admin.go
in admin
223 14 4
76 14 4
route.go
in internal
556 23 4
api.go
in root
63 4 3
strategy.go
in consumer
191 6 3
107 10 3
base.go
in primitive
99 5 2
offset_store.go
in consumer
375 21 2
namesrv.go
in internal
111 8 2
remote_client.go
in internal/remote
320 15 2
message.go
in primitive
443 35 1
errors.go
in errors
36 - 1
Correlations

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

internal/trace.go x: 33 commits (all time) y: 461 lines of code consumer/pull_consumer.go x: 39 commits (all time) y: 857 lines of code consumer/push_consumer.go x: 133 commits (all time) y: 1215 lines of code primitive/base.go x: 10 commits (all time) y: 99 lines of code api.go x: 24 commits (all time) y: 63 lines of code consumer/consumer.go x: 71 commits (all time) y: 974 lines of code consumer/mock_offset_store.go x: 8 commits (all time) y: 76 lines of code errors/errors.go x: 6 commits (all time) y: 36 lines of code internal/remote/remote_client.go x: 46 commits (all time) y: 320 lines of code internal/utils/errors.go x: 10 commits (all time) y: 17 lines of code rlog/log.go x: 19 commits (all time) y: 178 lines of code producer/producer.go x: 81 commits (all time) y: 658 lines of code admin/admin.go x: 14 commits (all time) y: 223 lines of code primitive/nsresolver.go x: 11 commits (all time) y: 190 lines of code primitive/message.go x: 41 commits (all time) y: 443 lines of code consumer/statistics.go x: 19 commits (all time) y: 406 lines of code consumer/offset_store.go x: 33 commits (all time) y: 375 lines of code consumer/process_queue.go x: 34 commits (all time) y: 368 lines of code internal/request.go x: 24 commits (all time) y: 532 lines of code consumer/option.go x: 39 commits (all time) y: 260 lines of code internal/utils/compression.go x: 5 commits (all time) y: 62 lines of code primitive/result.go x: 24 commits (all time) y: 88 lines of code producer/option.go x: 27 commits (all time) y: 140 lines of code internal/remote/tcp_conn.go x: 9 commits (all time) y: 48 lines of code internal/route.go x: 40 commits (all time) y: 556 lines of code internal/model.go x: 23 commits (all time) y: 394 lines of code internal/client.go x: 84 commits (all time) y: 878 lines of code internal/response.go x: 7 commits (all time) y: 30 lines of code producer/selector.go x: 9 commits (all time) y: 101 lines of code admin/response.go x: 2 commits (all time) y: 62 lines of code internal/mock_client.go x: 16 commits (all time) y: 271 lines of code internal/utils/set.go x: 4 commits (all time) y: 72 lines of code internal/validators.go x: 8 commits (all time) y: 25 lines of code internal/constants.go x: 9 commits (all time) y: 19 lines of code internal/utils/files.go x: 11 commits (all time) y: 67 lines of code consumer/interceptor.go x: 11 commits (all time) y: 86 lines of code producer/interceptor.go x: 12 commits (all time) y: 72 lines of code consumer/limiter.go x: 1 commits (all time) y: 2 lines of code internal/utils/namespace.go x: 2 commits (all time) y: 38 lines of code hooks/filter_message_hook.go x: 1 commits (all time) y: 10 lines of code consumer/strategy.go x: 20 commits (all time) y: 191 lines of code internal/utils/string.go x: 6 commits (all time) y: 13 lines of code primitive/ctx.go x: 20 commits (all time) y: 121 lines of code consumer/message_util.go x: 3 commits (all time) y: 30 lines of code internal/request_response_future.go x: 2 commits (all time) y: 107 lines of code internal/namesrv.go x: 21 commits (all time) y: 111 lines of code benchmark/consumer.go x: 12 commits (all time) y: 224 lines of code benchmark/main.go x: 6 commits (all time) y: 48 lines of code benchmark/producer.go x: 13 commits (all time) y: 237 lines of code benchmark/stable.go x: 8 commits (all time) y: 165 lines of code internal/mock_namesrv.go x: 12 commits (all time) y: 122 lines of code internal/remote/future.go x: 16 commits (all time) y: 44 lines of code internal/utils/net.go x: 10 commits (all time) y: 47 lines of code primitive/pool.go x: 6 commits (all time) y: 32 lines of code internal/remote/codec.go x: 12 commits (all time) y: 391 lines of code admin/option.go x: 1 commits (all time) y: 96 lines of code primitive/trace.go x: 5 commits (all time) y: 9 lines of code config.go x: 3 commits (all time) y: 1 lines of code consumer/lock.go x: 7 commits (all time) y: 15 lines of code internal/callback.go x: 4 commits (all time) y: 10 lines of code internal/remote/interceptor.go x: 4 commits (all time) y: 57 lines of code internal/remote/mock_remote_client.go x: 6 commits (all time) y: 69 lines of code internal/remote/rpchook.go x: 2 commits (all time) y: 5 lines of code internal/utils/math.go x: 3 commits (all time) y: 13 lines of code primitive/auth.go x: 3 commits (all time) y: 9 lines of code primitive/interceptor.go x: 11 commits (all time) y: 25 lines of code
1215.0
lines of code
  min: 1.0
  average: 183.8
  25th percentile: 30.0
  median: 72.0
  75th percentile: 237.0
  max: 1215.0
0 133.0
commits (all time)
min: 1.0 | average: 17.35 | 25th percentile: 4.0 | median: 10.0 | 75th percentile: 21.0 | max: 133.0

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

internal/trace.go x: 17 contributors (all time) y: 461 lines of code consumer/pull_consumer.go x: 23 contributors (all time) y: 857 lines of code consumer/push_consumer.go x: 51 contributors (all time) y: 1215 lines of code primitive/base.go x: 7 contributors (all time) y: 99 lines of code api.go x: 13 contributors (all time) y: 63 lines of code consumer/consumer.go x: 30 contributors (all time) y: 974 lines of code consumer/mock_offset_store.go x: 6 contributors (all time) y: 76 lines of code errors/errors.go x: 6 contributors (all time) y: 36 lines of code internal/remote/remote_client.go x: 18 contributors (all time) y: 320 lines of code internal/utils/errors.go x: 6 contributors (all time) y: 17 lines of code rlog/log.go x: 14 contributors (all time) y: 178 lines of code producer/producer.go x: 41 contributors (all time) y: 658 lines of code admin/admin.go x: 11 contributors (all time) y: 223 lines of code primitive/nsresolver.go x: 5 contributors (all time) y: 190 lines of code primitive/message.go x: 20 contributors (all time) y: 443 lines of code consumer/statistics.go x: 10 contributors (all time) y: 406 lines of code consumer/offset_store.go x: 17 contributors (all time) y: 375 lines of code consumer/process_queue.go x: 18 contributors (all time) y: 368 lines of code internal/request.go x: 16 contributors (all time) y: 532 lines of code consumer/option.go x: 17 contributors (all time) y: 260 lines of code internal/utils/compression.go x: 5 contributors (all time) y: 62 lines of code primitive/result.go x: 12 contributors (all time) y: 88 lines of code producer/option.go x: 14 contributors (all time) y: 140 lines of code internal/remote/tcp_conn.go x: 7 contributors (all time) y: 48 lines of code internal/route.go x: 16 contributors (all time) y: 556 lines of code internal/model.go x: 12 contributors (all time) y: 394 lines of code internal/client.go x: 36 contributors (all time) y: 878 lines of code internal/response.go x: 6 contributors (all time) y: 30 lines of code producer/selector.go x: 7 contributors (all time) y: 101 lines of code admin/response.go x: 2 contributors (all time) y: 62 lines of code internal/mock_client.go x: 9 contributors (all time) y: 271 lines of code internal/utils/set.go x: 3 contributors (all time) y: 72 lines of code internal/validators.go x: 6 contributors (all time) y: 25 lines of code internal/constants.go x: 7 contributors (all time) y: 19 lines of code internal/utils/files.go x: 8 contributors (all time) y: 67 lines of code consumer/interceptor.go x: 7 contributors (all time) y: 86 lines of code producer/interceptor.go x: 9 contributors (all time) y: 72 lines of code consumer/limiter.go x: 1 contributors (all time) y: 2 lines of code internal/utils/namespace.go x: 2 contributors (all time) y: 38 lines of code hooks/filter_message_hook.go x: 1 contributors (all time) y: 10 lines of code consumer/strategy.go x: 8 contributors (all time) y: 191 lines of code internal/utils/string.go x: 6 contributors (all time) y: 13 lines of code primitive/ctx.go x: 9 contributors (all time) y: 121 lines of code consumer/message_util.go x: 3 contributors (all time) y: 30 lines of code internal/request_response_future.go x: 2 contributors (all time) y: 107 lines of code internal/namesrv.go x: 9 contributors (all time) y: 111 lines of code benchmark/consumer.go x: 9 contributors (all time) y: 224 lines of code benchmark/main.go x: 5 contributors (all time) y: 48 lines of code benchmark/producer.go x: 10 contributors (all time) y: 237 lines of code benchmark/stable.go x: 7 contributors (all time) y: 165 lines of code internal/mock_namesrv.go x: 6 contributors (all time) y: 122 lines of code internal/remote/future.go x: 9 contributors (all time) y: 44 lines of code internal/utils/net.go x: 8 contributors (all time) y: 47 lines of code primitive/errors.go x: 4 contributors (all time) y: 34 lines of code primitive/pool.go x: 5 contributors (all time) y: 32 lines of code internal/remote/codec.go x: 9 contributors (all time) y: 391 lines of code admin/option.go x: 1 contributors (all time) y: 96 lines of code primitive/trace.go x: 3 contributors (all time) y: 9 lines of code config.go x: 2 contributors (all time) y: 1 lines of code internal/callback.go x: 4 contributors (all time) y: 10 lines of code internal/mq_version.go x: 3 contributors (all time) y: 4 lines of code internal/remote/interceptor.go x: 3 contributors (all time) y: 57 lines of code internal/remote/mock_remote_client.go x: 3 contributors (all time) y: 69 lines of code internal/remote/rpchook.go x: 2 contributors (all time) y: 5 lines of code internal/utils/math.go x: 3 contributors (all time) y: 13 lines of code
1215.0
lines of code
  min: 1.0
  average: 183.8
  25th percentile: 30.0
  median: 72.0
  75th percentile: 237.0
  max: 1215.0
0 51.0
contributors (all time)
min: 1.0 | average: 9.45 | 25th percentile: 3.0 | median: 7.0 | 75th percentile: 12.0 | max: 51.0

File Size vs. Commits (30 days): 1 points

internal/trace.go x: 1 commits (30d) y: 461 lines of code
461.0
lines of code
  min: 461.0
  average: 461.0
  25th percentile: 461.0
  median: 461.0
  75th percentile: 461.0
  max: 461.0
0 1.0
commits (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (30 days): 1 points

internal/trace.go x: 1 contributors (30d) y: 461 lines of code
461.0
lines of code
  min: 461.0
  average: 461.0
  25th percentile: 461.0
  median: 461.0
  75th percentile: 461.0
  max: 461.0
0 1.0
contributors (30d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Commits (90 days): 1 points

internal/trace.go x: 1 commits (90d) y: 461 lines of code
461.0
lines of code
  min: 461.0
  average: 461.0
  25th percentile: 461.0
  median: 461.0
  75th percentile: 461.0
  max: 461.0
0 1.0
commits (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0

File Size vs. Contributors (90 days): 1 points

internal/trace.go x: 1 contributors (90d) y: 461 lines of code
461.0
lines of code
  min: 461.0
  average: 461.0
  25th percentile: 461.0
  median: 461.0
  75th percentile: 461.0
  max: 461.0
0 1.0
contributors (90d)
min: 1.0 | average: 1.0 | 25th percentile: 1.0 | median: 1.0 | 75th percentile: 1.0 | max: 1.0