apache / incubator-seata-go-samples
Duplication

Places in code with 6 or more lines that are exactly the same.

Intro
Learn more...
Duplication Overall
system46% (900 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go45% (816 lines)
sql53% (50 lines)
proto57% (34 lines)
Duplication per Component (primary)
at55% (411 lines)
xa93% (228 lines)
tcc23% (189 lines)
dockercompose89% (50 lines)
integrate_test38% (22 lines)
util0% (0 lines)

Duplication Between Components (50+ lines)

G at at xa xa at--xa 547 tcc tcc at--tcc 90

Download: SVG DOT (open online Graphviz editor)

Open 2D force graph... Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 92 duplicates...
Size#FoldersFilesLinesCode
25 x 2 at/basic
xa/basic
46:78 (75%)
46:78 (80%)
view
25 x 2 at/gin/server
xa/gin/server
37:76 (86%)
37:76 (86%)
view
19 x 2 at/gorm
xa/gorm
32:60 (50%)
32:60 (50%)
view
18 x 2 at/basic
xa/basic
28:49 (100%)
28:49 (100%)
view
18 x 2 at/gorm
xa/gorm
62:92 (47%)
62:92 (47%)
view
17 x 2 at/grpc/pb
tcc/grpc/pb
1:18 (62%)
1:18 (53%)
view
17 x 2 at/basic
xa/basic
28:48 (100%)
28:48 (100%)
view
16 x 2 at/gin/client
xa/gin/client
32:50 (100%)
32:50 (100%)
view
16 x 2 at/gin/client
xa/gin/client
32:50 (100%)
32:50 (100%)
view
16 x 2 at/gin/client
xa/gin/client
32:52 (100%)
32:52 (100%)
view
14 x 2 dockercompose/mysql
dockercompose/mysql
34:48 (25%)
69:83 (25%)
view
14 x 2 tcc/fence/service
tcc/fence/service
95:113 (8%)
122:140 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
122:140 (8%)
199:217 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
172:190 (8%)
226:244 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
122:140 (8%)
226:244 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
172:190 (8%)
199:217 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
95:113 (8%)
199:217 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
95:113 (8%)
226:244 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
199:217 (8%)
226:244 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
68:86 (8%)
95:113 (8%)
view
14 x 2 at/basic
xa/basic
28:45 (82%)
28:45 (82%)
view
14 x 2 tcc/fence/service
tcc/fence/service
68:86 (8%)
122:140 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
68:86 (8%)
226:244 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
68:86 (8%)
172:190 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
95:113 (8%)
172:190 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
68:86 (8%)
199:217 (8%)
view
14 x 2 tcc/fence/service
tcc/fence/service
122:140 (8%)
172:190 (8%)
view
13 x 2 at/gorm
integrate_test/at/insert
32:47 (34%)
33:49 (22%)
view
13 x 2 integrate_test/at/insert
xa/gorm
33:49 (22%)
32:47 (34%)
view
13 x 2 at/gin/server
xa/gin/server
26:41 (100%)
26:41 (100%)
view
12 x 2 at/gin/server
xa/gin/server
26:40 (100%)
26:40 (100%)
view
12 x 2 at/gin/server
at/rollback/server
26:40 (100%)
26:40 (100%)
view
12 x 2 at/gin/client
at/rollback/client
36:50 (75%)
46:60 (54%)
view
12 x 2 at/non_transaction
at/non_transaction
76:93 (9%)
126:143 (9%)
view
12 x 2 at/rollback/client
xa/gin/client
46:60 (54%)
36:50 (75%)
view
12 x 2 at/gin/server
xa/gin/server
25:38 (100%)
25:38 (100%)
view
12 x 2 at/rollback/server
xa/gin/server
26:40 (100%)
26:40 (100%)
view
11 x 2 dockercompose/mysql
dockercompose/mysql
19:30 (19%)
54:65 (19%)
view
11 x 2 at/basic
at/gin/server
29:41 (64%)
26:38 (91%)
view
11 x 2 at/gin/server
xa/basic
26:38 (91%)
29:41 (64%)
view
11 x 2 xa/basic
xa/gin/server
29:41 (64%)
26:38 (91%)
view
11 x 2 at/basic
xa/gin/server
29:41 (64%)
26:38 (91%)
view
11 x 2 tcc/fence/service
tcc/local/service
148:162 (7%)
70:84 (22%)
view
10 x 2 at/rollback/client
xa/gin/client
48:60 (45%)
38:50 (62%)
view
10 x 2 at/gin/client
at/rollback/client
38:50 (62%)
48:60 (45%)
view
9 x 2 at/rollback/server
at/rollback/server2
29:40 (75%)
31:42 (69%)
view
9 x 2 at/non_transaction
xa/gin/server
163:173 (7%)
29:40 (75%)
view
9 x 2 at/non_transaction
at/rollback/server2
163:173 (7%)
31:42 (69%)
view
9 x 2 at/gin/server
at/non_transaction
29:40 (75%)
163:173 (7%)
view
9 x 2 at/rollback/server
at/rollback/server2
30:41 (69%)
31:42 (69%)
view
Duplicated Units
The list of top 19 duplicated units.
See data for all 19 unit duplicates...
Size#FoldersFilesLinesCode
14 x 2 xa/basic
at/basic
28:43 
28:43 
view
14 x 3 xa/gin/server
at/rollback/server
at/gin/server
26:42 
26:42 
26:42 
view
13 x 2 xa/basic
at/basic
49:63 
49:63 
view
13 x 2 xa/basic
at/basic
65:79 
65:79 
view
13 x 4 xa/basic
xa/gin/server
at/basic
at/gin/server
28:42 
25:39 
28:42 
25:39 
view
13 x 2 xa/basic
at/basic
28:42 
28:42 
view
13 x 3 xa/gin/server
at/rollback/server
at/gin/server
26:41 
26:41 
26:41 
view
11 x 3 tcc/local/service
tcc/propagation/first
tcc/fence/service
41:53 
56:68 
53:65 
view
10 x 4 xa/gin/client
xa/gin/client
at/gin/client
at/gin/client
32:43 
32:43 
32:43 
32:43 
view
10 x 2 xa/gin/client
at/gin/client
32:45 
32:45 
view
9 x 2 xa/gorm
at/gorm
72:83 
72:83 
view
7 x 2 integrate_test/at/insert
at/gorm
72:81 
60:69 
view
6 x 2 xa/gorm
at/gorm
41:49 
41:49 
view
6 x 3 xa/gin/client
at/rollback/client
at/gin/client
45:52 
55:62 
45:52 
view
6 x 2 xa/gin/client
at/gin/client
47:54 
47:54 
view
6 x 3 xa/gin/client
at/rollback/client
at/gin/client
45:52 
55:62 
45:52 
view
6 x 2 xa/gin/server
at/gin/server
61:68 
61:68 
view
6 x 2 xa/gin/server
at/gin/server
70:77 
70:77 
view
6 x 2 tcc/grpc/pb
at/grpc/pb
56:63 
37:44 
view