apache / incubator-seata-go-samples
File Size

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

Intro
Learn more...
File Size Overall
0% | 0% | 0% | 26% | 73%
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% | 0% | 27% | 72%
sql0% | 0% | 0% | 0% | 100%
proto0% | 0% | 0% | 0% | 100%
File Size per Logical Decomposition
primary
1001+
501-1000
201-500
101-200
1-100
tcc0% | 0% | 0% | 41% | 58%
at0% | 0% | 0% | 24% | 75%
xa0% | 0% | 0% | 0% | 100%
integrate_test0% | 0% | 0% | 0% | 100%
dockercompose0% | 0% | 0% | 0% | 100%
util0% | 0% | 0% | 0% | 100%
Longest Files (Top 50)
File# lines# units
service.go
in tcc/fence/service
200 10
main.go
in at/non_transaction
160 8
tcc_grpc.pb.go
in tcc/grpc/pb
149 10
tcc_grpc_grpc.pb.go
in tcc/grpc/pb
132 12
at_grpc.pb.go
in at/grpc/pb
118 10
main.go
in integrate_test/at/insert
85 7
service.go
in tcc/grpc/service
74 10
service.go
in tcc/local/service
73 10
at_grpc_grpc.pb.go
in at/grpc/pb
71 6
main.go
in tcc/propagation/first
63 7
main.go
in xa/gorm
58 6
main.go
in at/gorm
58 6
order.sql
in dockercompose/mysql
56 -
main.go
in tcc/propagation/second
50 6
main.go
in at/basic
49 3
main.go
in xa/basic
47 3
main.go
in xa/gin/server
46 3
main.go
in at/gin/server
46 3
main.go
in tcc/grpc/cmd/client
45 1
server.go
in tcc/dubbo/server/cmd
45 2
db.go
in util
41 3
main.go
in tcc/grpc/cmd/server
39 1
main.go
in at/grpc/cmd/client
39 1
service.go
in at/grpc/service
38 2
update.go
in at/rollback/client
38 2
insert_on_update.go
in at/rollback/client
38 2
main.go
in at/rollback/server
36 1
main.go
in at/rollback/server2
36 1
main.go
in tcc/gin/client
35 1
proto
tcc_grpc.proto
in tcc/grpc/pb
32 -
client.go
in tcc/dubbo/client/cmd
32 3
update.go
in xa/gin/client
31 2
select_for_update.go
in xa/gin/client
31 2
insert_on_update.go
in xa/gin/client
31 2
main.go
in tcc/fence/cmd
31 2
update.go
in at/gin/client
31 2
select_for_update.go
in at/gin/client
31 2
insert_on_update.go
in at/gin/client
31 2
29 2
user_provider.go
in tcc/dubbo/client/service
29 1
main.go
in tcc/gin/server
29 1
29 2
28 2
insert.go
in xa/basic
28 2
28 2
insert.go
in at/basic
28 2
proto
at_grpc.proto
in at/grpc/pb
27 -
local.go
in tcc/local/cmd
26 2
main.go
in at/grpc/cmd/server
26 1
update.go
in at/rollback/server2
24 1
Files With Most Units (Top 50)
File# lines# units
tcc_grpc_grpc.pb.go
in tcc/grpc/pb
132 12
service.go
in tcc/local/service
73 10
tcc_grpc.pb.go
in tcc/grpc/pb
149 10
service.go
in tcc/grpc/service
74 10
service.go
in tcc/fence/service
200 10
at_grpc.pb.go
in at/grpc/pb
118 10
main.go
in at/non_transaction
160 8
main.go
in integrate_test/at/insert
85 7
main.go
in tcc/propagation/first
63 7
main.go
in xa/gorm
58 6
main.go
in tcc/propagation/second
50 6
at_grpc_grpc.pb.go
in at/grpc/pb
71 6
main.go
in at/gorm
58 6
user_provider.go
in tcc/dubbo/server/service
23 4
service.go
in tcc/gin/server
22 4
db.go
in util
41 3
main.go
in xa/basic
47 3
main.go
in xa/gin/server
46 3
client.go
in tcc/dubbo/client/cmd
32 3
main.go
in at/basic
49 3
main.go
in at/gin/server
46 3
28 2
29 2
insert.go
in xa/basic
28 2
update.go
in xa/gin/client
31 2
select_for_update.go
in xa/gin/client
31 2
insert_on_update.go
in xa/gin/client
31 2
local.go
in tcc/local/cmd
26 2
server.go
in tcc/dubbo/server/cmd
45 2
main.go
in tcc/fence/cmd
31 2
service.go
in at/grpc/service
38 2
update.go
in at/rollback/client
38 2
insert_on_update.go
in at/rollback/client
38 2
28 2
29 2
insert.go
in at/basic
28 2
update.go
in at/gin/client
31 2
select_for_update.go
in at/gin/client
31 2
insert_on_update.go
in at/gin/client
31 2
main.go
in xa/gin/client
16 1
update.go
in xa/gin/server
21 1
select_for_update.go
in xa/gin/server
20 1
insert_on_update.go
in xa/gin/server
22 1
main.go
in tcc/grpc/cmd/client
45 1
main.go
in tcc/grpc/cmd/server
39 1
user_provider.go
in tcc/dubbo/client/service
29 1
main.go
in tcc/gin/client
35 1
main.go
in tcc/gin/server
29 1
main.go
in at/grpc/cmd/client
39 1
main.go
in at/grpc/cmd/server
26 1
Files With Long Lines (Top 21)

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

