aws / copilot-cli
Duplication

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

Intro
Learn more...
Duplication Overall
system11% (5,765 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go7% (3,358 lines)
js50% (1,689 lines)
html76% (718 lines)
Duplication per Component (primary)
internal7% (3,248 lines)
cf-custom-resources50% (1,689 lines)
site73% (718 lines)
regression49% (98 lines)
cmd9% (12 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 588 duplicates...
Size#FoldersFilesLinesCode
266 x 2 site/overrides/layouts
site/overrides/layouts
2:310 (61%)
2:310 (61%)
view
66 x 2 cf-custom-resources/lib
cf-custom-resources/lib
711:796 (12%)
412:497 (18%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
23:70 (33%)
31:78 (16%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
23:70 (33%)
31:78 (14%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
31:78 (14%)
21:68 (35%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
23:70 (33%)
21:68 (35%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
68:130 (8%)
61:123 (12%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
21:68 (35%)
31:78 (16%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
75:122 (48%)
17:64 (44%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
28:75 (29%)
37:84 (8%)
view
44 x 2 cf-custom-resources/lib
cf-custom-resources/lib
31:78 (14%)
31:78 (16%)
view
40 x 2 cf-custom-resources/lib
cf-custom-resources/lib
8:62 (30%)
9:63 (17%)
view
37 x 2 cf-custom-resources/lib
cf-custom-resources/lib
24:63 (15%)
31:70 (14%)
view
37 x 2 cf-custom-resources/lib
cf-custom-resources/lib
21:60 (29%)
24:63 (15%)
view
37 x 2 cf-custom-resources/lib
cf-custom-resources/lib
31:70 (12%)
24:63 (15%)
view
34 x 2 internal/pkg/deploy/cloudformation/stack
internal/pkg/deploy/cloudformation/stack
100:145 (18%)
129:176 (15%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
50:84 (6%)
44:78 (12%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
44:78 (10%)
50:84 (6%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
41:75 (21%)
34:68 (25%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
41:75 (21%)
36:70 (24%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
41:75 (21%)
44:78 (10%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
34:68 (25%)
50:84 (6%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
51:87 (12%)
129:165 (5%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
36:70 (24%)
50:84 (6%)
view
32 x 2 cf-custom-resources/lib
cf-custom-resources/lib
41:75 (21%)
44:78 (12%)
view
30 x 2 cf-custom-resources/lib
cf-custom-resources/lib
132:167 (5%)
125:160 (8%)
view
30 x 2 internal/pkg/cli
internal/pkg/cli
152:185 (7%)
79:112 (15%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
54:87 (10%)
125:158 (8%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
44:75 (19%)
50:81 (14%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
90:121 (31%)
124:155 (8%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
32:63 (29%)
124:155 (8%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
50:81 (14%)
47:78 (11%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
50:81 (14%)
47:78 (9%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
39:70 (22%)
50:81 (14%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
50:81 (14%)
53:84 (5%)
view
29 x 2 cf-custom-resources/lib
cf-custom-resources/lib
50:81 (14%)
37:68 (23%)
view
28 x 2 cf-custom-resources/lib
cf-custom-resources/lib
91:121 (30%)
132:162 (5%)
view
28 x 2 cf-custom-resources/lib
cf-custom-resources/lib
54:84 (10%)
91:121 (30%)
view
28 x 2 cf-custom-resources/lib
cf-custom-resources/lib
54:84 (10%)
33:63 (28%)
view
28 x 2 cf-custom-resources/lib
cf-custom-resources/lib
33:63 (28%)
132:162 (5%)
view
28 x 2 regression/multi-svc-app/front-end
regression/multi-svc-app/front-end/swap
28:65 (80%)
28:65 (80%)
view
27 x 2 internal/pkg/describe
internal/pkg/describe
284:317 (12%)
306:338 (10%)
view
27 x 2 internal/pkg/cli
internal/pkg/cli
299:333 (9%)
445:479 (5%)
view
25 x 2 cf-custom-resources/lib
cf-custom-resources/lib
50:76 (4%)
37:63 (10%)
view
25 x 2 internal/pkg/cli
internal/pkg/cli
450:482 (4%)
306:337 (7%)
view
25 x 2 cf-custom-resources/lib
cf-custom-resources/lib
23:51 (4%)
20:48 (7%)
view
25 x 2 cf-custom-resources/lib
cf-custom-resources/lib
41:67 (16%)
37:63 (10%)
view
23 x 2 cf-custom-resources/lib
cf-custom-resources/lib
54:78 (7%)
98:122 (25%)
view
23 x 2 cf-custom-resources/lib
cf-custom-resources/lib
51:75 (15%)
98:122 (25%)
view
23 x 2 cf-custom-resources/lib
cf-custom-resources/lib
44:68 (18%)
40:64 (23%)
view
Duplicated Units
The list of top 41 duplicated units.
See data for all 41 unit duplicates...
Size#FoldersFilesLinesCode
43 x 4 cf-custom-resources/lib
cf-custom-resources/lib
cf-custom-resources/lib
cf-custom-resources/lib
31:78 
23:70 
21:68 
31:78 
view
43 x 2 cf-custom-resources/lib
cf-custom-resources/lib
75:122 
17:64 
view
43 x 2 cf-custom-resources/lib
cf-custom-resources/lib
28:75 
37:84 
view
22 x 2 cf-custom-resources/lib
cf-custom-resources/lib
432:455 
731:754 
view
21 x 2 internal/pkg/cli
internal/pkg/cli
484:506 
269:291 
view
15 x 2 internal/pkg/cli
internal/pkg/cli
232:248 
254:270 
view
15 x 2 internal/pkg/cli
internal/pkg/cli
465:482 
250:267 
view
14 x 2 internal/pkg/cli
internal/pkg/cli
189:207 
179:195 
view
13 x 2 internal/pkg/manifest
internal/pkg/manifest
450:464 
161:175 
view
13 x 2 internal/pkg/cli
internal/pkg/cli
508:524 
293:309 
view
12 x 2 regression/multi-svc-app/front-end/swap
regression/multi-svc-app/front-end
28:41 
28:41 
view
12 x 2 internal/pkg/initialize
internal/pkg/cli
413:429 
166:182 
view
11 x 2 internal/pkg/cli
internal/pkg/term/selector
59:71 
958:970 
view
10 x 2 cf-custom-resources/lib
cf-custom-resources/lib
419:430 
718:729 
view
10 x 2 internal/pkg/cli
internal/pkg/cli
137:148 
202:213 
view
10 x 2 internal/pkg/cli
internal/pkg/cli
145:156 
147:158 
view
10 x 2 internal/pkg/cli
internal/pkg/cli
89:101 
154:165 
view
9 x 2 cf-custom-resources/lib
cf-custom-resources/lib
457:468 
756:767 
view
9 x 3 internal/pkg/manifest
internal/pkg/manifest
internal/pkg/manifest
127:138 
202:213 
281:292 
view
9 x 3 internal/pkg/cli
internal/pkg/cli
internal/pkg/cli
154:164 
174:184 
158:168 
view
9 x 3 internal/pkg/cli
internal/pkg/cli
internal/pkg/cli
182:192 
308:318 
190:200 
view
9 x 2 internal/pkg/cli
internal/pkg/cli
629:639 
437:447 
view
8 x 2 internal/pkg/addon
internal/pkg/template
311:320 
113:122 
view
8 x 2 internal/pkg/exec
internal/pkg/docker/dockerengine
90:99 
39:48 
view
8 x 2 internal/pkg/ecs
internal/pkg/s3
501:510 
64:73 
view
8 x 2 internal/pkg/cli/deploy
internal/pkg/cli/deploy
82:91 
123:132 
view
7 x 5 cf-custom-resources/lib
cf-custom-resources/lib
cf-custom-resources/lib
cf-custom-resources/lib
cf-custom-resources/lib
259:267 
202:210 
292:300 
278:286 
658:666 
view
7 x 2 cf-custom-resources/lib
cf-custom-resources/lib
333:341 
245:253 
view
7 x 2 regression/multi-svc-app/front-end/swap
regression/multi-svc-app/front-end
51:59 
51:59 
view
7 x 2 regression/multi-svc-app/front-end/swap
regression/multi-svc-app/front-end
61:70 
61:70 
view
7 x 2 internal/pkg/manifest
internal/pkg/template/override
144:152 
58:66 
view
7 x 2 internal/pkg/cli
internal/pkg/cli
154:162 
134:142 
view
7 x 2 internal/pkg/cli
internal/pkg/cli
84:92 
86:95 
view
6 x 2 cf-custom-resources/lib
cf-custom-resources/lib
143:150 
233:240 
view
6 x 2 cf-custom-resources/lib
cf-custom-resources/lib
396:403 
427:434 
view
6 x 4 cf-custom-resources/lib
cf-custom-resources/lib
cf-custom-resources/lib
cf-custom-resources/lib
403:410 
250:257 
323:330 
467:474 
view
6 x 2 cf-custom-resources/lib
cf-custom-resources/lib
177:184 
479:486 
view
6 x 2 internal/pkg/stream
internal/pkg/stream
193:201 
254:262 
view
6 x 2 internal/pkg/describe
internal/pkg/cli/list
493:500 
145:152 
view
6 x 5 internal/pkg/cli/deploy
internal/pkg/cli/deploy
internal/pkg/cli/deploy
internal/pkg/cli/deploy
internal/pkg/cli/deploy
72:79 
100:107 
113:120 
64:71 
118:125 
view
6 x 2 cf-custom-resources/lib
cf-custom-resources/lib
73:81 
80:88 
view