azure / azure-sdk-tools
Duplication

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

Intro
Learn more...
Duplication Overall
system7% (8,815 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
cs7% (2,980 lines)
py8% (1,531 lines)
ps17% (1,338 lines)
ts5% (1,204 lines)
cpp14% (616 lines)
scss12% (415 lines)
cshtml11% (344 lines)
html10% (104 lines)
java2% (80 lines)
swift3% (72 lines)
hpp5% (41 lines)
cmd100% (36 lines)
yaml3% (26 lines)
mjs32% (16 lines)
go<1% (12 lines)
Duplication per Component (primary)
tools8% (5,007 lines)
src5% (1,984 lines)
eng6% (1,090 lines)
packages6% (734 lines)
ROOT0% (0 lines)

Duplication Between Components (50+ lines)

G src src tools tools src--tools 470 eng eng eng--tools 54

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 986 duplicates...
Size#FoldersFilesLinesCode
63 x 2 eng/scripts
eng/scripts
34:103 (68%)
35:104 (68%)
view
52 x 2 tools/apiview/parsers/js-api-parser/src
tools/apiview/parsers/rust-api-parser/src/models
21:129 (80%)
22:130 (78%)
view
50 x 2 tools/apiview/parsers/sw...parser/SwaggerApiParser
tools/apiview/parsers/sw...parser/SwaggerApiParser
789:887 (15%)
544:642 (15%)
view
35 x 2 eng/common/TestResources
eng/common/TestResources
179:221 (12%)
84:126 (21%)
view
35 x 2 src/dotnet/APIView/APIView/Model
tools/apiview/parsers/sw...piParser/SwaggerApiView
69:122 (15%)
47:101 (53%)
view
33 x 2 src/dotnet/APIView/APIView/Model
tools/apiview/parsers/sw...piParser/SwaggerApiView
5:38 (97%)
3:36 (67%)
view
32 x 2 src/dotnet/APIView/APIView/Model
tools/apiview/parsers/cp...parser/ApiViewProcessor
7:38 (94%)
19:51 (12%)
view
32 x 2 tools/apiview/parsers/cp...parser/ApiViewProcessor
tools/apiview/parsers/sw...piParser/SwaggerApiView
19:51 (12%)
5:36 (65%)
view
32 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-spe...mples-automation/python
275:315 (13%)
176:216 (20%)
view
29 x 2 src/dotnet/APIView/APIViewWeb/Client/css/shared
src/dotnet/APIView/APIViewWeb/Client/css/shared
147:175 (11%)
241:269 (11%)
view
29 x 2 tools/apiview/parsers/cp...parser/ApiViewProcessor
tools/apiview/parsers/cp...parser/ApiViewProcessor
76:123 (6%)
234:282 (6%)
view
28 x 2 src/swift/SwiftAPIViewCore/Sources/Models
src/swift/SwiftAPIViewCore/Sources/Models
80:112 (22%)
54:86 (24%)
view
28 x 2 src/dotnet/APIView/APIView/Languages
tools/apiview/parsers/cs...harpAPIParser/TreeToken
16:45 (5%)
16:45 (5%)
view
27 x 2 src/dotnet/APIView/Clien...omponents/conversations
src/dotnet/APIView/Clien...onents/revision-options
16:47 (62%)
47:78 (40%)
view
26 x 2 tools/test-proxy/Azure.S...ls.TestProxy/Views/Info
tools/test-proxy/Azure.S...ls.TestProxy/Views/Info
138:170 (16%)
183:215 (16%)
view
26 x 2 tools/js-sdk-release-tools/src/changelog
tools/js-sdk-release-tools/src/changelog
447:478 (2%)
482:516 (2%)
view
26 x 2 tools/test-proxy/Azure.S...ls.TestProxy/Views/Info
tools/test-proxy/Azure.S...ls.TestProxy/Views/Info
87:120 (16%)
138:170 (16%)
view
26 x 2 tools/test-proxy/Azure.S...ls.TestProxy/Views/Info
tools/test-proxy/Azure.S...ls.TestProxy/Views/Info
87:120 (16%)
183:215 (16%)
view
26 x 2 tools/js-sdk-release-tools/src/changelog
tools/js-sdk-release-tools/src/changelog
1001:1032 (2%)
1036:1070 (2%)
view
23 x 2 eng/scripts
eng/scripts
1:26 (25%)
1:27 (25%)
view
23 x 2 tools/js-sdk-release-tools/src/changelog
tools/js-sdk-release-tools/src/changelog
130:152 (2%)
187:209 (2%)
view
22 x 2 tools/test-proxy/sample-...roxy.HttpPipelineSample
tools/test-proxy/sample-clients/net/storage-blob
18:53 (68%)
161:196 (18%)
view
22 x 2 src/dotnet/APIView/Clien...components/samples-page
src/dotnet/APIView/Clien...s/shared/comment-thread
35:59 (32%)
125:148 (17%)
view
22 x 2 tools/test-proxy/Azure.Sdk.Tools.TestProxy/Store
tools/test-proxy/Azure.Sdk.Tools.TestProxy/Store
136:172 (11%)
304:339 (11%)
view
22 x 2 tools/issue-labeler/src/SearchIndexCreator
tools/issue-labeler/src/SearchIndexCreator
58:87 (14%)
58:88 (10%)
view
22 x 2 src/dotnet/APIView/APIViewWeb/Client/css/shared
src/dotnet/APIView/APIViewWeb/Client/css/shared
10:38 (11%)
60:88 (11%)
view
21 x 2 tools/azure-rest-api-spe...xamples-automation/java
tools/azure-rest-api-specs-examples-automation/js
258:287 (8%)
250:279 (7%)
view
21 x 2 eng/common/TestResources
eng/common/TestResources
109:132 (7%)
40:63 (13%)
view
21 x 2 tools/azure-rest-api-specs-examples-automation/go
tools/azure-rest-api-spe...xamples-automation/java
281:307 (9%)
316:342 (8%)
view
21 x 2 tools/azure-rest-api-spe...xamples-automation/java
tools/azure-rest-api-spe...mples-automation/python
258:287 (8%)
123:152 (13%)
view
21 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-specs-examples-automation/js
217:246 (9%)
250:279 (7%)
view
21 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-specs-examples-automation/go
217:246 (9%)
223:252 (9%)
view
21 x 2 tools/azure-rest-api-specs-examples-automation/go
tools/azure-rest-api-spe...mples-automation/python
223:252 (9%)
123:152 (13%)
view
21 x 2 tools/apiview/parsers/cp...parser/ApiViewProcessor
tools/apiview/parsers/cp...parser/ApiViewProcessor
2263:2294 (<1%)
2349:2380 (<1%)
view
21 x 2 tools/azure-rest-api-specs-examples-automation/go
tools/azure-rest-api-spe...xamples-automation/java
223:252 (9%)
258:287 (8%)
view
21 x 2 tools/azure-rest-api-specs-examples-automation/js
tools/azure-rest-api-spe...mples-automation/python
250:279 (7%)
123:152 (13%)
view
21 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-spe...mples-automation/python
217:246 (9%)
123:152 (13%)
view
21 x 2 tools/azure-rest-api-specs-examples-automation/go
tools/azure-rest-api-specs-examples-automation/js
223:252 (9%)
250:279 (7%)
view
21 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-spe...xamples-automation/java
217:246 (9%)
258:287 (8%)
view
20 x 2 tools/apiview/parsers/cp...parser/ApiViewProcessor
tools/apiview/parsers/cp...parser/ApiViewProcessor
79:109 (4%)
163:193 (4%)
view
20 x 2 tools/apiview/parsers/cp...parser/ApiViewProcessor
tools/apiview/parsers/cp...parser/ApiViewProcessor
163:193 (4%)
238:268 (4%)
view
19 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-specs-examples-automation/go
292:315 (8%)
286:309 (8%)
view
19 x 2 tools/azure-rest-api-specs-examples-automation/go
tools/azure-rest-api-specs-examples-automation/js
286:309 (8%)
349:372 (7%)
view
19 x 2 tools/azure-rest-api-specs-examples-automation/js
tools/azure-rest-api-spe...mples-automation/python
349:372 (7%)
193:216 (11%)
view
19 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-specs-examples-automation/js
292:315 (8%)
349:372 (7%)
view
19 x 2 tools/apiview/parsers/sw...parser/SwaggerApiParser
tools/apiview/parsers/sw...parser/SwaggerApiParser
133:151 (9%)
275:293 (9%)
view
19 x 2 tools/azure-rest-api-specs-examples-automation/go
tools/azure-rest-api-spe...mples-automation/python
286:309 (8%)
193:216 (11%)
view
18 x 2 tools/azure-rest-api-spe...xamples-automation/java
tools/azure-rest-api-specs-examples-automation/js
321:342 (7%)
349:370 (6%)
view
18 x 2 eng/common/scripts/Helpers
eng/common/scripts
18:37 (8%)
91:111 (6%)
view
18 x 2 tools/azure-rest-api-spe...mples-automation/dotnet
tools/azure-rest-api-spe...xamples-automation/java
292:313 (7%)
321:342 (7%)
view
Duplicated Units
The list of top 20 duplicated units.
See data for all 20 unit duplicates...
Size#FoldersFilesLinesCode
42 x 2 tools/apiview/parsers/sw...parser/SwaggerApiParser
tools/apiview/parsers/sw...parser/SwaggerApiParser
789:835 
544:590 
view
16 x 2 tools/identity-resolution/Helpers
tools/notification-confi...on/notification-creator
15:34 
16:35 
view
16 x 2 tools/issue-labeler/src/SearchIndexCreator
tools/issue-labeler/src/SearchIndexCreator
265:283 
123:141 
view
15 x 2 tools/github-team-user-s...ore/GitHubTeamUserStore
tools/github-event-proce...ls.GitHubEventProcessor
36:52 
1292:1308 
view
14 x 2 tools/apiview/parsers/cs...harpAPIParser/TreeToken
src/dotnet/APIView/APIView/Languages
53:68 
53:68 
view
14 x 2 tools/secret-management/...otation.Stores.KeyVault
tools/secret-management/...otation.Stores.KeyVault
325:343 
206:224 
view
12 x 2 tools/apiview/parsers/cs...harpAPIParser/TreeToken
src/dotnet/APIView/APIView/Languages
680:693 
656:669 
view
12 x 2 tools/apiview/parsers/sw...parser/SwaggerApiParser
tools/apiview/parsers/sw...parser/SwaggerApiParser
843:864 
598:619 
view
12 x 2 tools/apiview/parsers/sw...piParser/SwaggerApiView
tools/apiview/parsers/sw...piParser/SwaggerApiView
9:23 
25:39 
view
11 x 2 tools/test-proxy/sample-clients/net/storage-blob
tools/test-proxy/sample-clients/net/http-client
82:97 
47:63 
view
10 x 2 tools/apiview/parsers/cs...harpAPIParser/TreeToken
src/dotnet/APIView/APIView/Languages
760:771 
737:748 
view
8 x 2 tools/apiview/parsers/sw...parser/SwaggerApiParser
tools/apiview/parsers/sw...parser/SwaggerApiParser
878:887 
633:642 
view
8 x 2 tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common
tools/test-proxy/Azure.Sdk.Tools.TestProxy/Common
56:66 
41:51 
view
7 x 2 tools/apiview/parsers/cs...harpAPIParser/TreeToken
src/dotnet/APIView/APIView/Languages
788:796 
765:773 
view
7 x 2 tools/test-proxy/sample-clients/net/storage-blob
tools/test-proxy/sample-clients/net/http-client
127:137 
94:104 
view
7 x 2 src/dotnet/APIView/Clien...nents/conversation-page
src/dotnet/APIView/Clien...components/samples-page
49:57 
114:122 
view
6 x 2 tools/test-proxy/sample-...roxy.HttpPipelineSample
tools/test-proxy/sample-clients/net/storage-blob
24:31 
167:174 
view
6 x 2 tools/test-proxy/sample-clients/net/storage-blob
tools/test-proxy/sample-clients/net/http-client
99:108 
65:74 
view
6 x 3 src/dotnet/APIView/Clien...nents/conversation-page
src/dotnet/APIView/Clien...components/samples-page
src/dotnet/APIView/Clien...omponents/revision-page
59:66 
136:143 
47:54 
view
6 x 2 src/dotnet/APIView/Clien...nents/conversation-page
src/dotnet/APIView/Clien..._components/review-page
78:85 
289:296 
view