apache / incubator-hugegraph
Duplication

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

Intro
Learn more...
Duplication Overall
system15% (14,208 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
java14% (13,647 lines)
yaml89% (315 lines)
xml66% (246 lines)
Duplication per Component (primary)
hugegraph-test26% (8,583 lines)
hugegraph-core6% (2,444 lines)
hugegraph-api12% (1,130 lines)
hugegraph-dist60% (427 lines)
hugegraph-cassandra15% (355 lines)
hugegraph-mysql15% (324 lines)
hugegraph-rocksdb9% (317 lines)
hugegraph-example11% (196 lines)
hugegraph-palo18% (174 lines)
hugegraph-hbase10% (164 lines)
hugegraph-scylladb17% (50 lines)
hugegraph-postgresql9% (44 lines)
ROOT0% (0 lines)

Duplication Between Components (50+ lines)

G hugegraph-hbase hugegraph-hbase hugegraph-rocksdb hugegraph-rocksdb hugegraph-hbase--hugegraph-rocksdb 288 hugegraph-mysql hugegraph-mysql hugegraph-hbase--hugegraph-mysql 80 hugegraph-palo hugegraph-palo hugegraph-hbase--hugegraph-palo 64 hugegraph-cassandra hugegraph-cassandra hugegraph-cassandra--hugegraph-hbase 66 hugegraph-cassandra--hugegraph-rocksdb 132 hugegraph-cassandra--hugegraph-mysql 278 hugegraph-cassandra--hugegraph-palo 50 hugegraph-core hugegraph-core hugegraph-cassandra--hugegraph-core 52 hugegraph-mysql--hugegraph-rocksdb 126 hugegraph-mysql--hugegraph-palo 172 hugegraph-postgresql hugegraph-postgresql hugegraph-mysql--hugegraph-postgresql 64 hugegraph-example hugegraph-example hugegraph-test hugegraph-test hugegraph-example--hugegraph-test 172 hugegraph-palo--hugegraph-rocksdb 104 hugegraph-dist hugegraph-dist hugegraph-dist--hugegraph-example 169 hugegraph-dist--hugegraph-test 169 hugegraph-core--hugegraph-hbase 106 hugegraph-core--hugegraph-rocksdb 154 hugegraph-core--hugegraph-mysql 120 hugegraph-core--hugegraph-palo 154 hugegraph-api hugegraph-api hugegraph-api--hugegraph-core 98

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 2,594 duplicates...
Size#FoldersFilesLinesCode
97 x 2 hugegraph-dist/src/assembly/travis/conf-raft1
hugegraph-dist/src/assembly/travis/conf-raft3
22:121 (98%)
22:121 (98%)
view
97 x 2 hugegraph-dist/src/assembly/travis/conf-raft2
hugegraph-dist/src/assembly/travis/conf-raft3
22:121 (98%)
22:121 (98%)
view
97 x 2 hugegraph-dist/src/assembly/travis/conf-raft1
hugegraph-dist/src/assembly/travis/conf-raft2
22:121 (98%)
22:121 (98%)
view
67 x 2 hugegraph-dist/src/main/resources
hugegraph-test/src/main/resources
25:125 (93%)
25:125 (93%)
view
67 x 2 hugegraph-example/src/main/resources
hugegraph-test/src/main/resources
25:125 (93%)
25:125 (93%)
view
67 x 2 hugegraph-dist/src/main/resources
hugegraph-example/src/main/resources
25:125 (93%)
25:125 (93%)
view
53 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
5707:5766 (<1%)
5787:5846 (<1%)
view
52 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
872:931 (<1%)
1204:1263 (<1%)
view
50 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
2099:2158 (<1%)
2185:2244 (<1%)
view
46 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
794:846 (<1%)
1072:1124 (<1%)
view
43 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
6874:6920 (<1%)
7137:7183 (<1%)
view
43 x 2 hugegraph-api/src/main/j...apache/hugegraph/config
hugegraph-core/src/main/...apache/hugegraph/config
194:240 (20%)
40:86 (48%)
view
42 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
3865:3913 (<1%)
4084:4132 (<1%)
view
40 x 2 hugegraph-dist/src/assembly/static/conf
hugegraph-dist/src/main/resources
1:82 (65%)
1:82 (55%)
view
40 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
3660:3705 (<1%)
3756:3801 (<1%)
view
36 x 2 hugegraph-core/src/main/...hugegraph/job/algorithm
hugegraph-core/src/main/...g/apache/hugegraph/util
41:90 (32%)
47:96 (19%)
view
35 x 2 hugegraph-dist/src/assembly/static/conf
hugegraph-example/src/main/resources
25:82 (57%)
25:82 (48%)
view
35 x 2 hugegraph-dist/src/assembly/static/conf
hugegraph-test/src/main/resources
25:82 (57%)
25:82 (48%)
view
33 x 2 hugegraph-test/src/main/...g/apache/hugegraph/unit
hugegraph-test/src/main/...g/apache/hugegraph/unit
130:169 (26%)
173:212 (26%)
view
33 x 2 hugegraph-cassandra/src/...backend/store/cassandra
hugegraph-rocksdb/src/ma...h/backend/store/rocksdb
903:970 (5%)
407:474 (13%)
view
30 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
95:136 (4%)
142:183 (4%)
view
28 x 2 hugegraph-rocksdb/src/ma...h/backend/store/rocksdb
hugegraph-rocksdb/src/ma...ackend/store/rocksdbsst
1004:1034 (3%)
58:88 (46%)
view
27 x 2 hugegraph-test/src/main/...ph/unit/util/collection
hugegraph-test/src/main/...ph/unit/util/collection
130:160 (12%)
274:304 (12%)
view
27 x 2 hugegraph-test/src/main/...ph/unit/util/collection
hugegraph-test/src/main/...ph/unit/util/collection
130:160 (12%)
219:249 (12%)
view
27 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
6683:6712 (<1%)
6777:6806 (<1%)
view
27 x 2 hugegraph-test/src/main/...ph/unit/util/collection
hugegraph-test/src/main/...ph/unit/util/collection
219:249 (12%)
274:304 (12%)
view
27 x 2 hugegraph-test/src/main/...rg/apache/hugegraph/api
hugegraph-test/src/main/...rg/apache/hugegraph/api
95:126 (12%)
158:189 (12%)
view
25 x 2 hugegraph-core/src/main/...ugegraph/schema/builder
hugegraph-core/src/main/...ugegraph/schema/builder
589:623 (5%)
567:601 (6%)
view
25 x 2 hugegraph-mysql/src/main...aph/backend/store/mysql
hugegraph-palo/src/main/...raph/backend/store/palo
404:437 (6%)
272:305 (9%)
view
25 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
6181:6210 (<1%)
6322:6351 (<1%)
view
24 x 2 hugegraph-hbase/src/main...aph/backend/store/hbase
hugegraph-rocksdb/src/ma...h/backend/store/rocksdb
202:228 (6%)
471:497 (3%)
view
24 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
3707:3732 (<1%)
3815:3840 (<1%)
view
24 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
588:614 (1%)
634:660 (1%)
view
24 x 2 hugegraph-core/src/main/...ph/backend/store/memory
hugegraph-hbase/src/main...aph/backend/store/hbase
450:489 (8%)
91:134 (35%)
view
24 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
877:908 (<1%)
917:948 (<1%)
view
24 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
4855:4883 (<1%)
5010:5038 (<1%)
view
23 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
1302:1330 (1%)
1434:1462 (1%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
1240:1264 (1%)
1397:1421 (1%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
1240:1264 (1%)
1359:1382 (1%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
1359:1382 (1%)
1397:1421 (1%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
4910:4935 (<1%)
5013:5038 (<1%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
4858:4883 (<1%)
4910:4935 (<1%)
view
22 x 2 hugegraph-example/src/ma...pache/hugegraph/example
hugegraph-example/src/ma...pache/hugegraph/example
105:138 (28%)
88:121 (36%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
927:959 (<1%)
1652:1685 (<1%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
1382:1414 (<1%)
2026:2059 (<1%)
view
22 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
8356:8384 (<1%)
8604:8632 (<1%)
view
21 x 2 hugegraph-test/src/main/...che/hugegraph/tinkerpop
hugegraph-test/src/main/...che/hugegraph/tinkerpop
690:710 (2%)
715:735 (2%)
view
21 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
6591:6616 (<1%)
6642:6667 (<1%)
view
21 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
6099:6123 (<1%)
6144:6165 (<1%)
view
20 x 2 hugegraph-test/src/main/...g/apache/hugegraph/core
hugegraph-test/src/main/...g/apache/hugegraph/core
4878:4903 (<1%)
4983:5008 (<1%)
view
Duplicated Units
The list of top 17 duplicated units.
See data for all 17 unit duplicates...
Size#FoldersFilesLinesCode
20 x 2 hugegraph-core/src/main/...ugegraph/schema/builder
hugegraph-core/src/main/...ugegraph/schema/builder
408:429 
418:439 
view
18 x 2 hugegraph-core/src/main/...ugegraph/schema/builder
hugegraph-core/src/main/...ugegraph/schema/builder
574:594 
596:616 
view
16 x 2 hugegraph-mysql/src/main...aph/backend/store/mysql
hugegraph-palo/src/main/...raph/backend/store/palo
400:423 
268:291 
view
12 x 2 hugegraph-core/src/main/...g/apache/hugegraph/util
hugegraph-core/src/main/...hugegraph/job/algorithm
65:79 
59:73 
view
11 x 2 hugegraph-core/src/main/...hugegraph/job/algorithm
hugegraph-core/src/main/.../hugegraph/job/computer
261:273 
255:267 
view
11 x 2 hugegraph-core/src/main/...raph/job/algorithm/cent
hugegraph-core/src/main/...raph/job/algorithm/cent
49:61 
46:58 
view
10 x 2 hugegraph-mysql/src/main...aph/backend/store/mysql
hugegraph-palo/src/main/...raph/backend/store/palo
425:438 
293:306 
view
10 x 2 hugegraph-core/src/main/...g/apache/hugegraph/util
hugegraph-core/src/main/...hugegraph/job/algorithm
81:92 
75:86 
view
10 x 2 hugegraph-test/src/main/...che/hugegraph/tinkerpop
hugegraph-test/src/main/...che/hugegraph/tinkerpop
109:120 
284:295 
view
9 x 2 hugegraph-core/src/main/...raph/job/algorithm/comm
hugegraph-core/src/main/.../hugegraph/job/computer
48:58 
74:84 
view
9 x 2 hugegraph-test/src/main/...ugegraph/api/traversers
hugegraph-test/src/main/...ugegraph/api/traversers
44:55 
44:55 
view
6 x 4 hugegraph-hbase/src/main...aph/backend/store/hbase
hugegraph-mysql/src/main...aph/backend/store/mysql
hugegraph-core/src/main/...ph/backend/store/memory
hugegraph-rocksdb/src/ma...h/backend/store/rocksdb
93:100 
83:90 
74:81 
68:75 
view
6 x 2 hugegraph-core/src/main/...raph/backend/serializer
hugegraph-core/src/main/...raph/backend/serializer
431:438 
606:613 
view
6 x 2 hugegraph-core/src/main/...ob/algorithm/similarity
hugegraph-core/src/main/...hugegraph/job/algorithm
143:150 
201:208 
view
6 x 2 hugegraph-core/src/main/...raph/job/algorithm/comm
hugegraph-core/src/main/.../hugegraph/job/computer
88:95 
118:125 
view
6 x 2 hugegraph-core/src/main/...raph/job/algorithm/comm
hugegraph-core/src/main/.../hugegraph/job/computer
97:104 
86:93 
view
6 x 2 hugegraph-core/src/main/...raph/job/algorithm/comm
hugegraph-core/src/main/.../hugegraph/job/computer
106:113 
102:109 
view