GoogleCloudPlatform / google-guest-agent
Duplication

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

Intro
Learn more...
Duplication Overall
system3% (398 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go2% (266 lines)
ps141% (58 lines)
proto5% (28 lines)
cmd77% (28 lines)
cfg51% (18 lines)
Duplication per Component (primary)
cmd3% (214 lines)
build35% (104 lines)
internal1% (80 lines)
Longest Duplicates
The list of 34 longest duplicates.
See data for all 34 duplicates...
Size#FoldersFilesLinesCode
16 x 2 build/packaging/googet
build/packaging/googet
1:18 (34%)
1:18 (80%)
view
14 x 2 build/packaging/googet
build/packaging/googet
1:14 (82%)
1:14 (73%)
view
13 x 2 build/packaging/googet
build/packaging/googet
1:13 (22%)
1:13 (27%)
view
13 x 2 build/packaging/googet
build/packaging/googet
1:13 (86%)
1:13 (27%)
view
13 x 2 build/packaging/googet
build/packaging/googet
1:13 (22%)
1:13 (65%)
view
13 x 2 build/packaging/googet
build/packaging/googet
1:13 (22%)
1:13 (86%)
view
13 x 2 build/packaging/googet
build/packaging/googet
1:13 (86%)
1:13 (65%)
view
12 x 2 cmd/core_plugin/network/dhclient
cmd/core_plugin/network/netplan
272:292 (5%)
146:167 (7%)
view
11 x 2 internal/acp/proto
internal/plugin/proto
1:15 (3%)
1:15 (10%)
view
11 x 2 cmd/core_plugin/stages/early
cmd/core_plugin/stages/late
61:83 (33%)
81:103 (21%)
view
9 x 2 cmd/core_plugin/agentcrypto
cmd/core_plugin/agentcrypto
278:288 (5%)
303:312 (5%)
view
9 x 2 cmd/gce_metadata_script_runner
cmd/metadata_script_runner_compat
461:473 (3%)
58:70 (15%)
view
8 x 2 cmd/core_plugin/network/route
cmd/core_plugin/network/route
255:265 (4%)
314:324 (4%)
view
7 x 2 cmd/core_plugin/network/netplan
cmd/core_plugin/network/wicked
46:52 (4%)
42:49 (4%)
view
7 x 2 internal/daemon
internal/daemon
114:122 (6%)
133:141 (6%)
view
7 x 2 cmd/core_plugin/agentcrypto
cmd/core_plugin/agentcrypto
131:137 (4%)
278:284 (4%)
view
7 x 2 cmd/core_plugin/network/netplan
cmd/core_plugin/network/nm
46:52 (4%)
38:44 (5%)
view
7 x 2 cmd/core_plugin/network/nm
cmd/core_plugin/network/wicked
38:44 (5%)
42:49 (4%)
view
7 x 2 cmd/core_plugin/metadatasshkey
cmd/core_plugin/metadatasshkey
190:198 (5%)
73:81 (8%)
view
7 x 2 cmd/core_plugin/agentcrypto
cmd/core_plugin/agentcrypto
131:137 (4%)
303:309 (4%)
view
7 x 2 cmd/core_plugin/diagnostics
cmd/core_plugin/network
100:112 (7%)
103:115 (9%)
view
7 x 2 cmd/core_plugin/clock
cmd/core_plugin/network
80:92 (15%)
103:115 (9%)
view
7 x 2 internal/accounts
internal/accounts
234:242 (5%)
258:266 (5%)
view
7 x 2 cmd/core_plugin/network/nm
cmd/core_plugin/network/nm
153:159 (5%)
191:197 (5%)
view
7 x 2 cmd/core_plugin/clock
cmd/core_plugin/diagnostics
80:92 (15%)
100:112 (7%)
view
6 x 2 cmd/core_plugin/metadatasshkey
cmd/core_plugin/metadatasshkey
178:188 (5%)
53:63 (7%)
view
6 x 2 internal/accounts
internal/accounts
113:119 (4%)
169:175 (4%)
view
6 x 2 cmd/google_authorized_keys_compat
cmd/google_guest_compat_manager
64:71 (19%)
70:77 (12%)
view
6 x 2 build/configs/usr/share/google-guest-agent
internal/cfg
16:21 (17%)
92:97 (2%)
view
6 x 2 cmd/gce_metadata_script_runner
cmd/google_authorized_keys_compat
444:452 (2%)
58:66 (19%)
view
6 x 2 cmd/core_plugin/snapshot/proto
internal/acp/proto
9:15 (7%)
9:15 (1%)
view
6 x 2 cmd/core_plugin/snapshot/proto
internal/plugin/proto
9:15 (7%)
9:15 (5%)
view
6 x 2 build/configs/usr/share/google-guest-agent
internal/cfg
1:6 (17%)
66:71 (2%)
view
6 x 2 build/configs/usr/share/google-guest-agent
internal/cfg
7:13 (17%)
73:79 (2%)
view
Duplicated Units
The list of top 2 duplicated units.
See data for all 2 unit duplicates...
Size#FoldersFilesLinesCode
7 x 3 cmd/core_plugin/network/nm
cmd/core_plugin/network/wicked
cmd/core_plugin/network/netplan
38:46 
42:51 
46:54 
view
6 x 2 cmd/core_plugin/stages/late
cmd/core_plugin/stages/early
92:99 
72:79 
view