apache / pekko
Duplication

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

Intro
Learn more...
Duplication Overall
system10% (14,486 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
scala10% (13,793 lines)
proto21% (349 lines)
java21% (320 lines)
xml75% (24 lines)
Duplication per Component (primary)
actor19% (4,664 lines)
cluster-sharding13% (1,273 lines)
stream5% (1,156 lines)
persistence-typed22% (1,069 lines)
cluster8% (994 lines)
distributed-data13% (960 lines)
bench-jmh20% (901 lines)
cluster-sharding-typed18% (640 lines)
remote4% (549 lines)
cluster-tools12% (492 lines)
persistence10% (394 lines)
actor-typed5% (349 lines)
persistence-testkit10% (201 lines)
persistence-query16% (140 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)
project<1% (26 lines)
pki13% (14 lines)
multi-node-testkit1% (12 lines)
coordination8% (12 lines)
serialization-jackson1% (11 lines)
scripts0% (0 lines)
discovery0% (0 lines)
slf4j0% (0 lines)
kubernetes0% (0 lines)
stream-testkit0% (0 lines)
plugins0% (0 lines)
ROOT0% (0 lines)
osgi0% (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 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 1,285 duplicates...
Size#FoldersFilesLinesCode
474 x 2 actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
28:873 (63%)
29:874 (63%)
view
251 x 2 actor/src/main/scala-2.13/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
932:1501 (33%)
935:1504 (33%)
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
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-2.13/org/apache/pekko/util
1236:1422 (13%)
1283:1469 (12%)
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
94 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
1236:1422 (13%)
1286:1472 (12%)
view
89 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
563:693 (12%)
572:702 (11%)
view
89 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
563:693 (12%)
571:701 (11%)
view
81 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
318:432 (11%)
319:433 (10%)
view
81 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
318:432 (11%)
320:434 (10%)
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
63 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
464:560 (8%)
472:568 (8%)
view
63 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
464:560 (8%)
473:569 (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-2.13/org/apache/pekko/util
1119:1184 (5%)
1160:1225 (5%)
view
42 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
1119:1184 (5%)
1163:1228 (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
170:233 (5%)
169:232 (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
170:233 (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
307:344 (5%)
384:418 (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-2.13/org/apache/pekko/util
131:170 (6%)
143:182 (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
250:285 (3%)
246:281 (3%)
view
24 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
250:285 (3%)
247:282 (3%)
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
Duplicated Units
The list of top 50 duplicated units.
See data for all 115 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
49:98 
53:102 
view
36 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
34:179 
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
804:868 
803:867 
view
22 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
638:663 
647:672 
646:671 
view
22 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1292:1315 
1342:1365 
1339:1362 
view
22 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1263:1287 
1260:1284 
view
20 x 2 distributed-data/src/mai...che/pekko/cluster/ddata
persistence-typed/src/ma.../persistence/typed/crdt
264:287 
231:254 
view
20 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
665:694 
674:703 
673:702 
view
20 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
221:245 
220:244 
view
20 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
705:729 
704:728 
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 2 distributed-data/src/mai.../cluster/ddata/protobuf
persistence-typed/src/ma...nce/typed/serialization
990:1010 
45:65 
view
19 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
549:569 
561:581 
565:585 
view
18 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
187:220 
186:219 
185:218 
view
18 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
58:77 
59:78 
view
18 x 2 persistence-typed/src/ma...ce/typed/state/internal
persistence-typed/src/ma...sistence/typed/internal
51:72 
51:72 
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 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
510:533 
519:542 
518:541 
view
16 x 2 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
236:253 
245:262 
view
16 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1244:1261 
1241:1258 
view
15 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
390:409 
392:411 
391:410 
view
15 x 2 persistence-typed/src/ma...ce/typed/state/internal
persistence-typed/src/ma...sistence/typed/internal
99:115 
147:163 
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-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
359:379 
361:381 
360:380 
view
14 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1272:1287 
1322:1337 
1319:1334 
view
14 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
338:353 
348:363 
352:367 
view
14 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
941:1029 
938:1026 
view
13 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
263:281 
260:278 
259:277 
view
13 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
619:636 
628:645 
627:644 
view
13 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1081:1108 
1125:1152 
1122:1149 
view
13 x 2 actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
757:772 
756:771 
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 2 persistence-typed/src/ma...ce/typed/state/internal
persistence-typed/src/ma...sistence/typed/internal
278:294 
906:922 
view
12 x 5 cluster-metrics/src/main...luster/metrics/protobuf
cluster/src/main/scala/o.../pekko/cluster/protobuf
cluster-tools/src/main/s...cluster/pubsub/protobuf
distributed-data/src/mai.../cluster/ddata/protobuf
cluster-sharding/src/mai...uster/sharding/protobuf
81:96 
167:182 
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 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
1320:1333 
1370:1383 
1367:1380 
view
12 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
392:406 
402:416 
406:420 
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 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
11 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
340:357 
342:359 
341:358 
view
11 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
422:434 
424:436 
423:435 
view
11 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
545:557 
554:566 
553:565 
view
11 x 3 actor/src/main/scala-2.12/org/apache/pekko/util
actor/src/main/scala-3/org/apache/pekko/util
actor/src/main/scala-2.13/org/apache/pekko/util
532:544 
544:556 
548:560 
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
10 x 2 cluster-tools/src/main/s...he/pekko/cluster/client
cluster-tools/src/main/s...pekko/cluster/singleton
525:536 
326:337 
view
10 x 2 actor/src/main/scala/org/apache/pekko/pattern
actor-typed/src/main/sca...ko/actor/typed/internal
322:333 
185:196 
view
10 x 2 actor/src/main/java/org/apache/pekko/japi/pf
actor/src/main/java/org/apache/pekko/japi/pf
210:221 
116:127 
view