File# lines# units# long lines
service.go
in tcc/local/service
73 10 4
tcc_grpc_grpc.pb.go
in tcc/grpc/pb
132 12 4
service.go
in tcc/fence/service
200 10 4
user_provider.go
in tcc/dubbo/client/service
29 1 3
main.go
in at/non_transaction
160 8 3
db.go
in util
41 3 2
main.go
in xa/gorm
58 6 2
order.sql
in dockercompose/mysql
56 - 2
main.go
in tcc/propagation/first
63 7 2
main.go
in tcc/propagation/second
50 6 2
at_grpc_grpc.pb.go
in at/grpc/pb
71 6 2
service.go
in at/grpc/service
38 2 2
main.go
in at/gorm
58 6 2
main.go
in integrate_test/at/insert
85 7 1
29 2 1
insert_on_update.go
in xa/gin/server
22 1 1
tcc_grpc.pb.go
in tcc/grpc/pb
149 10 1
insert_on_update.go
in at/rollback/server
22 1 1
insert_on_update.go
in at/rollback/server2
22 1 1
29 2 1
insert_on_update.go
in at/gin/server
22 1 1
Correlations

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

at/grpc/cmd/client/main.go x: 1 commits (all time) y: 39 lines of code at/grpc/cmd/server/main.go x: 1 commits (all time) y: 26 lines of code at/grpc/pb/at_grpc.pb.go x: 1 commits (all time) y: 118 lines of code at/grpc/pb/at_grpc.proto x: 1 commits (all time) y: 27 lines of code at/grpc/pb/at_grpc_grpc.pb.go x: 1 commits (all time) y: 71 lines of code at/grpc/service/service.go x: 1 commits (all time) y: 38 lines of code at/basic/insert.go x: 2 commits (all time) y: 28 lines of code at/basic/insert_on_update.go x: 2 commits (all time) y: 29 lines of code at/basic/main.go x: 8 commits (all time) y: 49 lines of code at/gin/client/insert_on_update.go x: 2 commits (all time) y: 31 lines of code at/gin/client/main.go x: 6 commits (all time) y: 17 lines of code at/gin/server/main.go x: 7 commits (all time) y: 46 lines of code at/gorm/main.go x: 4 commits (all time) y: 58 lines of code at/non_transaction/main.go x: 6 commits (all time) y: 160 lines of code at/rollback/client/insert_on_update.go x: 2 commits (all time) y: 38 lines of code at/rollback/client/main.go x: 5 commits (all time) y: 18 lines of code at/rollback/server/main.go x: 6 commits (all time) y: 36 lines of code integrate_test/at/insert/main.go x: 3 commits (all time) y: 85 lines of code tcc/dubbo/client/cmd/client.go x: 5 commits (all time) y: 32 lines of code tcc/dubbo/server/cmd/server.go x: 5 commits (all time) y: 45 lines of code tcc/dubbo/server/service/user_provider.go x: 2 commits (all time) y: 23 lines of code tcc/fence/cmd/main.go x: 5 commits (all time) y: 31 lines of code tcc/fence/service/service.go x: 2 commits (all time) y: 200 lines of code tcc/gin/client/main.go x: 4 commits (all time) y: 35 lines of code tcc/gin/server/main.go x: 4 commits (all time) y: 29 lines of code tcc/gin/server/service.go x: 2 commits (all time) y: 22 lines of code tcc/grpc/cmd/client/main.go x: 6 commits (all time) y: 45 lines of code tcc/grpc/cmd/server/main.go x: 6 commits (all time) y: 39 lines of code tcc/grpc/pb/tcc_grpc.proto x: 2 commits (all time) y: 32 lines of code tcc/grpc/service/service.go x: 3 commits (all time) y: 74 lines of code tcc/local/cmd/local.go x: 5 commits (all time) y: 26 lines of code tcc/local/service/service.go x: 2 commits (all time) y: 73 lines of code tcc/propagation/first/main.go x: 5 commits (all time) y: 63 lines of code tcc/propagation/second/main.go x: 2 commits (all time) y: 50 lines of code util/db.go x: 3 commits (all time) y: 41 lines of code xa/basic/main.go x: 3 commits (all time) y: 47 lines of code xa/gin/client/main.go x: 3 commits (all time) y: 16 lines of code xa/gin/server/main.go x: 3 commits (all time) y: 46 lines of code xa/gorm/main.go x: 3 commits (all time) y: 58 lines of code xa/gin/server/insert_on_update.go x: 1 commits (all time) y: 22 lines of code xa/gin/server/select_for_update.go x: 1 commits (all time) y: 20 lines of code xa/gin/server/update.go x: 1 commits (all time) y: 21 lines of code at/rollback/server2/update.go x: 1 commits (all time) y: 24 lines of code dockercompose/mysql/order.sql x: 2 commits (all time) y: 56 lines of code tcc/fence/script/mysql.sql x: 1 commits (all time) y: 13 lines of code tcc/fence/script/oracle.sql x: 1 commits (all time) y: 12 lines of code tcc/grpc/pb/tcc_grpc.pb.go x: 1 commits (all time) y: 149 lines of code tcc/grpc/pb/tcc_grpc_grpc.pb.go x: 1 commits (all time) y: 132 lines of code
200.0
lines of code
  min: 12.0
  average: 43.3
  25th percentile: 23.0
  median: 31.0
  75th percentile: 46.0
  max: 200.0
