gitlab-org / cli
Duplication

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

Intro
Learn more...
Duplication Overall
system9% (2,037 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go9% (2,037 lines)
Duplication per Component (primary)
commands10% (1,746 lines)
api8% (157 lines)
internal9% (118 lines)
pkg<1% (16 lines)
scripts0% (0 lines)
snap0% (0 lines)
cmd0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 551 duplicates...
Size#FoldersFilesLinesCode
19 x 2 commands/issue/update
commands/mr/update
138:162 (14%)
176:200 (10%)
view
19 x 2 commands/ci/retry
commands/ci/trigger
28:52 (36%)
29:52 (34%)
view
18 x 2 internal/glrepo
internal/glrepo
105:130 (12%)
181:206 (12%)
view
18 x 2 internal/config
internal/config
334:359 (5%)
386:411 (5%)
view
18 x 2 commands/token/list
commands/token/list
190:208 (10%)
218:236 (10%)
view
17 x 2 commands/mr/approve
commands/mr/revoke
27:48 (41%)
30:51 (42%)
view
15 x 2 commands/release/delete
commands/release/upload
77:96 (18%)
118:137 (17%)
view
15 x 2 api
api
202:216 (5%)
253:267 (5%)
view
14 x 2 commands/token/revoke
commands/token/rotate
107:125 (10%)
130:148 (8%)
view
14 x 2 commands/issue/create
commands/mr/create
242:259 (4%)
443:460 (2%)
view
13 x 2 commands/ci/artifact
commands/job/artifact
19:33 (48%)
17:31 (52%)
view
13 x 2 api
api
184:200 (4%)
228:244 (4%)
view
13 x 2 commands/auth/login
commands/auth/login
166:187 (4%)
205:226 (4%)
view
13 x 2 commands/ssh-key/delete
commands/ssh-key/get
47:65 (15%)
47:65 (15%)
view
13 x 2 commands/ci/cancel/pipeline
commands/ci/delete
38:54 (21%)
68:85 (10%)
view
13 x 2 commands/ci/retry
commands/ci/trace
30:47 (25%)
25:40 (34%)
view
13 x 2 commands/ci/trace
commands/ci/trigger
25:40 (34%)
31:48 (23%)
view
13 x 2 commands/schedule/delete
commands/schedule/run
31:47 (36%)
31:47 (36%)
view
12 x 2 commands/project/list
commands/project/list
121:140 (8%)
177:196 (8%)
view
12 x 2 commands/ci/cancel/job
commands/ci/delete
38:52 (20%)
68:83 (10%)
view
12 x 2 commands/ci/cancel/job
commands/ci/cancel/pipeline
38:52 (20%)
38:52 (20%)
view
12 x 2 commands/mr/subscribe
commands/mr/unsubscribe
28:44 (32%)
28:44 (32%)
view
12 x 2 commands/variable/set
commands/variable/update
19:31 (12%)
19:31 (12%)
view
11 x 2 commands/variable/set
commands/variable/update
68:85 (11%)
71:88 (11%)
view
11 x 2 commands/schedule/delete
commands/schedule/update
34:50 (30%)
64:80 (11%)
view
11 x 2 commands/issue/board/view
commands/issue/board/view
201:220 (3%)
226:245 (3%)
view
11 x 2 commands/variable/set
commands/variable/update
88:100 (11%)
91:103 (11%)
view
11 x 2 commands/variable/set
commands/variable/update
53:68 (11%)
51:66 (11%)
view
11 x 2 api
api
115:132 (4%)
230:247 (4%)
view
11 x 2 commands/ci/view
commands/ci/view
299:311 (1%)
338:350 (1%)
view
11 x 2 commands/issuable/subscribe
commands/issuable/unsubscribe
36:50 (20%)
37:51 (20%)
view
11 x 2 commands/issue/update
commands/mr/update
32:48 (8%)
39:55 (6%)
view
10 x 2 commands/issue/create
commands/mr/create
267:285 (3%)
513:531 (1%)
view
10 x 2 commands/label/delete
commands/mr/for
22:34 (38%)
34:46 (10%)
view
10 x 2 commands/label/create
commands/label/list
24:36 (26%)
37:49 (14%)
view
10 x 2 commands/variable/export
commands/variable/export
210:224 (5%)
270:284 (5%)
view
10 x 2 commands/variable/export
commands/variable/list
60:73 (5%)
48:61 (12%)
view
10 x 2 commands/token/list
commands/token/list
166:176 (5%)
218:228 (5%)
view
10 x 2 commands/token/list
commands/token/list
166:176 (5%)
190:200 (5%)
view
10 x 2 commands/issue/update
commands/mr/update
115:128 (7%)
156:170 (5%)
view
10 x 2 commands/cmdtest
commands/cmdtest
158:167 (5%)
234:243 (5%)
view
10 x 2 commands/iteration/list
commands/label/list
37:48 (14%)
37:49 (14%)
view
10 x 2 commands/schedule/delete
commands/securefile/download
31:42 (27%)
29:40 (18%)
view
10 x 2 commands/schedule/run
commands/schedule/update
34:47 (27%)
64:77 (10%)
view
10 x 2 commands/mr/approve
commands/mr/close
27:39 (24%)
32:43 (23%)
view
10 x 2 commands/mr/create
commands
797:808 (1%)
154:165 (9%)
view
10 x 2 commands/ci/run
commands/ci/run_trig
144:155 (8%)
75:86 (15%)
view
10 x 2 commands/mr/close
commands/mr/revoke
32:43 (23%)
30:42 (25%)
view
10 x 2 commands/ci/run
commands/ci/run_trig
85:97 (8%)
46:58 (15%)
view
10 x 2 commands/schedule/run
commands/securefile/download
31:42 (27%)
29:40 (18%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
10 x 2 internal/config
internal/config
60:74 
77:91 
view