netflix / mantis
Duplication

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

Intro
Learn more...
Duplication Overall
system10% (6,147 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
java10% (6,147 lines)
Duplication per Component (primary)
mantis-control-plane9% (2,684 lines)
mantis-common12% (647 lines)
mantis-remote-observable20% (576 lines)
mantis-runtime9% (479 lines)
mantis-network18% (357 lines)
mantis-publish10% (271 lines)
mantis-source-jobs38% (253 lines)
mantis-examples49% (249 lines)
mantis-server8% (158 lines)
mantis-connectors4% (145 lines)
mantis-client15% (118 lines)
mantis-runtime-autoscaler-api3% (81 lines)
mantis-rxcontrol8% (61 lines)
mantis-runtime-executor3% (60 lines)
mantis-common-serde36% (8 lines)
mantis-runtime-loader0% (0 lines)
mantis-discovery-proto0% (0 lines)
mantis-common-akka0% (0 lines)
mantis-jm-akka0% (0 lines)

Duplication Between Components (50+ lines)

G mantis-examples mantis-examples mantis-source-jobs mantis-source-jobs mantis-examples--mantis-source-jobs 489 mantis-network mantis-network mantis-remote-observable mantis-remote-observable mantis-network--mantis-remote-observable 333 mantis-common mantis-common mantis-common--mantis-network 106 mantis-common--mantis-remote-observable 93 mantis-control-plane mantis-control-plane mantis-common--mantis-control-plane 274 mantis-publish mantis-publish mantis-common--mantis-publish 214 mantis-runtime mantis-runtime mantis-common--mantis-runtime 50 mantis-control-plane--mantis-publish 255 mantis-connectors mantis-connectors mantis-connectors--mantis-runtime 146 mantis-client mantis-client mantis-server mantis-server mantis-client--mantis-server 126 mantis-runtime-autoscaler-api mantis-runtime-autoscaler-api mantis-rxcontrol mantis-rxcontrol mantis-runtime-autoscaler-api--mantis-rxcontrol 94 mantis-runtime-executor mantis-runtime-executor mantis-runtime-executor--mantis-server 80

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 581 duplicates...
Size#FoldersFilesLinesCode
89 x 2 mantis-examples/mantis-e...ourcejob/synthetic/core
mantis-source-jobs/manti...rx/sourcejob/kafka/sink
44:269 (100%)
44:269 (100%)
view
68 x 2 mantis-control-plane/man...srx/extensions/dynamodb
mantis-control-plane/man...srx/server/master/store
245:331 (35%)
195:281 (42%)
view
63 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-remote-observable...antis/remote/observable
50:129 (42%)
44:124 (39%)
view
47 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-remote-observable...antis/remote/observable
24:103 (100%)
24:103 (100%)
view
43 x 2 mantis-remote-observable...antis/remote/observable
mantis-remote-observable...antis/remote/observable
229:281 (9%)
375:427 (9%)
view
42 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...srx/server/master/store
37:91 (93%)
101:155 (56%)
view
39 x 2 mantis-control-plane/man...io/mantisrx/server/core
mantis-publish/mantis-pu...nternal/discovery/proto
28:84 (97%)
28:84 (53%)
view
38 x 2 mantis-runtime/src/main/java/io/mantisrx/runtime
mantis-runtime/src/main/java/io/mantisrx/runtime
62:135 (71%)
63:137 (71%)
view
37 x 2 mantis-common/src/main/j...o/mantisrx/common/codec
mantis-remote-observable...o/reactivex/netty/codec
60:118 (50%)
41:99 (78%)
view
32 x 2 mantis-control-plane/man...r/jobcluster/job/worker
mantis-control-plane/man...r/jobcluster/job/worker
51:102 (74%)
51:103 (76%)
view
28 x 2 mantis-common/src/main/java/io/mantisrx/runtime
mantis-publish/mantis-pu...nternal/discovery/proto
72:108 (41%)
60:96 (44%)
view
28 x 2 mantis-control-plane/man...io/mantisrx/server/core
mantis-publish/mantis-pu...nternal/discovery/proto
26:69 (96%)
28:71 (100%)
view
26 x 2 mantis-control-plane/man...a/io/mantisrx/master/zk
mantis-control-plane/man...a/io/mantisrx/master/zk
101:136 (27%)
103:138 (34%)
view
25 x 2 mantis-common/src/main/j...rx/common/metrics/netty
mantis-common/src/main/j...rx/common/metrics/netty
139:179 (16%)
136:176 (22%)
view
25 x 2 mantis-common/src/main/java/io/mantisrx/runtime
mantis-publish/mantis-pu...nternal/discovery/proto
22:49 (37%)
26:53 (39%)
view
24 x 2 mantis-remote-observable...antis/remote/observable
mantis-remote-observable...antis/remote/observable
377:405 (5%)
501:530 (5%)
view
24 x 2 mantis-examples/mantis-e...ourcejob/synthetic/core
mantis-source-jobs/manti...rx/sourcejob/kafka/sink
24:63 (100%)
24:63 (100%)
view
24 x 2 mantis-control-plane/man...a/io/mantisrx/master/zk
mantis-control-plane/man...a/io/mantisrx/master/zk
64:97 (25%)
59:92 (32%)
view
24 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...srx/server/master/store
200:223 (10%)
229:252 (10%)
view
24 x 2 mantis-remote-observable...antis/remote/observable
mantis-remote-observable...antis/remote/observable
231:259 (5%)
501:530 (5%)
view
22 x 2 mantis-connectors/mantis...rx/connector/job/source
mantis-runtime/src/main/...tisrx/runtime/parameter
278:314 (10%)
157:193 (14%)
view
22 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-network/src/main/...vex/mantis/network/push
66:90 (9%)
122:146 (9%)
view
22 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-network/src/main/...vex/mantis/network/push
209:238 (9%)
274:303 (9%)
view
21 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...srx/server/master/store
58:90 (28%)
31:63 (84%)
view
20 x 2 mantis-examples/mantis-e...ourcejob/synthetic/sink
mantis-source-jobs/manti...rx/sourcejob/kafka/sink
40:68 (52%)
34:62 (54%)
view
20 x 2 mantis-examples/mantis-e...ourcejob/synthetic/sink
mantis-source-jobs/manti...rx/sourcejob/kafka/sink
45:72 (52%)
40:67 (52%)
view
19 x 2 mantis-control-plane/man...er/api/akka/route/proto
mantis-control-plane/man...er/api/akka/route/proto
62:82 (8%)
184:203 (8%)
view
19 x 2 mantis-control-plane/man...io/mantisrx/server/core
mantis-publish/mantis-pu...nternal/discovery/proto
29:56 (90%)
30:57 (95%)
view
18 x 2 mantis-control-plane/man...aster/api/akka/route/v0
mantis-control-plane/man...aster/api/akka/route/v1
76:102 (19%)
87:113 (15%)
view
18 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-remote-observable...antis/remote/observable
214:238 (12%)
201:225 (11%)
view
17 x 2 mantis-common/src/main/j...mantisrx/common/metrics
mantis-common/src/main/j...ommon/metrics/spectator
48:74 (48%)
88:113 (28%)
view
17 x 2 mantis-examples/mantis-e...ourcejob/synthetic/core
mantis-source-jobs/manti...rx/sourcejob/kafka/core
29:57 (65%)
28:57 (100%)
view
17 x 2 mantis-runtime-autoscale...orker/jobmaster/control
mantis-rxcontrol/src/main/java/io/mantisrx/control
37:62 (85%)
44:69 (85%)
view
17 x 2 mantis-control-plane/man.../master/resourcecluster
mantis-control-plane/man.../master/resourcecluster
159:175 (1%)
195:211 (1%)
view
16 x 2 mantis-remote-observable...antis/remote/observable
mantis-remote-observable...antis/remote/observable
407:427 (3%)
532:552 (3%)
view
16 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-network/src/main/...vex/mantis/network/push
77:96 (7%)
209:228 (7%)
view
16 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-network/src/main/...vex/mantis/network/push
77:96 (7%)
274:293 (7%)
view
16 x 2 mantis-remote-observable...antis/remote/observable
mantis-remote-observable...antis/remote/observable
261:281 (3%)
532:552 (3%)
view
16 x 2 mantis-runtime/src/main/java/io/mantisrx/runtime
mantis-runtime/src/main/java/io/mantisrx/runtime
80:111 (25%)
74:105 (28%)
view
16 x 2 mantis-remote-observable...antis/remote/observable
mantis-remote-observable...antis/remote/observable
91:112 (3%)
147:168 (13%)
view
15 x 2 mantis-remote-observable...antis/remote/observable
mantis-remote-observable...antis/remote/observable
61:83 (23%)
76:98 (17%)
view
15 x 2 mantis-runtime/src/main/...untime/source/http/impl
mantis-runtime/src/main/...untime/source/http/impl
74:94 (20%)
118:138 (20%)
view
15 x 2 mantis-common/src/main/java/io/mantisrx/runtime
mantis-control-plane/man...rx/server/master/domain
136:155 (10%)
209:228 (5%)
view
15 x 2 mantis-control-plane/man...r/jobcluster/job/worker
mantis-control-plane/man...srx/server/master/store
257:271 (5%)
201:215 (6%)
view
15 x 2 mantis-control-plane/man...r/jobcluster/job/worker
mantis-control-plane/man...srx/server/master/store
257:271 (5%)
230:244 (6%)
view
15 x 2 mantis-runtime-executor/.../mantisrx/server/worker
mantis-server/mantis-ser...o/mantisrx/server/agent
189:219 (10%)
119:152 (17%)
view
14 x 2 mantis-control-plane/man...rx/server/master/domain
mantis-control-plane/man...srx/server/master/store
39:60 (56%)
315:336 (5%)
view
14 x 2 mantis-control-plane/man.../master/resourcecluster
mantis-control-plane/man.../master/resourcecluster
143:156 (1%)
180:193 (1%)
view
14 x 2 mantis-control-plane/man...x/master/jobcluster/job
mantis-control-plane/man...srx/server/master/store
40:53 (51%)
92:105 (8%)
view
14 x 2 mantis-control-plane/man...rx/server/master/domain
mantis-control-plane/man...rx/server/master/domain
595:609 (2%)
616:630 (2%)
view
Duplicated Units
The list of top 38 duplicated units.
See data for all 38 unit duplicates...
Size#FoldersFilesLinesCode
21 x 2 mantis-rxcontrol/src/main/java/io/mantisrx/control
mantis-runtime-autoscale...orker/jobmaster/control
45:70 
38:63 
view
20 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-remote-observable...antis/remote/observable
51:73 
45:67 
view
16 x 2 mantis-control-plane/man...a/io/mantisrx/master/zk
mantis-control-plane/man...a/io/mantisrx/master/zk
63:83 
68:88 
view
16 x 2 mantis-control-plane/man...r/jobcluster/job/worker
mantis-control-plane/man...r/jobcluster/job/worker
57:82 
57:81 
view
15 x 2 mantis-control-plane/man...a/io/mantisrx/master/zk
mantis-control-plane/man...a/io/mantisrx/master/zk
122:141 
120:139 
view
14 x 2 mantis-control-plane/man...srx/extensions/dynamodb
mantis-control-plane/man...srx/server/master/store
314:332 
264:282 
view
14 x 2 mantis-network/src/main/...vex/mantis/network/push
mantis-remote-observable...antis/remote/observable
223:240 
210:227 
view
14 x 2 mantis-source-jobs/manti...rx/sourcejob/kafka/sink
mantis-examples/mantis-e...ourcejob/synthetic/sink
52:67 
58:73 
view
14 x 2 mantis-remote-observable...o/reactivex/netty/codec
mantis-common/src/main/j...o/mantisrx/common/codec
60:78 
79:97 
view
14 x 2 mantis-publish/mantis-pu...nternal/discovery/proto
mantis-common/src/main/java/io/mantisrx/runtime
39:54 
35:50 
view
14 x 4 mantis-runtime/src/main/...antisrx/runtime/markers
mantis-runtime/src/main/...antisrx/runtime/markers
mantis-runtime/src/main/...antisrx/runtime/markers
mantis-runtime/src/main/...antisrx/runtime/markers
26:43 
26:43 
26:43 
26:43 
view
13 x 2 mantis-control-plane/man...a/io/mantisrx/master/zk
mantis-control-plane/man...a/io/mantisrx/master/zk
103:120 
101:118 
view
12 x 2 mantis-control-plane/man...srx/extensions/dynamodb
mantis-control-plane/man...srx/server/master/store
268:282 
218:232 
view
11 x 2 mantis-remote-observable...o/reactivex/netty/codec
mantis-common/src/main/j...o/mantisrx/common/codec
44:58 
63:77 
view
10 x 2 mantis-control-plane/man...io/mantisrx/server/core
mantis-publish/mantis-pu...nternal/discovery/proto
40:51 
40:51 
view
10 x 3 mantis-source-jobs/manti...antisrx/sourcejob/kafka
mantis-examples/mantis-e...urcejob/synthetic/stage
mantis-examples/mantis-e...ourcejob/synthetic/core
133:146 
136:149 
61:74 
view
10 x 2 mantis-remote-observable...o/reactivex/netty/codec
mantis-common/src/main/j...o/mantisrx/common/codec
29:42 
33:46 
view
10 x 2 mantis-remote-observable...o/reactivex/netty/codec
mantis-common/src/main/j...o/mantisrx/common/codec
88:100 
107:119 
view
9 x 3 mantis-runtime-executor/.../mantisrx/server/worker
mantis-control-plane/man...tisrx/server/core/utils
mantis-server/mantis-ser...o/mantisrx/server/agent
208:220 
150:162 
141:153 
view
9 x 2 mantis-source-jobs/manti...rx/sourcejob/kafka/sink
mantis-examples/mantis-e...ourcejob/synthetic/core
87:98 
87:98 
view
9 x 2 mantis-source-jobs/manti...rx/sourcejob/kafka/sink
mantis-examples/mantis-e...ourcejob/synthetic/core
100:111 
100:111 
view
8 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...srx/server/master/store
113:122 
49:58 
view
8 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...srx/server/master/store
125:134 
61:70 
view
8 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...srx/server/master/store
137:146 
73:82 
view
8 x 3 mantis-control-plane/man...r/jobcluster/job/worker
mantis-publish/mantis-pu...nternal/discovery/proto
mantis-common/src/main/java/io/mantisrx/runtime
125:134 
79:88 
91:100 
view
8 x 2 mantis-source-jobs/manti...rx/sourcejob/kafka/sink
mantis-examples/mantis-e...ourcejob/synthetic/sink
73:83 
78:88 
view
7 x 2 mantis-runtime-executor/.../mantisrx/server/worker
mantis-server/mantis-ser...o/mantisrx/server/agent
189:198 
119:128 
view
7 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...rx/server/master/domain
345:353 
42:50 
view
7 x 3 mantis-control-plane/man...aster/api/akka/route/v1
mantis-control-plane/man...aster/api/akka/route/v0
mantis-control-plane/man...aster/api/akka/route/v0
84:92 
95:103 
88:96 
view
7 x 2 mantis-control-plane/man...aster/api/akka/route/v1
mantis-control-plane/man...aster/api/akka/route/v0
105:113 
120:128 
view
7 x 3 mantis-control-plane/man...r/jobcluster/job/worker
mantis-publish/mantis-pu...nternal/discovery/proto
mantis-common/src/main/java/io/mantisrx/runtime
110:118 
90:98 
102:110 
view
7 x 2 mantis-rxcontrol/src/mai...srx/control/controllers
mantis-runtime-autoscale...jobmaster/control/utils
27:37 
30:40 
view
7 x 2 mantis-server/mantis-ser...rx/server/worker/client
mantis-client/src/main/java/io/mantisrx/client
124:132 
140:148 
view
7 x 2 mantis-publish/mantis-pu...nternal/discovery/proto
mantis-common/src/main/java/io/mantisrx/runtime
60:68 
72:80 
view
6 x 2 mantis-control-plane/man...srx/server/master/store
mantis-control-plane/man...srx/server/master/store
149:156 
85:92 
view
6 x 2 mantis-rxcontrol/src/mai...srx/control/controllers
mantis-runtime-autoscale...jobmaster/control/utils
80:87 
75:82 
view
6 x 2 mantis-source-jobs/manti...rx/sourcejob/kafka/sink
mantis-examples/mantis-e...ourcejob/synthetic/core
57:64 
57:64 
view
6 x 2 mantis-publish/mantis-pu...nternal/discovery/proto
mantis-common/src/main/java/io/mantisrx/runtime
70:77 
82:89 
view