0 8.0
commits (all time)
min: 1.0 | average: 2.67 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 4.0 | max: 8.0

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

at/grpc/cmd/client/main.go x: 1 contributors (all time) y: 39 lines of code at/grpc/cmd/server/main.go x: 1 contributors (all time) y: 26 lines of code at/grpc/pb/at_grpc.pb.go x: 1 contributors (all time) y: 118 lines of code at/grpc/pb/at_grpc.proto x: 1 contributors (all time) y: 27 lines of code at/grpc/pb/at_grpc_grpc.pb.go x: 1 contributors (all time) y: 71 lines of code at/grpc/service/service.go x: 1 contributors (all time) y: 38 lines of code at/basic/insert.go x: 2 contributors (all time) y: 28 lines of code at/basic/insert_on_update.go x: 2 contributors (all time) y: 29 lines of code at/basic/main.go x: 4 contributors (all time) y: 49 lines of code at/gin/client/insert_on_update.go x: 2 contributors (all time) y: 31 lines of code at/gin/client/main.go x: 4 contributors (all time) y: 17 lines of code at/gin/server/main.go x: 4 contributors (all time) y: 46 lines of code at/gorm/main.go x: 4 contributors (all time) y: 58 lines of code at/non_transaction/main.go x: 4 contributors (all time) y: 160 lines of code at/rollback/client/insert_on_update.go x: 2 contributors (all time) y: 38 lines of code at/rollback/client/main.go x: 4 contributors (all time) y: 18 lines of code at/rollback/server/main.go x: 4 contributors (all time) y: 36 lines of code integrate_test/at/insert/main.go x: 2 contributors (all time) y: 85 lines of code tcc/dubbo/client/cmd/client.go x: 3 contributors (all time) y: 32 lines of code tcc/dubbo/server/cmd/server.go x: 3 contributors (all time) y: 45 lines of code tcc/dubbo/server/service/user_provider.go x: 2 contributors (all time) y: 23 lines of code tcc/fence/cmd/main.go x: 3 contributors (all time) y: 31 lines of code tcc/fence/service/service.go x: 2 contributors (all time) y: 200 lines of code tcc/gin/client/main.go x: 3 contributors (all time) y: 35 lines of code tcc/gin/server/main.go x: 3 contributors (all time) y: 29 lines of code tcc/gin/server/service.go x: 2 contributors (all time) y: 22 lines of code tcc/grpc/cmd/server/main.go x: 3 contributors (all time) y: 39 lines of code tcc/grpc/pb/tcc_grpc.proto x: 2 contributors (all time) y: 32 lines of code tcc/grpc/service/service.go x: 2 contributors (all time) y: 74 lines of code tcc/local/cmd/local.go x: 3 contributors (all time) y: 26 lines of code tcc/local/service/service.go x: 2 contributors (all time) y: 73 lines of code tcc/propagation/first/main.go x: 3 contributors (all time) y: 63 lines of code tcc/propagation/second/main.go x: 2 contributors (all time) y: 50 lines of code util/db.go x: 3 contributors (all time) y: 41 lines of code xa/basic/main.go x: 3 contributors (all time) y: 47 lines of code xa/gin/client/main.go x: 3 contributors (all time) y: 16 lines of code xa/gin/server/main.go x: 3 contributors (all time) y: 46 lines of code xa/gorm/main.go x: 3 contributors (all time) y: 58 lines of code xa/gin/server/insert_on_update.go x: 1 contributors (all time) y: 22 lines of code xa/gin/server/select_for_update.go x: 1 contributors (all time) y: 20 lines of code xa/gin/server/update.go x: 1 contributors (all time) y: 21 lines of code at/rollback/server2/update.go x: 1 contributors (all time) y: 24 lines of code dockercompose/mysql/order.sql x: 2 contributors (all time) y: 56 lines of code tcc/fence/script/mysql.sql x: 1 contributors (all time) y: 13 lines of code tcc/fence/script/oracle.sql x: 1 contributors (all time) y: 12 lines of code tcc/grpc/pb/tcc_grpc.pb.go x: 1 contributors (all time) y: 149 lines of code tcc/grpc/pb/tcc_grpc_grpc.pb.go x: 1 contributors (all time) y: 132 lines of code
200.0
lines of code
  min: 12.0
  average: 43.3
  25th percentile: 23.0
  median: 31.0
  75th percentile: 46.0
  max: 200.0
