elastic / apm-agent-php
Duplication

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

Intro
Learn more...
Duplication Overall
system5% (1,286 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
php6% (612 lines)
cpp4% (391 lines)
cmake12% (154 lines)
h1% (83 lines)
xml79% (46 lines)
Duplication per Component (primary)
agent5% (1,240 lines)
ROOT42% (46 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 160 duplicates...
Size#FoldersFilesLinesCode
39 x 2 agent/native/building/cmake
agent/native/building/cmake
597:635 (4%)
701:739 (4%)
view
25 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
225:253 (8%)
369:397 (6%)
view
23 x 2 ROOT
ROOT
1:26 (79%)
1:26 (79%)
view
19 x 2 agent/native/building/cmake
agent/native/building/cmake
962:981 (2%)
47:66 (25%)
view
13 x 2 agent/native/ext
agent/native/ext
526:540 (1%)
554:568 (1%)
view
13 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
36:60 (76%)
36:60 (76%)
view
12 x 2 agent/native/ext
agent/native/ext
362:377 (2%)
420:435 (5%)
view
11 x 2 agent/php/ElasticApm/Impl/Log
agent/php/ElasticApm/Impl/Log
37:47 (68%)
36:46 (26%)
view
11 x 2 agent/native/ext
agent/native/ext
177:189 (3%)
216:229 (3%)
view
10 x 2 agent/native/ext
agent/native/ext
181:190 (3%)
138:147 (13%)
view
10 x 2 agent/native/ext
agent/native/ext
502:511 (1%)
91:100 (6%)
view
10 x 2 agent/native/ext
agent/native/ext
587:598 (<1%)
615:626 (<1%)
view
10 x 2 agent/native/ext
agent/native/ext
630:639 (1%)
103:112 (6%)
view
10 x 2 agent/php/ElasticApm/Impl/AutoInstrument
agent/php/ElasticApm/Impl/AutoInstrument
62:74 (3%)
66:78 (5%)
view
10 x 2 agent/php/ElasticApm/Impl/Log
agent/php/ElasticApm/Impl/Log
37:46 (62%)
46:55 (71%)
view
10 x 2 agent/native/ext
agent/native/ext
529:538 (1%)
631:640 (1%)
view
10 x 2 agent/php/ElasticApm/Impl/Log
agent/php/ElasticApm/Impl/Log
36:45 (24%)
46:55 (71%)
view
9 x 2 agent/native/ext
agent/native/ext
529:537 (1%)
104:112 (5%)
view
9 x 2 agent/native/ext
agent/native/ext
531:541 (<1%)
615:625 (<1%)
view
9 x 2 agent/native/ext
agent/native/ext
531:541 (<1%)
587:597 (<1%)
view
9 x 2 agent/native/ext
agent/native/ext
1384:1394 (<1%)
1439:1449 (<1%)
view
8 x 2 agent/php/ElasticApm/Impl/AutoInstrument
agent/php/ElasticApm/Impl/AutoInstrument
185:193 (5%)
223:231 (5%)
view
8 x 2 agent/native/ext
agent/native/ext
365:372 (1%)
488:495 (1%)
view
8 x 2 agent/php/ElasticApm/Impl/AutoInstrument
agent/php/ElasticApm/Impl/AutoInstrument
548:561 (2%)
274:288 (4%)
view
8 x 2 agent/native/ext/unit_tests
agent/native/ext/unit_tests
99:106 (12%)
26:33 (80%)
view
8 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
216:223 (2%)
360:367 (2%)
view
8 x 2 agent/native/ext
agent/native/ext
503:510 (1%)
104:111 (4%)
view
8 x 2 agent/native/ext
agent/native/ext
529:536 (1%)
92:99 (4%)
view
8 x 2 agent/native/ext
agent/native/ext
559:568 (<1%)
587:596 (<1%)
view
8 x 2 agent/native/ext
agent/native/ext
320:327 (1%)
388:395 (1%)
view
8 x 2 agent/native/ext
agent/native/ext
92:99 (4%)
104:111 (4%)
view
8 x 2 agent/native/ext
agent/native/ext
648:656 (<1%)
677:685 (<1%)
view
8 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
59:66 (20%)
421:428 (2%)
view
8 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
106:113 (15%)
236:243 (2%)
view
8 x 2 agent/native/ext
agent/native/ext
559:568 (<1%)
615:624 (<1%)
view
8 x 2 agent/native/ext
agent/native/ext
631:638 (1%)
92:99 (4%)
view
8 x 2 agent/php/ElasticApm/Impl/AutoInstrument
agent/php/ElasticApm/Impl/AutoInstrument
271:278 (2%)
404:413 (2%)
view
8 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
106:113 (15%)
380:387 (2%)
view
8 x 2 agent/native/ext
agent/native/ext
543:550 (<1%)
571:578 (<1%)
view
8 x 2 agent/native/ext
agent/native/ext
503:510 (1%)
529:536 (1%)
view
8 x 2 agent/native/ext
agent/native/ext/unit_tests
76:84 (13%)
27:35 (24%)
view
8 x 2 agent/native/ext
agent/native/ext
632:640 (1%)
767:775 (1%)
view
8 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
107:114 (15%)
60:67 (20%)
view
8 x 2 agent/native/ext
agent/native/ext
503:510 (1%)
631:638 (1%)
view
8 x 2 agent/native/ext
agent/native/ext
517:524 (1%)
673:680 (1%)
view
8 x 2 agent/native/ext
agent/native/ext
617:626 (<1%)
675:684 (<1%)
view
8 x 2 agent/native/ext
agent/native/ext
589:598 (<1%)
675:684 (<1%)
view
8 x 2 agent/php/ElasticApm/Impl/Log
agent/php/ElasticApm/Impl/Log
51:58 (11%)
91:98 (12%)
view
7 x 2 agent/php/ElasticApm/Impl/AutoInstrument/Util
agent/php/ElasticApm/Impl/AutoInstrument/Util
48:55 (5%)
52:59 (13%)
view
7 x 2 agent/php/ElasticApm/Impl/Log
agent/php/ElasticApm/Impl/Log
67:73 (17%)
49:55 (35%)
view
Duplicated Units
The list of top 5 duplicated units.
See data for all 5 unit duplicates...
Size#FoldersFilesLinesCode
16 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
236:254 
380:398 
view
8 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
106:115 
59:68 
view
7 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
95:103 
48:56 
view
7 x 2 agent/php/ElasticApm/Impl/AutoInstrument/Util
agent/php/ElasticApm/Impl/AutoInstrument/Util
48:56 
48:56 
view
6 x 2 agent/php/ElasticApm/Impl
agent/php/ElasticApm/Impl
52:61 
52:61 
view