mozilla / uniffi-rs
Duplication

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

Intro
Learn more...
Duplication Overall
system12% (4,226 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
rs12% (3,304 lines)
toml37% (517 lines)
rb13% (127 lines)
py6% (114 lines)
swift6% (93 lines)
kt5% (71 lines)
Duplication per Component (primary)
uniffi_bindgen13% (1,975 lines)
fixtures20% (1,216 lines)
uniffi_macros7% (239 lines)
uniffi_udl9% (193 lines)
uniffi_meta13% (159 lines)
weedle29% (157 lines)
uniffi_core5% (120 lines)
uniffi_pipeline14% (86 lines)
uniffi12% (62 lines)
uniffi_internal_macros1% (10 lines)
uniffi_build19% (9 lines)
uniffi_testing0% (0 lines)
ROOT0% (0 lines)
tools0% (0 lines)

Duplication Between Components (50+ lines)

G uniffi_core uniffi_core uniffi_meta uniffi_meta uniffi_core--uniffi_meta 128 uniffi_bindgen uniffi_bindgen uniffi_bindgen--uniffi_meta 116 uniffi_udl uniffi_udl uniffi_bindgen--uniffi_udl 58 uniffi_macros uniffi_macros uniffi_bindgen--uniffi_macros 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 2,677 duplicates...
Size#FoldersFilesLinesCode
52 x 2 uniffi_core/src
uniffi_meta/src
1:82 (37%)
1:65 (81%)
view
29 x 2 uniffi_bindgen/src/bindings/kotlin/gen_kotlin
uniffi_bindgen/src/bindings/swift/gen_swift
550:583 (5%)
514:547 (5%)
view
26 x 2 uniffi_bindgen/src/pipeline/general
uniffi_bindgen/src/pipeline/initial
344:371 (6%)
215:242 (11%)
view
25 x 2 uniffi_bindgen/src/bindings/kotlin/gen_kotlin
uniffi_bindgen/src/bindings/swift/gen_swift
146:177 (4%)
181:212 (4%)
view
23 x 2 uniffi_bindgen/src/bindings/python
uniffi_bindgen/src/bindings/ruby
28:55 (45%)
23:50 (42%)
view
23 x 2 uniffi_bindgen/src/pipeline/general
uniffi_bindgen/src/pipeline/general
67:90 (20%)
95:118 (20%)
view
22 x 2 fixtures/proc-macro-no-implicit-prelude/src
fixtures/proc-macro/src
169:194 (8%)
180:205 (8%)
view
22 x 2 fixtures/ext-types/lib/src
fixtures/ext-types/proc-macro-lib/src
41:65 (15%)
34:58 (15%)
view
21 x 2 uniffi_bindgen/src/bindings/kotlin/gen_kotlin
uniffi_bindgen/src/bindings/python/gen_python
536:567 (4%)
517:548 (4%)
view
20 x 2 uniffi_bindgen/src/bindings/python/gen_python
uniffi_bindgen/src/bindings/swift/gen_swift
114:140 (4%)
186:212 (3%)
view
20 x 2 uniffi_bindgen/src/bindings/kotlin/gen_kotlin
uniffi_bindgen/src/bindings/python/gen_python
151:177 (3%)
114:140 (4%)
view
18 x 2 uniffi_bindgen/src/bindings/swift/templates
uniffi_bindgen/src/bindings/swift/templates
74:95 (22%)
92:113 (19%)
view
18 x 2 fixtures/metadata/src
fixtures/metadata/src
543:560 (2%)
666:683 (2%)
view
16 x 2 uniffi_bindgen/src/bindings/python/gen_python
uniffi_bindgen/src/bindings/swift/gen_swift
531:548 (3%)
514:531 (2%)
view
16 x 2 uniffi_bindgen/src/pipeline/general
uniffi_meta/src
344:360 (3%)
58:74 (12%)
view
16 x 2 uniffi_bindgen/src/pipeline/initial
uniffi_meta/src
215:231 (7%)
58:74 (12%)
view
15 x 2 uniffi_bindgen/src/bindings/python/gen_python
uniffi_bindgen/src/bindings/swift/gen_swift
72:97 (19%)
66:91 (20%)
view
15 x 2 uniffi_udl/src/converters
uniffi_udl/src/converters
136:154 (8%)
182:200 (8%)
view
14 x 2 uniffi_bindgen/src/interface
uniffi_udl/src/converters
185:198 (7%)
170:183 (8%)
view
14 x 2 fixtures/ext-types/lib/src
fixtures/ext-types/proc-macro-lib/src
17:33 (9%)
12:28 (10%)
view
14 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/interface
94:119 (10%)
573:598 (3%)
view
14 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/interface
427:452 (3%)
577:602 (3%)
view
13 x 2 uniffi_bindgen/src/pipeline/general
uniffi_bindgen/src/pipeline/initial
45:59 (3%)
31:45 (5%)
view
13 x 2 uniffi_udl/src/converters
uniffi_udl/src/converters
91:103 (10%)
106:118 (10%)
view
13 x 2 uniffi_bindgen/src/bindings/python/gen_python
uniffi_bindgen/src/bindings/swift/gen_swift
1:20 (52%)
1:20 (61%)
view
13 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/pipeline/general
110:127 (5%)
20:37 (29%)
view
13 x 2 uniffi_bindgen/src/bindings/python/gen_python
uniffi_bindgen/src/bindings/swift/gen_swift
19:43 (2%)
21:45 (2%)
view
13 x 2 uniffi_bindgen/src/bindings/ruby/templates
uniffi_bindgen/src/bindings/ruby/templates
188:202 (6%)
210:224 (6%)
view
12 x 2 uniffi_bindgen/src/bindings/swift/templates
uniffi_bindgen/src/bindings/swift/templates
74:87 (15%)
70:83 (19%)
view
12 x 2 uniffi_bindgen/src/scaffolding/templates
uniffi_bindgen/src/scaffolding/templates
5:16 (75%)
10:21 (16%)
view
12 x 2 uniffi_core/src
uniffi_meta/src
260:278 (8%)
72:90 (18%)
view
12 x 2 uniffi_bindgen/src/pipeline/general
uniffi_bindgen/src/pipeline/general
217:228 (4%)
254:265 (4%)
view
12 x 2 uniffi_bindgen/src/bindings/kotlin/gen_kotlin
uniffi_bindgen/src/bindings/python/gen_python
569:583 (2%)
550:564 (2%)
view
12 x 2 uniffi_pipeline/src
uniffi_pipeline/src
229:240 (3%)
14:25 (16%)
view
12 x 2 uniffi_bindgen/src/bindings/ruby/templates
uniffi_bindgen/src/bindings/ruby/templates
166:179 (5%)
234:247 (5%)
view
12 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/interface
98:119 (8%)
427:448 (2%)
view
12 x 2 uniffi_bindgen/src/bindings/python/gen_python
uniffi_bindgen/src/bindings/swift/gen_swift
1:19 (80%)
1:19 (80%)
view
12 x 2 fixtures/metadata/src
fixtures/metadata/src
284:297 (1%)
421:434 (1%)
view
12 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/interface
626:639 (2%)
658:669 (2%)
view
12 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/interface
150:163 (8%)
658:669 (2%)
view
12 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/interface
150:163 (8%)
626:639 (2%)
view
12 x 2 uniffi_bindgen/src/bindings/python/gen_python
uniffi_bindgen/src/bindings/swift/gen_swift
550:564 (2%)
533:547 (2%)
view
12 x 2 uniffi_bindgen/src/bindings/ruby/templates
uniffi_bindgen/src/bindings/ruby/templates
135:148 (5%)
234:247 (5%)
view
12 x 2 uniffi_bindgen/src/bindings/ruby/templates
uniffi_bindgen/src/bindings/ruby/templates
135:148 (5%)
166:179 (5%)
view
12 x 2 uniffi_bindgen/src/bindings/swift/templates
uniffi_bindgen/src/bindings/swift/templates
92:105 (12%)
70:83 (19%)
view
11 x 2 uniffi_bindgen/src/bindings/ruby/templates
uniffi_bindgen/src/bindings/ruby/templates
100:111 (5%)
114:125 (5%)
view
11 x 2 uniffi_bindgen/src/bindings/ruby/templates
uniffi_bindgen/src/bindings/ruby/templates
114:125 (5%)
168:179 (5%)
view
11 x 2 uniffi_bindgen/src/bindings/ruby/templates
uniffi_bindgen/src/bindings/ruby/templates
114:125 (5%)
236:247 (5%)
view
11 x 2 uniffi_bindgen/src/bindings/python/templates
uniffi_bindgen/src/bindings/python/templates
70:80 (13%)
92:102 (13%)
view
11 x 2 uniffi_bindgen/src/interface
uniffi_bindgen/src/pipeline/general
24:35 (4%)
490:501 (2%)
view
Duplicated Units
The list of top 4 duplicated units.
See data for all 4 unit duplicates...
Size#FoldersFilesLinesCode
13 x 2 uniffi_bindgen/src/bindings/ruby
uniffi_bindgen/src/bindings/python
29:43 
34:48 
view
6 x 4 uniffi_bindgen/src/bindings/swift
uniffi_bindgen/src/bindings/kotlin
uniffi_bindgen/src/bindings/ruby
uniffi_bindgen/src/bindings/python
59:66 
20:27 
20:27 
25:32 
view
6 x 3 uniffi_bindgen/src/bindings/swift/gen_swift
uniffi_bindgen/src/bindings/kotlin/gen_kotlin
uniffi_bindgen/src/bindings/python/gen_python
194:201 
159:166 
122:129 
view
6 x 3 uniffi_bindgen/src/bindings/swift/gen_swift
uniffi_bindgen/src/bindings/kotlin/gen_kotlin
uniffi_bindgen/src/bindings/python/gen_python
202:209 
167:174 
130:137 
view