0 4.0
contributors (all time)
min: 1.0 | average: 2.13 | 25th percentile: 1.0 | median: 2.0 | 75th percentile: 3.0 | max: 4.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): 6 points

at/grpc/cmd/client/main.go x: 1 commits (90d) y: 39 lines of code at/grpc/cmd/server/main.go x: 1 commits (90d) y: 26 lines of code at/grpc/pb/at_grpc.pb.go x: 1 commits (90d) y: 118 lines of code at/grpc/pb/at_grpc.proto x: 1 commits (90d) y: 27 lines of code at/grpc/pb/at_grpc_grpc.pb.go x: 1 commits (90d) y: 71 lines of code at/grpc/service/service.go x: 1 commits (90d) y: 38 lines of code
118.0
lines of code
  min: 26.0
  average: 53.17
  25th percentile: 26.75
  median: 38.5
  75th percentile: 82.75
  max: 118.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): 6 points

at/grpc/cmd/client/main.go x: 1 contributors (90d) y: 39 lines of code at/grpc/cmd/server/main.go x: 1 contributors (90d) y: 26 lines of code at/grpc/pb/at_grpc.pb.go x: 1 contributors (90d) y: 118 lines of code at/grpc/pb/at_grpc.proto x: 1 contributors (90d) y: 27 lines of code at/grpc/pb/at_grpc_grpc.pb.go x: 1 contributors (90d) y: 71 lines of code at/grpc/service/service.go x: 1 contributors (90d) y: 38 lines of code
118.0
lines of code
  min: 26.0
  average: 53.17
  25th percentile: 26.75
  median: 38.5
  75th percentile: 82.75
  max: 118.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