elastic / apm-server
Duplication

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

Intro
Learn more...
Duplication Overall
system9% (1,554 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
tf35% (938 lines)
go2% (383 lines)
tfvars87% (183 lines)
yaml12% (36 lines)
ps158% (14 lines)
Duplication per Component (primary)
testing37% (1,115 lines)
internal2% (160 lines)
functionaltests7% (122 lines)
systemtest3% (117 lines)
x-pack1% (26 lines)
packaging22% (14 lines)
ROOT0% (0 lines)
cmd0% (0 lines)

Duplication Between Components (50+ lines)

G functionaltests functionaltests testing testing functionaltests--testing 118

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 160 duplicates...
Size#FoldersFilesLinesCode
70 x 2 testing/smoke/managed
testing/smoke/supported-os
63:149 (58%)
63:149 (58%)
view
32 x 2 testing/infra/terraform/modules/moxy
testing/infra/terraform/...s/standalone_apm_server
20:52 (34%)
140:172 (11%)
view
31 x 2 testing/benchmark
testing/cloud
16:52 (17%)
3:39 (50%)
view
24 x 2 testing/smoke
testing/smoke/supported-os
73:101 (24%)
121:149 (20%)
view
24 x 2 testing/smoke
testing/smoke/managed
73:101 (24%)
121:149 (20%)
view
21 x 2 testing/smoke
testing/smoke/supported-os
1:24 (21%)
1:24 (17%)
view
21 x 2 testing/smoke/managed
testing/smoke/supported-os
1:24 (17%)
1:24 (17%)
view
21 x 2 testing/smoke
testing/smoke/managed
1:24 (21%)
1:24 (17%)
view
19 x 2 testing/smoke
testing/smoke/managed
101:125 (19%)
87:111 (15%)
view
19 x 2 functionaltests/infra/terraform
testing/benchmark
35:59 (40%)
195:219 (10%)
view
19 x 2 testing/smoke
testing/smoke/supported-os
101:125 (19%)
87:111 (15%)
view
18 x 2 testing/benchmark
testing/cloud
62:81 (10%)
53:72 (29%)
view
17 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:22 (89%)
1:22 (89%)
view
16 x 2 testing/smoke/managed
testing/smoke/supported-os
40:61 (13%)
40:61 (13%)
view
15 x 2 testing/infra/terraform/modules/benchmark_executor
testing/infra/terraform/modules/moxy
7:24 (35%)
4:21 (16%)
view
15 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:20 (88%)
1:20 (88%)
view
14 x 2 functionaltests/internal/esclient
functionaltests/internal/esclient
203:219 (10%)
238:254 (10%)
view
14 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:20 (82%)
1:20 (93%)
view
13 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:18 (86%)
1:18 (76%)
view
13 x 2 testing/infra/terraform/modules/ec_deployment
testing/infra/terraform/modules/ec_deployment
58:70 (6%)
74:86 (6%)
view
13 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:18 (86%)
1:18 (86%)
view
13 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:18 (86%)
1:18 (86%)
view
13 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:18 (86%)
1:18 (86%)
view
13 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:18 (86%)
1:18 (86%)
view
12 x 2 testing/benchmark
testing/infra/terraform/modules/ec_deployment
19:32 (6%)
12:25 (9%)
view
12 x 2 testing/benchmark
testing/infra/terraform/modules/ec_deployment
92:105 (6%)
122:135 (9%)
view
12 x 2 testing/cloud
testing/infra/terraform/modules/ec_deployment
6:19 (19%)
12:25 (9%)
view
11 x 2 testing/cloud
testing/smoke/managed
4:16 (35%)
132:144 (9%)
view
11 x 2 testing/cloud
testing/smoke
4:16 (35%)
84:96 (11%)
view
11 x 2 testing/benchmark
testing/infra/terraform/modules/ec_deployment
44:56 (6%)
61:75 (9%)
view
11 x 2 testing/infra/terraform/modules/rally_workers
testing/rally-cloud
4:16 (18%)
34:46 (15%)
view
11 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:15 (73%)
1:15 (73%)
view
11 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:15 (73%)
1:15 (73%)
view
11 x 2 testing/benchmark
testing/infra/terraform/modules/ec_deployment
32:44 (6%)
41:55 (9%)
view
11 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:15 (73%)
1:15 (73%)
view
11 x 2 testing/benchmark/system-profiles
testing/benchmark/system-profiles
1:15 (73%)
1:15 (73%)
view
11 x 2 testing/infra/terraform/modules/ec_deployment
testing/infra/terraform/...s/standalone_apm_server
123:135 (9%)
74:86 (14%)
view
11 x 2 testing/cloud
testing/infra/terraform/modules/ec_deployment
19:31 (18%)
41:55 (9%)
view
11 x 2 internal/sourcemap
internal/sourcemap
49:59 (17%)
319:329 (4%)
view
11 x 2 testing/cloud
testing/smoke/supported-os
4:16 (35%)
132:144 (9%)
view
11 x 2 testing/benchmark
testing/infra/terraform/...s/standalone_apm_server
93:105 (6%)
74:86 (14%)
view
10 x 2 systemtest/fleettest
systemtest/fleettest
94:105 (4%)
196:207 (4%)
view
10 x 2 testing/cloud
testing/smoke
21:32 (32%)
63:74 (10%)
view
10 x 2 functionaltests
functionaltests
39:48 (9%)
65:75 (9%)
view
10 x 2 testing/infra/terraform/modules/rally_workers
testing/infra/terraform/modules/soaktest_workers
6:16 (16%)
1:11 (15%)
view
10 x 2 testing/infra/terraform/modules/soaktest_workers
testing/rally-cloud
1:11 (15%)
36:46 (13%)
view
9 x 2 testing/cloud
testing/smoke/managed
1:9 (23%)
1:9 (7%)
view
9 x 2 testing/infra/terraform/modules/rally_workers
testing/infra/terraform/modules/rally_workers
126:135 (3%)
234:243 (3%)
view
9 x 2 testing/infra/k8s/base/stack
testing/infra/k8s/base/stack
11:19 (24%)
16:24 (15%)
view
9 x 2 testing/smoke/managed
testing/smoke/supported-os
26:37 (7%)
26:37 (7%)
view
Duplicated Units
The list of top 4 duplicated units.
See data for all 4 unit duplicates...
Size#FoldersFilesLinesCode
9 x 2 internal/model/modelprocessor
internal/model/modelprocessor
36:46 
36:46 
view
9 x 2 internal/beater
systemtest/cmd/apmbench
36:46 
203:213 
view
7 x 2 internal/beater/interceptors
internal/beater/middleware
112:120 
80:89 
view
6 x 2 internal/model/modelprocessor
internal/model/modelprocessor
52:59 
52:59 
view