GoogleCloudPlatform / anthos-samples
Duplication

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

Intro
Learn more...
Duplication Overall
system49% (8,309 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
tf53% (4,215 lines)
yaml48% (3,956 lines)
tpl51% (138 lines)
Duplication per Component (primary)
anthos-multi-cloud53% (2,096 lines)
aws-logging-monitoring80% (1,183 lines)
anthos-bm-edge-deployment25% (936 lines)
anthos-bm-gcp-terraform43% (822 lines)
anthos-onprem-terraform88% (761 lines)
attached-logging-monitoring50% (760 lines)
anthos-attached-clusters44% (608 lines)
anthos-bm-utils99% (568 lines)
anthos-bm-openstack-terraform52% (415 lines)
anthos-bm-apigee60% (148 lines)
anthos-vmruntime9% (12 lines)
troubleshooting0% (0 lines)
build0% (0 lines)

Duplication Between Components (50+ lines)

G anthos-attached-clusters anthos-attached-clusters anthos-multi-cloud anthos-multi-cloud anthos-attached-clusters--anthos-multi-cloud 1197 anthos-bm-gcp-terraform anthos-bm-gcp-terraform anthos-attached-clusters--anthos-bm-gcp-terraform 534 anthos-onprem-terraform anthos-onprem-terraform anthos-attached-clusters--anthos-onprem-terraform 425 anthos-bm-openstack-terraform anthos-bm-openstack-terraform anthos-attached-clusters--anthos-bm-openstack-terraform 416 anthos-bm-apigee anthos-bm-apigee anthos-attached-clusters--anthos-bm-apigee 364 anthos-multi-cloud--anthos-onprem-terraform 849 attached-logging-monitoring attached-logging-monitoring aws-logging-monitoring aws-logging-monitoring attached-logging-monitoring--aws-logging-monitoring 1050 anthos-bm-gcp-terraform--anthos-multi-cloud 1008 anthos-bm-gcp-terraform--anthos-onprem-terraform 467 anthos-bm-gcp-terraform--anthos-bm-openstack-terraform 838 anthos-bm-openstack-terraform--anthos-multi-cloud 838 anthos-bm-openstack-terraform--anthos-onprem-terraform 226 anthos-bm-apigee--anthos-multi-cloud 836 anthos-bm-apigee--anthos-bm-gcp-terraform 479 anthos-bm-apigee--anthos-onprem-terraform 237 anthos-bm-apigee--anthos-bm-openstack-terraform 162 anthos-bm-edge-deployment anthos-bm-edge-deployment anthos-bm-edge-deployment--anthos-bm-gcp-terraform 438 anthos-bm-edge-deployment--anthos-bm-openstack-terraform 462

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 7,686 duplicates...
Size#FoldersFilesLinesCode
221 x 2 anthos-bm-gcp-terraform/resources/manifests
anthos-bm-openstack-terraform/resources
19:263 (100%)
19:263 (100%)
view
204 x 2 anthos-bm-utils/abm-nettest
anthos-bm-utils/abm-nettest
78:283 (72%)
84:289 (70%)
view
68 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/abm_user_cluster_metallb
36:109 (63%)
36:109 (58%)
view
59 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-openstack-terraform/resources
16:76 (86%)
161:224 (26%)
view
59 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-gcp-terraform/resources/manifests
16:76 (86%)
161:224 (26%)
view
56 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
534:589 (5%)
737:792 (5%)
view
52 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
478:529 (4%)
676:727 (4%)
view
51 x 2 attached-logging-monitoring/logging
aws-logging-monitoring/logging
339:412 (14%)
376:449 (12%)
view
51 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-gcp-terraform/resources/manifests
16:69 (80%)
60:111 (23%)
view
51 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-openstack-terraform/resources
16:69 (80%)
60:111 (23%)
view
45 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/abm_user_cluster_metallb
1:51 (31%)
1:51 (30%)
view
44 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/avmw_user_cluster_metallb
1:48 (30%)
1:48 (36%)
view
44 x 2 anthos-onprem-terraform/abm_user_cluster_metallb
anthos-onprem-terraform/avmw_user_cluster_metallb
1:48 (29%)
1:48 (36%)
view
43 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
478:520 (3%)
534:576 (3%)
view
43 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
478:520 (3%)
737:779 (3%)
view
43 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
676:718 (3%)
737:779 (3%)
view
43 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
534:576 (3%)
676:718 (3%)
view
40 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
168:207 (3%)
213:252 (3%)
view
40 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-openstack-terraform/resources
16:56 (76%)
116:156 (18%)
view
40 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/abm_user_cluster_metallb
88:131 (27%)
94:137 (26%)
view
40 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-gcp-terraform/resources/manifests
16:56 (76%)
116:156 (18%)
view
39 x 2 attached-logging-monitoring/monitoring
attached-logging-monitoring/monitoring
38:76 (6%)
146:184 (6%)
view
39 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
299:337 (3%)
347:385 (3%)
view
39 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
633:671 (3%)
846:884 (3%)
view
37 x 2 anthos-multi-cloud/AWS/modules/iam
anthos-multi-cloud/AWS/modules/iam_scope_down
1:43 (11%)
1:42 (3%)
view
37 x 2 anthos-bm-gcp-terraform/resources/templates
anthos-bm-gcp-terraform/resources/templates
1:37 (49%)
1:37 (52%)
view
37 x 2 attached-logging-monitoring/logging
aws-logging-monitoring/logging
126:170 (10%)
139:183 (9%)
view
36 x 2 attached-logging-monitoring/logging
aws-logging-monitoring/logging
41:81 (10%)
49:89 (9%)
view
35 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
594:628 (3%)
802:836 (3%)
view
35 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-openstack-terraform/resources
16:50 (100%)
19:53 (15%)
view
35 x 2 anthos-bm-edge-deploymen...fig-sink/namespaces/pos
anthos-bm-gcp-terraform/resources/manifests
16:50 (100%)
19:53 (15%)
view
33 x 2 anthos-bm-utils/abm-nettest
anthos-bm-utils/abm-nettest
15:47 (11%)
15:47 (11%)
view
31 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/abm_user_cluster_metallb
55:85 (21%)
55:85 (20%)
view
31 x 2 anthos-multi-cloud/AWS/modules/iam
anthos-multi-cloud/AWS/modules/iam_scope_down
105:135 (10%)
525:555 (3%)
view
31 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/abm_user_cluster_metallb
1:34 (28%)
1:34 (26%)
view
30 x 2 attached-logging-monitoring/monitoring
attached-logging-monitoring/monitoring
112:141 (5%)
230:259 (5%)
view
30 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
802:831 (2%)
846:875 (2%)
view
30 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
399:428 (2%)
434:463 (2%)
view
30 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
594:623 (2%)
846:875 (2%)
view
30 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
594:623 (2%)
633:662 (2%)
view
30 x 2 aws-logging-monitoring/monitoring
aws-logging-monitoring/monitoring
633:662 (2%)
802:831 (2%)
view
30 x 2 anthos-bm-utils/abm-nettest
anthos-bm-utils/abm-nettest
48:77 (10%)
51:80 (10%)
view
29 x 2 anthos-multi-cloud/AWS/modules/iam
anthos-multi-cloud/AWS/modules/iam_scope_down
286:321 (9%)
977:1013 (2%)
view
28 x 2 anthos-onprem-terraform/abm_user_cluster_metallb
anthos-onprem-terraform/avmw_user_cluster_metallb
1:30 (71%)
1:30 (71%)
view
28 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/abm_user_cluster_metallb
1:30 (71%)
1:30 (71%)
view
28 x 2 anthos-onprem-terraform/abm_user_cluster_manuallb
anthos-onprem-terraform/avmw_user_cluster_metallb
1:30 (71%)
1:30 (71%)
view
28 x 2 anthos-bm-gcp-terraform/resources/templates
anthos-bm-gcp-terraform/resources/templates
48:75 (37%)
44:71 (39%)
view
28 x 2 anthos-multi-cloud/AWS/modules/iam
anthos-multi-cloud/AWS/modules/iam_scope_down
248:275 (9%)
945:972 (2%)
view
27 x 2 anthos-multi-cloud/AWS/modules/iam
anthos-multi-cloud/AWS/modules/iam_scope_down
1:30 (100%)
1:30 (100%)
view
27 x 2 attached-logging-monitoring/monitoring
attached-logging-monitoring/monitoring
81:107 (4%)
194:220 (4%)
view