elastic / elastic-agent-libs
Duplication

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

Intro
Learn more...
Duplication Overall
system11% (1,426 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go11% (1,426 lines)
Duplication per Component (primary)
helpers53% (866 lines)
logp13% (142 lines)
testing12% (113 lines)
transport5% (110 lines)
keystore13% (46 lines)
kibana4% (36 lines)
config9% (32 lines)
mapstr7% (26 lines)
match3% (21 lines)
processors2% (14 lines)
file2% (12 lines)
loader4% (8 lines)
safemapstr0% (0 lines)
iobuf0% (0 lines)
opt0% (0 lines)
str0% (0 lines)
filewatcher0% (0 lines)
ROOT0% (0 lines)
upgrade0% (0 lines)
transform0% (0 lines)
paths0% (0 lines)
useragent0% (0 lines)
periodic0% (0 lines)
monitoring0% (0 lines)
service0% (0 lines)
tools0% (0 lines)
dev-tools0% (0 lines)
version0% (0 lines)
cloudid0% (0 lines)
api0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 63 duplicates...
Size#FoldersFilesLinesCode
185 x 2 helpers/windows/pdh
helpers/windows/pdh
23:217 (100%)
23:217 (100%)
view
185 x 2 helpers/windows/pdh
helpers/windows/pdh
23:217 (100%)
23:217 (100%)
view
185 x 2 helpers/windows/pdh
helpers/windows/pdh
23:217 (100%)
23:217 (100%)
view
185 x 2 helpers/windows/pdh
helpers/windows/pdh
23:217 (100%)
23:217 (100%)
view
185 x 2 helpers/windows/pdh
helpers/windows/pdh
23:217 (100%)
23:217 (100%)
view
185 x 2 helpers/windows/pdh
helpers/windows/pdh
23:217 (100%)
23:217 (100%)
view
90 x 2 helpers/windows/pdh
helpers/windows/pdh
122:216 (48%)
112:205 (48%)
view
90 x 2 helpers/windows/pdh
helpers/windows/pdh
122:216 (48%)
112:205 (48%)
view
90 x 2 helpers/windows/pdh
helpers/windows/pdh
122:216 (48%)
112:205 (48%)
view
90 x 2 helpers/windows/pdh
helpers/windows/pdh
122:216 (48%)
112:205 (48%)
view
27 x 2 logp
logp
163:203 (8%)
212:253 (8%)
view
17 x 2 transport
transport
49:71 (13%)
103:125 (13%)
view
15 x 2 logp
logp
292:309 (4%)
340:359 (4%)
view
12 x 2 transport/tlscommon
transport/tlscommon
57:75 (21%)
62:80 (16%)
view
12 x 2 kibana
kibana
83:95 (2%)
112:124 (2%)
view
11 x 2 testing/estools
testing/estools
395:409 (2%)
643:657 (2%)
view
11 x 2 testing/certutil
testing/certutil
117:127 (4%)
146:156 (4%)
view
10 x 2 logp
logp
142:151 (3%)
301:310 (3%)
view
10 x 2 transport/tlscommon
transport/tlscommon
95:111 (18%)
134:150 (13%)
view
10 x 2 keystore
keystore
35:50 (22%)
43:58 (20%)
view
9 x 2 logp
logp
142:150 (2%)
349:359 (2%)
view
9 x 2 transport/tlscommon
transport/tlscommon
234:247 (4%)
260:273 (4%)
view
9 x 2 logp
logp
85:95 (7%)
113:123 (7%)
view
9 x 2 helpers/windows/pdh
helpers/windows/pdh
348:356 (4%)
364:372 (4%)
view
9 x 2 testing/estools
testing/estools
389:398 (1%)
427:436 (1%)
view
9 x 2 testing/estools
testing/estools
382:392 (1%)
630:640 (1%)
view
8 x 2 testing/estools
testing/estools
478:489 (1%)
520:531 (1%)
view
8 x 2 config
loader
256:267 (4%)
188:199 (6%)
view
7 x 2 match
match
166:173 (4%)
200:207 (4%)
view
7 x 2 match
match
182:189 (4%)
200:207 (4%)
view
7 x 2 match
match
166:173 (4%)
182:189 (4%)
view
7 x 2 keystore
keystore
88:96 (15%)
98:106 (14%)
view
7 x 2 mapstr
mapstr
465:473 (2%)
499:507 (2%)
view
7 x 2 transport/tlscommon
transport/tlscommon
44:52 (12%)
44:52 (9%)
view
7 x 2 processors/dissect
processors/dissect
58:68 (4%)
80:90 (4%)
view
6 x 2 logp
logp
143:148 (1%)
196:201 (1%)
view
6 x 2 keystore
keystore
88:95 (13%)
49:57 (12%)
view
6 x 2 testing/estools
testing/estools
400:409 (1%)
455:464 (1%)
view
6 x 2 testing/estools
testing/estools
396:403 (1%)
684:691 (1%)
view
6 x 2 logp
logp
196:201 (1%)
352:357 (1%)
view
6 x 2 logp
logp
196:201 (1%)
302:307 (1%)
view
6 x 2 mapstr
mapstr
176:182 (1%)
184:190 (1%)
view
6 x 2 keystore
keystore
41:49 (13%)
98:105 (12%)
view
6 x 2 helpers/windows/pdh
helpers/windows/pdh
344:350 (2%)
354:360 (2%)
view
6 x 2 testing/estools
testing/estools
644:651 (1%)
684:691 (1%)
view
6 x 2 keystore
keystore
68:77 (13%)
77:86 (12%)
view
6 x 2 testing/estools
testing/estools
455:464 (1%)
648:657 (1%)
view
6 x 2 logp
logp
143:148 (1%)
246:251 (1%)
view
6 x 2 config
config
349:356 (3%)
360:367 (3%)
view
6 x 2 keystore
keystore
49:57 (12%)
98:105 (12%)
view
Duplicated Units
The list of top 1 duplicated units.
See data for all 1 unit duplicate
Size#FoldersFilesLinesCode
10 x 2 config
loader
255:268 
187:200 
view