apache / helix
Duplication

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

Intro
Learn more...
Duplication Overall
system7% (5,941 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
java6% (4,749 lines)
html23% (323 lines)
ts7% (266 lines)
xml24% (182 lines)
ivy50% (180 lines)
py5% (141 lines)
cgi100% (88 lines)
scss2% (12 lines)
Duplication per Component (primary)
helix-core5% (2,696 lines)
helix-admin-webapp30% (707 lines)
helix-front11% (601 lines)
helix-rest8% (568 lines)
zookeeper-api9% (548 lines)
recipes12% (290 lines)
website62% (148 lines)
ROOT19% (110 lines)
meta-client5% (102 lines)
helix-lock7% (40 lines)
metadata-store-directory-common12% (36 lines)
helix-view-aggregator4% (33 lines)
helix-agent7% (30 lines)
metrics-common6% (19 lines)
helix-common10% (13 lines)

Duplication Between Components (50+ lines)

G helix-core helix-core recipes recipes helix-core--recipes 246 helix-admin-webapp helix-admin-webapp helix-rest helix-rest helix-admin-webapp--helix-rest 88 meta-client meta-client zookeeper-api zookeeper-api meta-client--zookeeper-api 56

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 721 duplicates...
Size#FoldersFilesLinesCode
123 x 2 helix-core/src/main/java/org/apache/helix
recipes/rsync-replicated.../apache/helix/filestore
41:368 (97%)
37:344 (98%)
view
93 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
646:832 (20%)
558:744 (23%)
view
45 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
212:284 (9%)
182:253 (11%)
view
33 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
422:485 (7%)
358:421 (8%)
view
26 x 2 zookeeper-api/src/main/j...x/zookeeper/impl/client
zookeeper-api/src/main/j...x/zookeeper/impl/client
206:247 (6%)
207:248 (6%)
view
25 x 2 helix-core/src/main/java...apache/helix/manager/zk
helix-core/src/main/java...apache/helix/manager/zk
611:639 (1%)
650:678 (1%)
view
23 x 2 helix-front/src/app/resource/partition-list
helix-front/src/app/workflow/workflow-list
87:109 (23%)
55:77 (41%)
view
22 x 2 website/1.3.1/src/site/resources
website/src/site/resources
1:22 (100%)
1:22 (100%)
view
22 x 2 website/0.9.9/src/site/resources
website/1.3.1/src/site/resources
1:22 (100%)
1:22 (100%)
view
22 x 2 website/0.9.9/src/site/resources
website/1.4.3/src/site/resources
1:22 (100%)
1:22 (100%)
view
22 x 2 website/0.9.9/src/site/resources
website/src/site/resources
1:22 (100%)
1:22 (100%)
view
22 x 2 website/1.4.3/src/site/resources
website/src/site/resources
1:22 (100%)
1:22 (100%)
view
22 x 2 website/1.3.1/src/site/resources
website/1.4.3/src/site/resources
1:22 (100%)
1:22 (100%)
view
20 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
515:564 (4%)
452:502 (5%)
view
20 x 2 helix-front/src/app/shared
helix-front/src/app/shared
24:43 (45%)
45:64 (45%)
view
19 x 2 zookeeper-api/src/main/j...er/datamodel/serializer
zookeeper-api/src/main/j...er/datamodel/serializer
94:120 (27%)
157:183 (10%)
view
18 x 2 helix-core/src/main/java.../tools/ClusterVerifiers
helix-core/src/main/java.../tools/ClusterVerifiers
218:246 (7%)
190:218 (8%)
view
17 x 2 zookeeper-api/src/main/j...x/zookeeper/impl/client
zookeeper-api/src/main/j...x/zookeeper/impl/client
252:278 (4%)
252:278 (4%)
view
17 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
489:510 (3%)
425:446 (4%)
view
17 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
316:340 (3%)
283:307 (4%)
view
16 x 2 helix-core/src/main/scri...integration-test/script
helix-core/src/main/scri...integration-test/script
137:152 (6%)
224:239 (6%)
view
16 x 2 helix-rest/src/main/java.../server/resources/helix
helix-rest/src/main/java.../server/resources/helix
407:425 (3%)
478:496 (3%)
view
15 x 2 helix-core/src/main/java/org/apache/helix/task
helix-core/src/main/java/org/apache/helix/task
52:70 (17%)
63:81 (24%)
view
15 x 2 helix-front/src/app/shared/node-viewer
helix-front/src/app/shared/node-viewer
118:132 (6%)
223:237 (6%)
view
15 x 2 helix-core/src/main/java...elix/tools/commandtools
helix-core/src/main/java...elix/tools/commandtools
300:318 (6%)
253:271 (9%)
view
15 x 2 helix-admin-webapp/src/m.../helix/webapp/resources
helix-admin-webapp/src/m.../helix/webapp/resources
55:79 (20%)
45:63 (19%)
view
14 x 2 zookeeper-api/src/main/j...x/zookeeper/impl/client
zookeeper-api/src/main/j...x/zookeeper/impl/client
180:201 (3%)
182:203 (3%)
view
14 x 2 helix-rest/src/main/java...ix/rest/server/auditlog
helix-rest/src/main/java...ix/rest/server/auditlog
34:48 (8%)
147:161 (8%)
view
14 x 2 helix-core/src/main/java...helix/controller/stages
helix-core/src/main/java...helix/controller/stages
226:248 (3%)
148:168 (16%)
view
14 x 2 helix-admin-webapp/src/m.../helix/webapp/resources
helix-admin-webapp/src/m.../helix/webapp/resources
46:64 (46%)
47:64 (46%)
view
14 x 2 helix-core/src/main/java...apache/helix/controller
helix-core/src/main/java/org/apache/helix/tools
69:84 (11%)
641:656 (3%)
view
14 x 2 recipes/rabbitmq-consume.../helix/recipes/rabbitmq
recipes/rsync-replicated.../apache/helix/filestore
33:51 (70%)
33:51 (70%)
view
14 x 2 helix-core/src/main/java/org/apache/helix/model
helix-core/src/main/java/org/apache/helix/model
103:118 (15%)
93:108 (20%)
view
14 x 2 helix-core/src/main/java...apache/helix/manager/zk
helix-core/src/main/java/org/apache/helix/util
2031:2046 (<1%)
121:136 (11%)
view
14 x 2 helix-core/src/main/java/org/apache/helix/model
helix-core/src/main/java/org/apache/helix/model
53:110 (73%)
64:122 (63%)
view
13 x 2 helix-rest
metadata-store-directory-common
23:36 (41%)
23:36 (44%)
view
13 x 2 helix-admin-webapp/src/m.../helix/webapp/resources
helix-admin-webapp/src/m.../helix/webapp/resources
121:135 (13%)
125:139 (19%)
view
13 x 2 helix-rest/src/main/java.../server/resources/helix
helix-rest/src/main/java.../server/resources/helix
568:583 (2%)
408:423 (3%)
view
13 x 2 helix-core/src/main/java/org/apache/helix/task
helix-core/src/main/java/org/apache/helix/task
79:93 (8%)
70:84 (21%)
view
13 x 2 website/0.9.9/src/site
website/1.4.3/src/site
1:38 (41%)
1:43 (41%)
view
13 x 2 helix-front/src/app/shared/data-table
helix-front/src/app/shared/node-viewer
77:90 (19%)
180:193 (5%)
view
13 x 2 helix-front/src/app/shared/data-table
helix-front/src/app/shared/node-viewer
60:75 (19%)
159:174 (5%)
view
13 x 2 helix-front/src/app/shared/node-viewer
helix-front/src/app/shared/node-viewer
159:174 (5%)
264:279 (5%)
view
13 x 2 helix-common
zookeeper-api
23:36 (48%)
23:36 (46%)
view
13 x 2 metadata-store-directory-common
zookeeper-api
23:36 (44%)
23:36 (46%)
view
13 x 2 helix-common
metrics-common
23:36 (48%)
23:36 (56%)
view
13 x 2 helix-view-aggregator
metadata-store-directory-common
21:34 (46%)
23:36 (44%)
view
13 x 2 helix-lock
meta-client
23:36 (54%)
23:36 (54%)
view
13 x 2 helix-rest/src/main/java.../server/resources/helix
helix-rest/src/main/java.../server/resources/helix
170:183 (5%)
185:198 (2%)
view
13 x 2 helix-rest/src/main/java.../server/resources/helix
helix-rest/src/main/java.../server/resources/helix
568:583 (2%)
479:494 (3%)
view
Duplicated Units
The list of top 23 duplicated units.
See data for all 23 unit duplicates...
Size#FoldersFilesLinesCode
21 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
242:267 
211:236 
view
18 x 2 helix-core/src/main/java...elix/tools/commandtools
helix-core/src/main/java...elix/tools/commandtools
300:319 
253:272 
view
14 x 2 helix-admin-webapp/src/m.../helix/webapp/resources
helix-admin-webapp/src/m.../helix/webapp/resources
51:68 
67:84 
view
14 x 2 helix-core/src/main/java.../tools/ClusterVerifiers
helix-core/src/main/java.../tools/ClusterVerifiers
196:216 
224:244 
view
14 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
709:724 
621:636 
view
13 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
463:477 
399:413 
view
12 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
541:555 
479:493 
view
11 x 2 helix-admin-webapp/src/m.../helix/webapp/resources
helix-admin-webapp/src/m.../helix/webapp/resources
46:60 
47:60 
view
11 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
442:454 
378:390 
view
10 x 2 helix-core/src/main/java/org/apache/helix
recipes/rsync-replicated.../apache/helix/filestore
67:80 
60:73 
view
10 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
655:666 
567:578 
view
10 x 2 zookeeper-api/src/main/j...er/datamodel/serializer
zookeeper-api/src/main/j...er/datamodel/serializer
47:58 
47:58 
view
9 x 2 helix-admin-webapp/src/m.../helix/webapp/resources
helix-admin-webapp/src/m.../helix/webapp/resources
70:83 
86:98 
view
9 x 2 helix-core/src/main/java/org/apache/helix
recipes/rsync-replicated.../apache/helix/filestore
243:260 
226:243 
view
9 x 2 helix-core/src/main/java...r/rebalancer/constraint
helix-core/src/main/java...r/rebalancer/constraint
77:87 
68:78 
view
9 x 2 zookeeper-api/src/main/j...x/zookeeper/impl/client
zookeeper-api/src/main/j...x/zookeeper/impl/client
662:672 
611:621 
view
8 x 2 helix-admin-webapp/src/m.../helix/webapp/resources
helix-admin-webapp/src/m.../helix/webapp/resources
46:58 
48:60 
view
8 x 2 helix-core/src/main/java...r/strategy/crushMapping
helix-core/src/main/java...r/strategy/crushMapping
253:262 
151:160 
view
7 x 2 helix-core/src/main/java/org/apache/helix/util
helix-core/src/main/java/org/apache/helix
78:88 
243:253 
view
7 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
731:739 
643:651 
view
7 x 2 helix-core/src/main/java...x/controller/rebalancer
helix-core/src/main/java...x/controller/rebalancer
199:207 
289:298 
view
6 x 2 helix-core/src/main/java/org/apache/helix
recipes/rsync-replicated.../apache/helix/filestore
325:333 
301:309 
view
6 x 2 helix-core/src/main/java...ler/rebalancer/strategy
helix-core/src/main/java...lix/controller/strategy
682:689 
594:601 
view