apache / incubator-pekko
Duplication

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

Intro
Learn more...
Duplication Overall
system10% (14,062 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
scala10% (13,369 lines)
proto21% (349 lines)
java21% (320 lines)
xml75% (24 lines)
Duplication per Component (primary)
actor19% (4,494 lines)
cluster-sharding13% (1,273 lines)
persistence-typed22% (1,069 lines)
cluster8% (994 lines)
stream4% (986 lines)
distributed-data13% (960 lines)
bench-jmh20% (850 lines)
cluster-sharding-typed18% (640 lines)
remote4% (566 lines)
cluster-tools12% (492 lines)
persistence10% (394 lines)
actor-typed5% (349 lines)
persistence-query16% (140 lines)
persistence-testkit7% (139 lines)
testkit8% (131 lines)
actor-testkit-typed6% (125 lines)
cluster-typed5% (110 lines)
stream-typed31% (102 lines)
persistence-tck14% (94 lines)
cluster-metrics5% (67 lines)
project1% (38 lines)
pki13% (14 lines)
multi-node-testkit1% (12 lines)
coordination8% (12 lines)
serialization-jackson1% (11 lines)
slf4j0% (0 lines)
plugins0% (0 lines)
osgi0% (0 lines)
discovery0% (0 lines)
scripts0% (0 lines)
kubernetes0% (0 lines)
stream-testkit0% (0 lines)
ROOT0% (0 lines)

Duplication Between Components (50+ lines)

G actor actor persistence persistence actor--persistence 596 remote remote persistence--remote 57 distributed-data distributed-data persistence-typed persistence-typed distributed-data--persistence-typed 529 distributed-data--remote 54 cluster-sharding-typed cluster-sharding-typed cluster-sharding cluster-sharding cluster-sharding-typed--cluster-sharding 490 cluster-sharding--distributed-data 73 cluster-tools cluster-tools cluster-sharding--cluster-tools 115 cluster cluster cluster-sharding--cluster 82 cluster-sharding--remote 65 actor-typed actor-typed actor-typed--actor 134 actor-typed--cluster-sharding-typed 227 cluster-tools--distributed-data 189 cluster-tools--cluster 114 cluster-typed cluster-typed cluster-tools--cluster-typed 104 cluster-tools--remote 81 cluster--distributed-data 145 cluster--persistence-typed 76 cluster--remote 81 cluster-metrics cluster-metrics cluster-metrics--distributed-data 63 cluster-metrics--cluster-tools 76 cluster-metrics--cluster 106 cluster-metrics--remote 57 cluster-typed--remote 54 stream stream remote--stream 57 multi-node-testkit multi-node-testkit multi-node-testkit--remote 57

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 1,203 duplicates...
Size#FoldersFilesLinesCode
451 x 2 actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
28:847 (64%)
30:848 (64%)
view
251 x 2 actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
851:1413 (35%)
851:1413 (35%)
view
248 x 2 actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
268:711 (60%)
264:707 (61%)
view
98 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1133:1325 (14%)
1189:1381 (13%)
view
98 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
1133:1325 (14%)
1189:1381 (13%)
view
94 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
490:695 (23%)
506:711 (23%)
view
94 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
490:695 (23%)
502:707 (23%)
view
87 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
529:656 (12%)
542:669 (12%)
view
87 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
529:656 (12%)
541:668 (12%)
view
81 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
301:415 (11%)
305:419 (11%)
view
81 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
301:415 (11%)
306:420 (11%)
view
79 x 2 cluster-sharding-typed/s.../cluster/sharding/typed
cluster-sharding/src/mai.../pekko/cluster/sharding
183:287 (10%)
148:250 (7%)
view
67 x 2 actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
117:222 (16%)
114:219 (16%)
view
64 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
324:421 (16%)
338:435 (15%)
view
64 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
324:421 (16%)
334:431 (15%)
view
61 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
433:526 (9%)
446:539 (8%)
view
61 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
433:526 (9%)
445:538 (8%)
view
56 x 2 persistence-typed/src/ma...sistence/typed/internal
persistence-typed/src/ma...ce/typed/state/internal
34:137 (73%)
34:137 (73%)
view
49 x 2 distributed-data/src/mai...che/pekko/cluster/ddata
persistence-typed/src/ma.../persistence/typed/crdt
221:284 (15%)
188:251 (19%)
view
48 x 2 bench-jmh/src/main/scala/org/apache/pekko/actor
bench-jmh/src/main/scala/org/apache/pekko/actor
48:101 (70%)
52:105 (59%)
view
44 x 2 actor/src/main/scala/org/apache/pekko/actor
persistence/src/main/sca...e/pekko/persistence/fsm
741:832 (12%)
422:513 (13%)
view
43 x 2 actor/src/main/scala/org/apache/pekko/actor
persistence/src/main/sca...e/pekko/persistence/fsm
530:708 (11%)
207:385 (13%)
view
42 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
1022:1087 (6%)
1072:1137 (5%)
view
42 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1022:1087 (6%)
1072:1137 (5%)
view
41 x 2 distributed-data/src/mai...che/pekko/cluster/ddata
persistence-typed/src/ma.../persistence/typed/crdt
160:218 (13%)
127:185 (16%)
view
39 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
169:232 (5%)
170:233 (5%)
view
39 x 2 cluster/src/multi-jvm/sc...pache/pekko/cluster/sbr
cluster/src/multi-jvm/sc...pache/pekko/cluster/sbr
65:130 (60%)
65:130 (60%)
view
39 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
169:232 (5%)
168:231 (5%)
view
38 x 2 distributed-data/src/mai...che/pekko/cluster/ddata
distributed-data/src/mai...che/pekko/cluster/ddata
16:99 (86%)
16:99 (90%)
view
37 x 2 actor/src/main/scala/org/apache/pekko/actor
persistence/src/main/sca...e/pekko/persistence/fsm
840:890 (10%)
521:571 (11%)
view
37 x 2 actor/src/main/scala/org/apache/pekko/actor
persistence/src/main/sca...e/pekko/persistence/fsm
962:1017 (10%)
645:700 (11%)
view
36 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
59:107 (9%)
60:108 (8%)
view
34 x 2 stream/src/main/scala/or...ekko/stream/impl/fusing
stream/src/main/scala/or...ekko/stream/impl/fusing
1532:1581 (2%)
1652:1701 (2%)
view
32 x 2 actor/src/main/scala/org/apache/pekko/actor
actor/src/main/scala/org/apache/pekko/actor
467:540 (12%)
581:649 (12%)
view
31 x 2 distributed-data/src/mul...che/pekko/cluster/ddata
distributed-data/src/mul...che/pekko/cluster/ddata
172:218 (11%)
214:260 (10%)
view
31 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
172:223 (7%)
184:235 (7%)
view
30 x 2 cluster-sharding/src/mul...pache/pekko/cluster/sbr
cluster-sharding/src/mul...pache/pekko/cluster/sbr
152:194 (11%)
145:188 (10%)
view
29 x 2 stream/src/main/scala/org/apache/pekko/stream
stream/src/main/scala/org/apache/pekko/stream
301:338 (5%)
378:412 (5%)
view
29 x 2 actor/src/main/scala/org/apache/pekko/actor
persistence/src/main/sca...e/pekko/persistence/fsm
358:515 (25%)
1014:1171 (8%)
view
29 x 2 bench-jmh/src/main/scala/org/apache/pekko/actor
bench-jmh/src/main/scala...pache/pekko/actor/typed
69:108 (47%)
69:108 (48%)
view
28 x 2 persistence-testkit/src/...istence/testkit/javadsl
persistence-testkit/src/...istence/testkit/javadsl
74:197 (27%)
75:198 (43%)
view
27 x 2 cluster-sharding-typed/s.../cluster/sharding/typed
cluster-sharding/src/mai.../pekko/cluster/sharding
477:511 (3%)
412:446 (2%)
view
25 x 2 persistence-typed/src/ma...rsistence/typed/javadsl
persistence-typed/src/ma...nce/typed/state/javadsl
23:81 (100%)
23:81 (100%)
view
25 x 2 cluster/src/multi-jvm/sc...rg/apache/pekko/cluster
cluster/src/multi-jvm/sc...rg/apache/pekko/cluster
29:65 (32%)
28:64 (35%)
view
25 x 2 persistence-tck/src/main...ersistence/japi/journal
persistence-tck/src/main...rsistence/japi/snapshot
39:75 (92%)
36:72 (96%)
view
25 x 2 distributed-data/src/mai...che/pekko/cluster/ddata
persistence-typed/src/ma...sistence/typed/internal
203:243 (14%)
153:193 (18%)
view
24 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
235:270 (3%)
235:270 (3%)
view
24 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
131:170 (6%)
143:182 (5%)
view
24 x 2 actor-typed/src/main/sca...typed/delivery/internal
cluster-sharding-typed/s...typed/delivery/internal
209:241 (5%)
214:246 (5%)
view
24 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
235:270 (3%)
233:268 (3%)
view
Duplicated Units
The list of top 50 duplicated units.
See data for all 113 unit duplicates...
Size#FoldersFilesLinesCode
45 x 2 bench-jmh/src/main/scala/org/apache/pekko/actor
bench-jmh/src/main/scala/org/apache/pekko/actor
53:102 
49:98 
view
36 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
35:180 
33:178 
view
30 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
746:810 
745:809 
view
22 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
614:639 
613:638 
601:626 
view
22 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1172:1196 
1172:1196 
view
22 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
1251:1274 
1251:1274 
1195:1218 
view
21 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
672:697 
671:696 
view
20 x 2 persistence-typed/src/ma.../persistence/typed/crdt
distributed-data/src/mai...che/pekko/cluster/ddata
231:254 
264:287 
view
20 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
222:246 
220:244 
view
20 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
641:670 
640:669 
628:657 
view
19 x 2 persistence-typed/src/ma...nce/typed/serialization
distributed-data/src/mai.../cluster/ddata/protobuf
45:65 
990:1010 
view
19 x 2 persistence/src/main/sca...e/pekko/persistence/fsm
actor/src/main/scala/org/apache/pekko/actor
664:687 
981:1004 
view
19 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
561:581 
565:585 
549:569 
view
18 x 2 persistence-typed/src/ma...sistence/typed/internal
persistence-typed/src/ma...ce/typed/state/internal
51:72 
51:72 
view
18 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
59:78 
58:77 
view
18 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
187:220 
185:218 
186:219 
view
17 x 2 cluster-sharding-typed/s.../cluster/sharding/typed
cluster-sharding/src/mai.../pekko/cluster/sharding
537:561 
471:495 
view
16 x 2 persistence-testkit/src/...stence/testkit/scaladsl
persistence-testkit/src/...istence/testkit/javadsl
79:101 
76:98 
view
16 x 2 actor/src/main/java/org/apache/pekko/japi/pf
actor/src/main/java/org/apache/pekko/japi/pf
232:249 
138:155 
view
16 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
245:262 
236:253 
view
16 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
489:512 
488:511 
476:499 
view
16 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1153:1170 
1153:1170 
view
15 x 2 persistence-typed/src/ma...sistence/typed/internal
persistence-typed/src/ma...ce/typed/state/internal
139:155 
99:115 
view
15 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
378:397 
377:396 
373:392 
view
15 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
857:938 
857:938 
view
14 x 2 cluster-sharding-typed/s.../cluster/sharding/typed
cluster-sharding/src/mai.../pekko/cluster/sharding
484:505 
419:440 
view
14 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
348:363 
352:367 
338:353 
view
14 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
347:367 
346:366 
342:362 
view
14 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
1231:1246 
1231:1246 
1175:1190 
view
13 x 2 persistence-typed/src/ma...sistence/typed/internal
persistence-typed/src/ma...ce/typed/state/internal
906:922 
278:294 
view
13 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
318:332 
322:336 
view
13 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
498:517 
502:521 
view
13 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
248:266 
246:264 
248:266 
view
13 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
595:612 
594:611 
582:599 
view
13 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
699:714 
698:713 
view
13 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
1034:1061 
1034:1061 
984:1011 
view
12 x 5 cluster/src/main/scala/o.../pekko/cluster/protobuf
cluster-metrics/src/main...luster/metrics/protobuf
cluster-tools/src/main/s...cluster/pubsub/protobuf
distributed-data/src/mai.../cluster/ddata/protobuf
cluster-sharding/src/mai...uster/sharding/protobuf
167:182 
81:96 
99:114 
78:93 
627:642 
view
12 x 2 persistence/src/main/sca...e/pekko/persistence/fsm
actor/src/main/scala/org/apache/pekko/actor
230:290 
553:613 
view
12 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
270:283 
274:287 
view
12 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
402:416 
406:420 
392:406 
view
12 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
483:496 
487:500 
view
12 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
1279:1292 
1279:1292 
1223:1236 
view
11 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
296:308 
300:312 
view
11 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
544:556 
548:560 
532:544 
view
11 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
328:345 
327:344 
323:340 
view
11 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
410:422 
409:421 
405:417 
view
11 x 3 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-2.12/org/apache/pekko/util
524:536 
523:535 
511:523 
view
10 x 2 actor-typed/src/main/sca...ko/actor/typed/internal
actor/src/main/scala/org/apache/pekko/pattern
185:196 
322:333 
view
10 x 2 cluster-tools/src/main/s...pekko/cluster/singleton
cluster-tools/src/main/s...he/pekko/cluster/client
326:337 
528:539 
view
10 x 2 persistence-typed/src/ma...sistence/typed/internal
persistence-typed/src/ma...ce/typed/state/internal
889:904 
261:276 
view