gitlab-org / gitlab-shell
Duplication

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

Intro
Learn more...
Duplication Overall
system9% (471 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go6% (261 lines)
rb23% (210 lines)
Duplication per Component (primary)
spec24% (210 lines)
internal6% (209 lines)
cmd16% (52 lines)
support0% (0 lines)
client0% (0 lines)
Longest Duplicates
The list of 32 longest duplicates.
See data for all 32 duplicates...
Size#FoldersFilesLinesCode
31 x 2 spec
spec
82:118 (32%)
82:118 (32%)
view
21 x 2 spec
spec
26:52 (21%)
26:52 (21%)
view
21 x 2 spec
spec
54:75 (21%)
54:75 (21%)
view
14 x 2 internal/command/uploadarchive
internal/command/uploadpack
25:42 (51%)
29:46 (31%)
view
12 x 2 cmd/gitlab-shell-authorized-principals-check
cmd/gitlab-shell-check
17:34 (37%)
16:33 (35%)
view
11 x 2 internal/gitlabnet/lfstransfer
internal/gitlabnet/lfstransfer
245:261 (4%)
303:319 (4%)
view
10 x 2 spec
spec
32:45 (10%)
32:45 (10%)
view
10 x 2 spec
spec
32:45 (10%)
32:45 (10%)
view
9 x 2 internal/command/lfsauthenticate
internal/command/lfstransfer
51:65 (12%)
35:49 (12%)
view
9 x 2 internal/gitlabnet/discover
internal/gitlabnet/lfsauthenticate
62:76 (23%)
59:73 (25%)
view
8 x 2 internal/gitlabnet/lfsauthenticate
internal/gitlabnet/personalaccesstoken
59:70 (22%)
59:70 (16%)
view
8 x 2 internal/gitlabnet/discover
internal/gitlabnet/personalaccesstoken
62:73 (21%)
59:70 (16%)
view
8 x 2 internal/command/receivepack
internal/command/uploadpack
28:37 (18%)
29:38 (17%)
view
8 x 2 spec
spec
30:38 (8%)
30:38 (9%)
view
8 x 2 internal/command/receivepack
internal/command/uploadarchive
28:37 (18%)
25:34 (29%)
view
7 x 2 cmd/gitlab-shell-authorized-keys-check
cmd/gitlab-shell
27:35 (19%)
29:37 (18%)
view
7 x 2 cmd/gitlab-shell-authorized-keys-check/command
cmd/gitlab-shell-authori...rincipals-check/command
14:24 (50%)
14:24 (50%)
view
7 x 2 spec
spec
71:78 (8%)
81:88 (8%)
view
7 x 2 internal/command/receivepack
internal/command/uploadpack
79:89 (15%)
77:87 (15%)
view
7 x 2 internal/gitlabnet/lfstransfer
internal/gitlabnet/lfstransfer
263:271 (3%)
321:329 (3%)
view
6 x 2 internal/gitlabnet/lfstransfer
internal/gitlabnet/lfstransfer
250:258 (2%)
366:374 (2%)
view
6 x 2 spec
spec
19:26 (6%)
19:26 (6%)
view
6 x 2 internal/command/receivepack
internal/command/uploadarchive
82:89 (13%)
48:55 (22%)
view
6 x 2 internal/gitlabnet/lfstransfer
internal/gitlabnet/lfstransfer
308:316 (2%)
366:374 (2%)
view
6 x 2 internal/command/uploadarchive
internal/command/uploadpack
48:55 (22%)
80:87 (13%)
view
6 x 2 internal/command/lfstransfer
internal/command/lfstransfer
373:378 (2%)
387:392 (2%)
view
6 x 2 internal/command/githttp
internal/command/githttp
95:102 (11%)
94:99 (11%)
view
6 x 2 internal/command/lfstransfer
internal/command/twofactorverify
24:32 (8%)
21:31 (12%)
view
6 x 2 spec
spec
72:78 (6%)
83:89 (6%)
view
6 x 2 internal/gitlabnet/lfstransfer
internal/gitlabnet/lfstransfer
159:165 (2%)
365:371 (2%)
view
6 x 2 internal/command/lfsauthenticate
internal/command/lfstransfer
118:125 (8%)
120:127 (8%)
view
6 x 2 internal/testhelper/requesthandlers
internal/testhelper/requesthandlers
35:41 (8%)
73:79 (8%)
view
Duplicated Units
The list of top 2 duplicated units.
See data for all 2 unit duplicates...
Size#FoldersFilesLinesCode
8 x 2 cmd/gitlab-shell-authori...rincipals-check/command
cmd/gitlab-shell-authorized-keys-check/command
14:25 
14:25 
view
6 x 3 internal/command/uploadpack
internal/command/receivepack
internal/command/uploadarchive
80:88 
82:90 
48:56 
view