apache / shardingsphere-on-cloud
Duplication

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

Intro
Learn more...
Duplication Overall
system36% (16,998 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
yaml89% (6,906 lines)
go23% (6,738 lines)
g463% (1,485 lines)
rs20% (1,091 lines)
yml73% (476 lines)
tf23% (177 lines)
js13% (97 lines)
rb8% (28 lines)
Duplication per Component (primary)
shardingsphere-operator35% (11,404 lines)
charts85% (3,268 lines)
wasm18% (1,188 lines)
terraform41% (476 lines)
pitr16% (457 lines)
cloudformation26% (131 lines)
hack67% (74 lines)

Duplication Between Components (50+ lines)

G charts charts shardingsphere-operator shardingsphere-operator charts--shardingsphere-operator 6332 cloudformation cloudformation terraform terraform cloudformation--terraform 348

Download: SVG DOT (open online Graphviz editor)

Open 3D force graph...

Show more details on duplication between components...
Longest Duplicates
The list of 50 longest duplicates.
See data for all 13,695 duplicates...
Size#FoldersFilesLinesCode
1135 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
18:1152 (100%)
1:1135 (100%)
view
1022 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
17:1038 (100%)
1:1022 (100%)
view
407 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
18:424 (100%)
1:407 (100%)
view
190 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
17:206 (100%)
1:190 (100%)
view
185 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
17:201 (100%)
1:185 (100%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
514:660 (14%)
662:808 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
366:512 (14%)
498:644 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
366:512 (14%)
646:792 (14%)
view
147 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
350:496 (14%)
646:792 (14%)
view
147 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
350:496 (14%)
498:644 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
514:660 (14%)
646:792 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
514:660 (14%)
350:496 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
662:808 (14%)
350:496 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
662:808 (14%)
498:644 (14%)
view
147 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
498:644 (14%)
646:792 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
366:512 (14%)
514:660 (14%)
view
147 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
366:512 (14%)
662:808 (14%)
view
141 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
560:700 (12%)
944:1084 (12%)
view
141 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
560:700 (12%)
723:863 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
577:717 (12%)
944:1084 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
577:717 (12%)
723:863 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
961:1101 (12%)
723:863 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
961:1101 (12%)
560:700 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
740:880 (12%)
944:1084 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
740:880 (12%)
560:700 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
740:880 (12%)
961:1101 (12%)
view
141 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
723:863 (12%)
944:1084 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
577:717 (12%)
740:880 (12%)
view
141 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
577:717 (12%)
961:1101 (12%)
view
110 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
145:254 (11%)
394:503 (11%)
view
107 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
136:242 (9%)
360:466 (9%)
view
107 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
136:242 (9%)
377:483 (9%)
view
107 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
119:225 (9%)
360:466 (9%)
view
107 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
377:483 (9%)
119:225 (9%)
view
106 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
146:251 (11%)
279:384 (11%)
view
106 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
279:384 (11%)
395:500 (11%)
view
103 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
378:480 (9%)
248:350 (9%)
view
103 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
248:350 (9%)
361:463 (9%)
view
103 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
265:367 (9%)
120:222 (9%)
view
103 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
265:367 (9%)
361:463 (9%)
view
103 x 2 charts/apache-shardingsphere-operator-charts/crds
shardingsphere-operator/config/crd/bases
137:239 (9%)
248:350 (9%)
view
103 x 2 shardingsphere-operator/config/crd/bases
shardingsphere-operator/config/crd/bases
120:222 (9%)
248:350 (9%)
view
103 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
265:367 (9%)
378:480 (9%)
view
103 x 2 charts/apache-shardingsphere-operator-charts/crds
charts/apache-shardingsphere-operator-charts/crds
137:239 (9%)
265:367 (9%)
view
88 x 2 terraform/amazon/modules/shardingsphere
terraform/huawei
23:117 (49%)
23:118 (85%)
view
71 x 2 shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/...er/read_write_splitting
542:627 (11%)
433:518 (14%)
view
69 x 2 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
433:516 (14%)
440:523 (13%)
view
69 x 2 shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/...l/visitor_parser/shadow
542:625 (11%)
440:523 (13%)
view
68 x 2 shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/...er/read_write_splitting
139:218 (4%)
148:227 (3%)
view
67 x 2 shardingsphere-operator/.../visitor_parser/encrypt
shardingsphere-operator/...visitor_parser/sharding
521:602 (11%)
679:760 (8%)
view
Duplicated Units
The list of top 30 duplicated units.
See data for all 30 unit duplicates...
Size#FoldersFilesLinesCode
25 x 2 pitr/agent/internal/handler/view
pitr/agent/internal/handler/view
57:90 
33:66 
view
21 x 2 wasm/wasm-sharding-js/sharding
wasm/wasm-sharding-js/sharding
102:124 
42:64 
view
18 x 2 shardingsphere-operator/pkg/kubernetes/service
shardingsphere-operator/pkg/controllers
181:200 
252:271 
view
17 x 2 shardingsphere-operator/pkg/reconcile/proxy
shardingsphere-operator/pkg/controllers
372:393 
356:377 
view
14 x 2 wasm/wasm-sharding-js/sharding
wasm/wasm-sharding-js/sharding
45:62 
21:38 
view
14 x 5 shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
184:199 
164:179 
323:338 
511:526 
113:128 
view
12 x 2 wasm/wasm-sharding-js/sharding
wasm/wasm-sharding-js/sharding
87:100 
66:79 
view
10 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
448:464 
455:471 
694:710 
557:573 
536:552 
view
9 x 2 pitr/agent/pkg/logging
pitr/cli/pkg/logging
73:83 
72:82 
view
8 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
160:172 
173:185 
332:344 
151:163 
213:225 
view
8 x 4 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
675:686 
692:703 
1500:1511 
694:705 
view
8 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2754:2765 
3066:3077 
7811:7822 
2205:2216 
4328:4339 
view
8 x 2 shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/.../visitor_parser/encrypt
937:948 
748:759 
view
8 x 4 shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
201:211 
181:191 
340:350 
130:140 
view
8 x 5 shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
shardingsphere-operator/pkg/distsql/visitor
254:263 
234:243 
398:407 
634:643 
204:213 
view
7 x 2 pitr/agent/pkg/logging
pitr/cli/pkg/logging
57:65 
41:49 
view
7 x 2 pitr/agent/pkg/logging
pitr/cli/pkg/logging
43:51 
42:50 
view
6 x 2 shardingsphere-operator/pkg/reconcile/proxy
shardingsphere-operator/pkg/controllers
395:402 
379:386 
view
6 x 4 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
1155:1163 
3352:3360 
8275:8283 
2491:2499 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
1908:1916 
2221:2229 
6690:6698 
1320:1328 
3471:3479 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2009:2017 
2322:2330 
6791:6799 
1421:1429 
3572:3580 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2122:2130 
2435:2443 
6904:6912 
1534:1542 
3685:3693 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2293:2301 
2606:2614 
7075:7083 
1705:1713 
3856:3864 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2428:2436 
2741:2749 
7230:7238 
1840:1848 
3991:3999 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2657:2665 
2969:2977 
7714:7722 
2108:2116 
4231:4239 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2793:2801 
3105:3113 
7850:7858 
2244:2252 
4367:4375 
view
6 x 5 shardingsphere-operator/...er/read_write_splitting
shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
2937:2945 
3249:3257 
7994:8002 
2388:2396 
4511:4519 
view
6 x 3 shardingsphere-operator/...l/visitor_parser/shadow
shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/.../visitor_parser/encrypt
2039:2047 
8097:8105 
4614:4622 
view
6 x 3 shardingsphere-operator/...visitor_parser/sharding
shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
6208:6216 
1227:1235 
1855:1863 
view
6 x 2 shardingsphere-operator/...sql/visitor_parser/mask
shardingsphere-operator/.../visitor_parser/encrypt
1114:1122 
1736:1744 
view