azure / azure-iot-sdk-csharp
Duplication

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

Intro
Learn more...
Duplication Overall
system21% (7,495 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
cs21% (7,026 lines)
yaml52% (403 lines)
reg81% (52 lines)
ps11% (14 lines)
Duplication per Component (primary)
iothub21% (5,138 lines)
provisioning20% (981 lines)
common31% (819 lines)
vsts43% (417 lines)
tools15% (84 lines)
shared6% (44 lines)
security6% (12 lines)
ROOT0% (0 lines)

Duplication Between Components (50+ lines)

G common common iothub iothub common--iothub 1208 provisioning provisioning iothub--provisioning 974 shared shared iothub--shared 54 provisioning--shared 108

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 599 duplicates...
Size#FoldersFilesLinesCode
80 x 2 iothub/device/src/net451
iothub/service/src
481:645 (16%)
485:651 (16%)
view
79 x 2 common/src/service
iothub/device/src/Common
260:372 (36%)
345:455 (29%)
view
54 x 2 iothub/device/src/Common
iothub/service/src/Common
34:124 (50%)
36:126 (50%)
view
48 x 2 iothub/device/src/Common
iothub/service/src/Common
475:595 (16%)
464:584 (16%)
view
46 x 2 iothub/device/src/Common
iothub/service/src/Common
118:239 (15%)
121:241 (15%)
view
44 x 2 iothub/device/src/Common/Amqp
iothub/service/src/Common/Amqp
33:117 (26%)
28:112 (28%)
view
36 x 2 iothub/device/src/Common
iothub/service/src/Common
49:123 (13%)
50:124 (17%)
view
33 x 2 iothub/device/src/Transport/AmqpIot
iothub/service/src/Messaging/Models
435:475 (12%)
198:238 (16%)
view
30 x 2 iothub/service/src/Common/WebApi
provisioning/service/src/Contract
16:198 (96%)
13:186 (96%)
view
30 x 2 common/src/service
iothub/device/src/Common
70:120 (49%)
52:102 (54%)
view
30 x 2 iothub/device/src/DirectMethod
iothub/device/src/DirectMethod
54:126 (46%)
80:153 (42%)
view
29 x 2 common/src/service
iothub/device/src/Common
12:71 (13%)
16:73 (10%)
view
27 x 2 vsts
vsts
234:266 (5%)
392:424 (5%)
view
26 x 2 iothub/device/src/net451/Common/Interop
iothub/service/src/net451/Common/Interop
16:44 (68%)
24:52 (16%)
view
26 x 2 tools/TLS Protocols Tests/ReadMe
tools/TLS Protocols Tests/ReadMe
1:81 (81%)
1:81 (81%)
view
26 x 2 iothub/service/src/Common/Security
provisioning/service/src/Auth
80:120 (55%)
56:96 (56%)
view
26 x 2 iothub/device/src/net451
iothub/service/src
728:776 (5%)
748:796 (5%)
view
25 x 2 iothub/device/src/Transport/AmqpIot
iothub/service/src/Messaging/Models
167:236 (9%)
107:175 (12%)
view
25 x 2 iothub/device/src/net451
iothub/service/src
25:51 (5%)
24:50 (5%)
view
25 x 2 iothub/device/src/Common
iothub/service/src/Common
385:427 (9%)
344:386 (12%)
view
24 x 2 provisioning/transport/http/src/Generated
provisioning/transport/http/src/Generated
301:345 (9%)
486:529 (9%)
view
24 x 2 iothub/device/src/net451/Common
iothub/service/src/Common/Amqp
325:365 (11%)
259:299 (14%)
view
22 x 2 common/src/device/transport/mqtt
iothub/device/src/Transport/Mqtt
1:50 (12%)
1:82 (12%)
view
22 x 2 vsts
vsts
98:124 (8%)
243:269 (8%)
view
22 x 2 iothub/device/src/Common
iothub/service/src/Common
322:370 (7%)
318:366 (7%)
view
22 x 2 vsts
vsts
26:49 (8%)
187:210 (8%)
view
21 x 2 iothub/device/src/Common
iothub/service/src/net451/Common
25:57 (13%)
36:67 (14%)
view
20 x 2 iothub/device/src/Common/Extensions
iothub/service/src/Common/Extensions
135:166 (18%)
205:243 (22%)
view
20 x 2 iothub/service/src/Common
iothub/service/src/Common
531:574 (6%)
664:707 (6%)
view
20 x 2 iothub/device/src/Common
iothub/service/src/Common
16:50 (6%)
16:50 (6%)
view
20 x 2 common/src/device/transport/mqtt
iothub/device/src/Transport/Mqtt
70:109 (40%)
77:118 (38%)
view
20 x 2 iothub/device/src/Common
iothub/service/src/Common
542:585 (6%)
664:707 (6%)
view
20 x 2 common/src/device/transport/mqtt
iothub/device/src/Transport/Mqtt
188:216 (11%)
194:222 (11%)
view
20 x 2 iothub/device/src/Transport/AmqpIot
iothub/service/src/Messaging/Models
344:365 (7%)
280:301 (10%)
view
19 x 2 common/src/device/transport/mqtt
iothub/device/src/Transport/Mqtt
29:65 (38%)
21:57 (36%)
view
19 x 2 common/src/service
iothub/device/src/Common
93:118 (21%)
80:104 (22%)
view
19 x 2 common/src/service
iothub/device/src/Transport/Http
149:175 (3%)
184:209 (5%)
view
19 x 2 iothub/device/src/Common
iothub/service/src/Common
243:286 (6%)
245:289 (6%)
view
19 x 2 iothub/device/src/Common
iothub/service/src/Common
25:43 (55%)
25:43 (52%)
view
18 x 2 common/src/service
iothub/device/src/Common
33:63 (29%)
18:48 (32%)
view
18 x 2 iothub/device/src/Common
iothub/service/src/Common
127:167 (6%)
132:172 (8%)
view
18 x 2 iothub/device/src/Pipeline
iothub/device/src/Pipeline
844:877 (2%)
915:948 (2%)
view
18 x 2 iothub/device/src/Common
iothub/service/src/Common
151:176 (16%)
153:178 (16%)
view
18 x 2 provisioning/service/src/Config
provisioning/service/src/Config
261:312 (23%)
228:279 (23%)
view
18 x 2 iothub/device/src/Common/Data
provisioning/service/src/Auth
7:42 (33%)
7:42 (58%)
view
17 x 2 vsts
vsts
56:74 (6%)
209:227 (6%)
view
17 x 2 vsts
vsts
254:274 (6%)
409:429 (3%)
view
17 x 2 vsts
vsts
109:129 (6%)
251:271 (3%)
view
17 x 2 common/src/service
iothub/device/src/Common
227:252 (7%)
273:298 (6%)
view
17 x 2 iothub/device/src/Common/WebApi
provisioning/service/src/Contract
115:210 (44%)
89:184 (54%)
view
Duplicated Units
The list of top 50 duplicated units.
See data for all 59 unit duplicates...
Size#FoldersFilesLinesCode
38 x 2 iothub/device/src/Transport/Mqtt
common/src/device/transport/mqtt
77:119 
70:110 
view
38 x 2 iothub/device/src/Common
common/src/service
60:103 
78:121 
view
35 x 2 iothub/device/src/Transport/Mqtt
common/src/device/transport/mqtt
21:58 
29:66 
view
29 x 2 iothub/device/src/Common/Amqp
iothub/service/src/Common/Amqp
134:165 
203:234 
view
25 x 2 iothub/device/src/Common
iothub/service/src/Common
40:67 
42:69 
view
15 x 2 iothub/device/src/net451/Common
iothub/service/src/Common/Amqp
325:343 
259:277 
view
15 x 2 iothub/device/src/net451
iothub/service/src
553:570 
557:574 
view
15 x 2 iothub/device/src/Common
common/src/service
12:30 
8:26 
view
15 x 2 provisioning/service/src/Manager
provisioning/service/src/Manager
111:129 
155:173 
view
14 x 2 iothub/service/src/Common/Extensions
provisioning/service/src/Common
116:135 
18:37 
view
13 x 2 iothub/device/src/DirectMethod
iothub/device/src/DirectMethod
182:197 
155:170 
view
13 x 2 iothub/device/src/Common
iothub/service/src/Common
71:85 
73:87 
view
13 x 2 iothub/device/src/Common/Amqp
iothub/service/src/Common/Amqp
76:95 
71:90 
view
12 x 2 iothub/device/src/Transport/Http
common/src/service
543:557 
856:870 
view
12 x 2 iothub/device/src/net451
iothub/service/src
945:960 
961:976 
view
12 x 2 iothub/device/src/Common
iothub/service/src/Common
91:105 
93:107 
view
12 x 2 iothub/device/src/Common/Amqp
iothub/service/src/Common/Amqp
58:74 
53:69 
view
11 x 2 iothub/device/src/Transport/AmqpIot
iothub/service/src/Messaging/Models
49:64 
377:390 
view
11 x 2 iothub/device/src/net451
iothub/service/src
926:940 
942:956 
view
11 x 2 iothub/device/src/Common
common/src/service
78:90 
91:104 
view
11 x 2 iothub/device/src/Common/Amqp
iothub/service/src/Common/Amqp
216:232 
123:139 
view
10 x 2 iothub/device/src/net451
iothub/service/src
763:777 
783:797 
view
10 x 4 iothub/device/src/Authentication
iothub/device/src/Authentication
iothub/service/src/Authentication
provisioning/service/src/Auth
76:89 
99:112 
75:88 
63:76 
view
10 x 2 iothub/device/src/Authentication
iothub/device/src/Authentication
85:98 
98:111 
view
10 x 3 iothub/device/src/Authentication
iothub/service/src/Authentication
provisioning/service/src/Auth
88:101 
75:88 
63:76 
view
10 x 2 iothub/device/src/Common
iothub/service/src/net451/Common
32:44 
42:54 
view
10 x 2 iothub/service/src/FileUpload
iothub/service/src/Feedback
34:46 
36:48 
view
10 x 2 iothub/service/src/FileUpload
iothub/service/src/Feedback
48:60 
50:62 
view
10 x 2 iothub/service/src/FileUpload
iothub/service/src/Feedback
120:132 
127:139 
view
9 x 2 iothub/device/src/Transport/AmqpIot
iothub/service/src/Messaging/Models
511:522 
364:375 
view
9 x 2 iothub/device/src/net451/Common
iothub/service/src/Common/Amqp
290:302 
222:234 
view
9 x 2 iothub/device/src/net451/Common
iothub/service/src/Common/Amqp
345:356 
279:290 
view
9 x 2 iothub/device/src/Common
iothub/service/src/Common
354:364 
311:321 
view
9 x 2 iothub/service/src/Common/Security
provisioning/service/src/Auth
169:180 
163:174 
view
9 x 3 provisioning/transport/amqp/src
provisioning/transport/http/src
provisioning/transport/mqtt/src
55:66 
41:52 
72:83 
view
8 x 2 iothub/device/src/DirectMethod
iothub/device/src/DirectMethod
137:147 
111:120 
view
8 x 3 iothub/device/src/Common/Extensions
iothub/service/src/Common/Extensions
provisioning/service/src/Common
159:168 
236:245 
39:48 
view
8 x 2 iothub/device/src/Common/Amqp
iothub/service/src/Common/Amqp
97:108 
92:103 
view
8 x 4 iothub/device/src/Common/Amqp
iothub/service/src/Common/Amqp
common/src/device/transport/mqtt
provisioning/transport/amqp/src
234:244 
141:151 
348:358 
201:211 
view
8 x 2 iothub/service/src/Common/Security
provisioning/service/src/Auth
135:146 
92:103 
view
7 x 2 iothub/device/src/Transport/Mqtt
common/src/device/transport/mqtt
33:41 
26:34 
view
7 x 2 iothub/device/src/Common
iothub/service/src/Common
109:117 
111:119 
view
7 x 2 iothub/device/src/Common
iothub/service/src/Common
168:177 
170:179 
view
7 x 2 iothub/device/src
iothub/service/src/Messaging/Models
380:391 
410:421 
view
7 x 2 provisioning/transport/amqp/src
provisioning/transport/amqp/src
42:50 
41:49 
view
6 x 2 iothub/device/src/Transport/Mqtt
common/src/device/transport/mqtt
121:132 
64:75 
view
6 x 2 iothub/device/src/net451
iothub/service/src
572:580 
576:584 
view
6 x 2 iothub/device/src/DirectMethod
iothub/device/src/DirectMethod
128:135 
102:109 
view
6 x 6 iothub/device/src/Authentication
iothub/device/src/Authentication
iothub/device/src/Authentication
iothub/device/src/Authentication
iothub/device/src/Authentication
iothub/device/src/Authentication
66:74 
79:87 
100:108 
78:86 
113:121 
79:87 
view
6 x 2 iothub/device/src/Authentication
iothub/device/src/Authentication
89:97 
123:131 
view