elastic / apm-agent-go
Duplication

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

Intro
Learn more...
Duplication Overall
system9% (1,390 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
go9% (1,390 lines)
Duplication per Component (primary)
module12% (766 lines)
model24% (492 lines)
ROOT1% (78 lines)
internal3% (36 lines)
apmtest4% (12 lines)
transport1% (6 lines)
stacktrace0% (0 lines)
scripts0% (0 lines)
tools0% (0 lines)
apmconfig0% (0 lines)
sqlutil0% (0 lines)
Longest Duplicates
The list of 50 longest duplicates.
See data for all 176 duplicates...
Size#FoldersFilesLinesCode
55 x 2 module/apmecho
module/apmechov4
73:153 (48%)
83:163 (43%)
view
31 x 2 module/apmecho
module/apmechov4
173:224 (27%)
196:247 (24%)
view
30 x 2 module/apmrestful
module/apmrestfulv3
73:116 (51%)
73:116 (51%)
view
27 x 2 module/apmrestful
module/apmrestfulv3
34:71 (46%)
34:71 (46%)
view
24 x 2 module/apmrestful
module/apmrestfulv3
26:54 (100%)
26:54 (100%)
view
21 x 2 model
model
531:560 (1%)
696:725 (1%)
view
20 x 2 model
model
394:417 (1%)
458:481 (1%)
view
20 x 2 model
model
394:417 (1%)
431:454 (1%)
view
20 x 2 model
model
431:454 (1%)
458:481 (1%)
view
19 x 2 model
model
808:832 (1%)
1086:1110 (1%)
view
19 x 2 module/apmgocql
module/apmsql
35:63 (25%)
36:64 (22%)
view
18 x 2 module/apmgocql
module/apmsql
90:110 (24%)
98:118 (21%)
view
17 x 2 module/apmchi
module/apmchiv5
53:80 (41%)
59:86 (34%)
view
15 x 2 ROOT
ROOT
1068:1086 (1%)
1126:1144 (1%)
view
14 x 2 module/apmchi
module/apmecho
78:105 (34%)
151:178 (12%)
view
14 x 2 model
model
584:602 (1%)
1271:1289 (1%)
view
14 x 2 module/apmgrpc
module/apmgrpc
79:94 (8%)
140:155 (8%)
view
13 x 2 model
model
534:549 (2%)
579:594 (2%)
view
12 x 2 module/apmelasticsearch
module/apmhttp
139:160 (8%)
173:194 (10%)
view
11 x 2 module/apmecho
module/apmgorilla
157:178 (9%)
117:138 (20%)
view
11 x 2 module/apmchi
module/apmgorilla
84:105 (26%)
117:138 (20%)
view
11 x 2 model
model
590:605 (<1%)
1398:1413 (<1%)
view
10 x 2 model
model
1228:1238 (<1%)
1644:1654 (<1%)
view
10 x 2 model
model
326:336 (<1%)
1228:1238 (<1%)
view
10 x 2 model
model
1250:1261 (<1%)
1683:1694 (<1%)
view
10 x 2 module/apmgopg
module/apmgopgv10
56:67 (25%)
52:63 (30%)
view
10 x 2 model
model
1250:1261 (<1%)
1656:1667 (<1%)
view
10 x 2 module/apmchiv5
module/apmgorilla
84:100 (20%)
110:126 (18%)
view
10 x 2 model
model
1250:1261 (<1%)
1741:1752 (<1%)
view
10 x 2 model
model
326:336 (<1%)
1644:1654 (<1%)
view
10 x 2 model
model
1656:1667 (<1%)
1741:1752 (<1%)
view
10 x 2 model
model
1656:1667 (<1%)
1683:1694 (<1%)
view
10 x 2 model
model
1683:1694 (<1%)
1741:1752 (<1%)
view
9 x 2 module/apmecho
module/apmrestful
151:166 (7%)
101:116 (15%)
view
9 x 2 model
model
732:743 (<1%)
1433:1444 (<1%)
view
9 x 2 internal/configutil
internal/configutil
61:71 (18%)
66:76 (17%)
view
9 x 2 model
model
732:743 (<1%)
1314:1325 (<1%)
view
9 x 2 model
model
890:899 (<1%)
1089:1098 (<1%)
view
9 x 2 model
model
1277:1289 (<1%)
1398:1410 (<1%)
view
9 x 2 model
model
811:820 (<1%)
890:899 (<1%)
view
9 x 2 module/apmgocql
module/apmsql
64:75 (12%)
71:82 (10%)
view
9 x 2 model
model
86:95 (<1%)
287:296 (<1%)
view
9 x 2 model
model
1314:1325 (<1%)
1433:1444 (<1%)
view
9 x 2 model
model
485:494 (<1%)
663:672 (<1%)
view
9 x 2 module/apmecho
module/apmrestfulv3
151:166 (7%)
101:116 (15%)
view
9 x 2 module/apmchi
module/apmrestfulv3
78:93 (21%)
101:116 (15%)
view
9 x 2 module/apmchi
module/apmrestful
78:93 (21%)
101:116 (15%)
view
8 x 2 model
model
470:478 (<1%)
1230:1238 (<1%)
view
8 x 2 model
model
406:414 (<1%)
1646:1654 (<1%)
view
8 x 2 model
model
406:414 (<1%)
1230:1238 (<1%)
view
Duplicated Units
The list of top 8 duplicated units.
See data for all 8 unit duplicates...
Size#FoldersFilesLinesCode
40 x 2 module/apmrestful
module/apmrestfulv3
55:99 
55:99 
view
28 x 2 module/apmrestful
module/apmrestfulv3
26:55 
26:55 
view
13 x 2 module/apmrestful
module/apmrestfulv3
34:48 
34:48 
view
11 x 2 module/apmecho
module/apmechov4
190:208 
213:231 
view
10 x 2 module/apmchiv5
module/apmchi
70:82 
64:76 
view
6 x 9 module/apmgorilla
module/apmecho
module/apmrestful
module/apmhttprouter
module/apmechov4
module/apmrestfulv3
module/apmchiv5
module/apmchi
module/apmbeego
121:128 
161:168 
111:118 
123:130 
172:179 
111:118 
95:102 
88:95 
110:117 
view
6 x 6 module/apmgorilla
module/apmecho
module/apmhttprouter
module/apmechov4
module/apmchiv5
module/apmchi
133:140 
173:180 
146:153 
196:203 
116:123 
100:107 
view
6 x 2 module/apmhttp
transport
388:395 
685:692 
view