azure / fleet
Duplication

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

Intro
Learn more...
Duplication Overall
system63% (31,187 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
yaml97% (24,968 lines)
go26% (6,161 lines)
tpl61% (58 lines)
Duplication per Component (primary)
charts96% (12,466 lines)
config100% (12,362 lines)
apis85% (4,338 lines)
pkg11% (1,869 lines)
hack18% (118 lines)
tools16% (34 lines)
cmd0% (0 lines)

Duplication Between Components (50+ lines)

G charts charts config config charts--config 24724

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 17,841 duplicates...
Size#FoldersFilesLinesCode
2329 x 2 charts/hub-agent/crdbases
config/crd/bases
1:2427 (100%)
1:2427 (100%)
view
2099 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:2181 (100%)
1:2181 (100%)
view
1219 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:1253 (100%)
1:1253 (100%)
view
1009 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:1065 (100%)
1:1065 (100%)
view
876 x 2 charts/hub-agent/templates/crds
config/crd/bases
198:1098 (41%)
1278:2178 (41%)
view
876 x 2 charts/hub-agent/templates/crds
charts/hub-agent/templates/crds
198:1098 (41%)
1278:2178 (41%)
view
876 x 2 charts/hub-agent/templates/crds
config/crd/bases
1278:2178 (41%)
198:1098 (41%)
view
876 x 2 config/crd/bases
config/crd/bases
198:1098 (41%)
1278:2178 (41%)
view
725 x 2 charts/hub-agent/crdbases
config/crd/bases
1:741 (100%)
1:741 (100%)
view
614 x 2 charts/hub-agent/crdbases
config/crd/bases
1:656 (100%)
1:656 (100%)
view
563 x 2 charts/hub-agent/crdbases
config/crd/bases
1:577 (100%)
1:577 (100%)
view
553 x 2 charts/hub-agent/crdbases
charts/hub-agent/crdbases
54:625 (23%)
1111:1682 (23%)
view
553 x 2 charts/hub-agent/crdbases
config/crd/bases
54:625 (23%)
1111:1682 (23%)
view
553 x 2 config/crd/bases
config/crd/bases
54:625 (23%)
1111:1682 (23%)
view
553 x 2 charts/hub-agent/crdbases
config/crd/bases
1111:1682 (23%)
54:625 (23%)
view
437 x 2 charts/hub-agent/crdbases
config/crd/bases
1:437 (100%)
1:437 (100%)
view
423 x 2 config/crd/bases
config/crd/bases
1146:1585 (18%)
677:1116 (34%)
view
423 x 2 charts/hub-agent/templates/crds
config/crd/bases
677:1116 (34%)
1146:1585 (18%)
view
423 x 2 charts/hub-agent/templates/crds
config/crd/bases
677:1116 (34%)
89:528 (18%)
view
423 x 2 charts/hub-agent/crdbases
config/crd/bases
1146:1585 (18%)
677:1116 (34%)
view
423 x 2 charts/hub-agent/crdbases
charts/hub-agent/templates/crds
1146:1585 (18%)
677:1116 (34%)
view
423 x 2 charts/hub-agent/crdbases
charts/hub-agent/templates/crds
89:528 (18%)
677:1116 (34%)
view
423 x 2 config/crd/bases
config/crd/bases
89:528 (18%)
677:1116 (34%)
view
423 x 2 charts/hub-agent/crdbases
config/crd/bases
89:528 (18%)
677:1116 (34%)
view
321 x 2 charts/hub-agent/crdbases
config/crd/bases
410:738 (44%)
50:378 (44%)
view
321 x 2 charts/hub-agent/crdbases
charts/hub-agent/crdbases
50:378 (44%)
410:738 (44%)
view
321 x 2 charts/hub-agent/crdbases
config/crd/bases
50:378 (44%)
410:738 (44%)
view
321 x 2 config/crd/bases
config/crd/bases
50:378 (44%)
410:738 (44%)
view
318 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:332 (100%)
1:332 (100%)
view
297 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:297 (100%)
1:297 (100%)
view
289 x 2 charts/hub-agent/templates/crds
config/crd/bases
343:634 (23%)
959:1250 (23%)
view
289 x 2 config/crd/bases
config/crd/bases
343:634 (23%)
959:1250 (23%)
view
289 x 2 charts/hub-agent/templates/crds
config/crd/bases
959:1250 (23%)
343:634 (23%)
view
289 x 2 charts/hub-agent/templates/crds
charts/hub-agent/templates/crds
343:634 (23%)
959:1250 (23%)
view
287 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:293 (100%)
1:293 (100%)
view
283 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:283 (100%)
1:283 (100%)
view
281 x 2 charts/hub-agent/crdbases
config/crd/bases
1:281 (100%)
1:281 (100%)
view
262 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:266 (100%)
1:266 (100%)
view
248 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:252 (100%)
1:252 (100%)
view
227 x 2 charts/member-agent/crdbases
config/crd/bases
1:227 (100%)
1:227 (100%)
view
227 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:245 (100%)
1:245 (100%)
view
188 x 2 config/crd/bases
config/crd/bases
414:642 (18%)
305:533 (30%)
view
188 x 2 charts/hub-agent/crdbases
charts/hub-agent/templates/crds
305:533 (30%)
414:642 (18%)
view
188 x 2 charts/hub-agent/crdbases
config/crd/bases
305:533 (30%)
414:642 (18%)
view
188 x 2 charts/hub-agent/templates/crds
config/crd/bases
414:642 (18%)
305:533 (30%)
view
186 x 2 config/crd/bases
config/crd/bases
723:910 (7%)
1970:2157 (7%)
view
186 x 2 charts/hub-agent/crdbases
config/crd/bases
1970:2157 (7%)
723:910 (7%)
view
186 x 2 charts/hub-agent/crdbases
charts/hub-agent/crdbases
723:910 (7%)
1970:2157 (7%)
view
186 x 2 charts/hub-agent/crdbases
config/crd/bases
723:910 (7%)
1970:2157 (7%)
view
185 x 2 charts/hub-agent/templates/crds
config/crd/bases
1:185 (100%)
1:185 (100%)
view
Duplicated Units
The list of top 50 duplicated units.
See data for all 148 unit duplicates...
Size#FoldersFilesLinesCode
51 x 2 pkg/controllers/work
pkg/controllers/workv1alpha1
121:175 
121:175 
view
41 x 2 pkg/controllers/work
pkg/controllers/workv1alpha1
47:96 
45:94 
view
40 x 2 pkg/controllers/membercluster/v1beta1
pkg/controllers/membercluster/v1alpha1
412:458 
327:373 
view
30 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
1778:1809 
955:986 
view
28 x 2 apis/placement/v1beta1
apis/placement/v1
1302:1331 
715:744 
view
23 x 2 apis/cluster/v1beta1
apis/cluster/v1
127:151 
127:151 
view
19 x 2 apis/placement/v1beta1
apis/placement/v1
596:616 
345:365 
view
18 x 2 pkg/controllers/membercluster/v1beta1
pkg/controllers/membercluster/v1alpha1
284:308 
195:219 
view
17 x 2 apis/placement/v1beta1
apis/placement/v1
1417:1435 
830:848 
view
16 x 2 apis/placement/v1beta1
apis/placement/v1
1624:1641 
1009:1026 
view
16 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
1748:1765 
925:942 
view
13 x 2 apis/placement/v1beta1
apis/placement/v1
255:269 
180:194 
view
11 x 3 apis/cluster/v1beta1
apis/cluster/v1
apis/v1alpha1
116:128 
115:127 
104:116 
view
11 x 2 apis/placement/v1beta1
apis/placement/v1
803:815 
552:564 
view
11 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
1240:1252 
666:678 
view
11 x 2 apis/placement/v1beta1
apis/placement/v1
1654:1666 
1039:1051 
view
11 x 2 apis/placement/v1beta1
apis/placement/v1
1679:1691 
1064:1076 
view
11 x 2 pkg/controllers/work
pkg/controllers/workv1alpha1
117:129 
83:95 
view
10 x 3 apis/cluster/v1beta1
apis/cluster/v1
apis/v1alpha1
101:112 
100:111 
89:100 
view
10 x 3 apis/cluster/v1beta1
apis/cluster/v1
apis/v1alpha1
80:91 
80:91 
300:311 
view
10 x 3 apis/cluster/v1beta1
apis/cluster/v1
apis/v1alpha1
191:202 
191:202 
397:408 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1
131:142 
93:104 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
309:320 
134:145 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1
388:399 
254:265 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
473:484 
361:372 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
532:543 
420:431 
view
10 x 3 apis/placement/v1beta1
apis/placement/v1
apis/v1alpha1
564:575 
313:324 
122:133 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1
712:723 
461:472 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1
771:782 
520:531 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
907:918 
479:490 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
965:976 
537:548 
view
10 x 2 apis/placement/v1beta1
apis/placement/v1
1965:1976 
1195:1206 
view
10 x 2 pkg/controllers/work
pkg/controllers/workv1alpha1
409:422 
340:353 
view
10 x 2 pkg/controllers/internalmembercluster/v1beta1
pkg/controllers/internalmembercluster/v1alpha1
554:566 
200:212 
view
10 x 2 pkg/controllers/membercluster/v1beta1
pkg/controllers/membercluster/v1alpha1
534:546 
437:449 
view
9 x 2 apis/cluster/v1beta1
apis/cluster/v1
30:40 
30:40 
view
9 x 2 pkg/controllers/work
pkg/controllers/workv1alpha1
74:86 
74:86 
view
8 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
66:75 
48:57 
view
8 x 3 apis/placement/v1beta1
apis/placement/v1
apis/v1alpha1
828:837 
577:586 
73:82 
view
8 x 2 apis/placement/v1beta1
apis/placement/v1
1360:1369 
773:782 
view
8 x 2 apis/placement/v1beta1
apis/placement/v1
1580:1589 
965:974 
view
8 x 2 apis/placement/v1beta1
apis/placement/v1alpha1
1881:1890 
1058:1067 
view
8 x 2 apis/placement/v1beta1
apis/placement/v1
2062:2071 
1292:1301 
view
8 x 2 pkg/controllers/work
pkg/controllers/workv1alpha1
52:61 
52:61 
view
7 x 2 apis/cluster/v1beta1
apis/cluster/v1
223:231 
223:231 
view
7 x 2 apis/placement/v1beta1
apis/placement/v1
2012:2020 
1242:1250 
view
7 x 4 pkg/scheduler/framework/plugins/clusteraffinity
pkg/scheduler/framework/plugins/clustereligibility
pkg/scheduler/framework/plugins/tainttoleration
pkg/scheduler/framework/...s/sameplacementaffinity
72:81 
77:86 
45:54 
68:77 
view
7 x 2 pkg/controllers/work
pkg/controllers/workv1alpha1
41:49 
41:49 
view
6 x 2 apis/cluster/v1beta1
apis/cluster/v1
214:221 
213:220 
view
6 x 3 apis/cluster/v1beta1
apis/cluster/v1
apis/v1alpha1
43:50 
43:50 
63:70 
view