JetBrains / compose-multiplatform
Duplication

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

Intro
Learn more...
Duplication Overall
system8% (2,727 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
kt6% (1,746 lines)
xml63% (585 lines)
kts13% (396 lines)
Duplication per Component (primary)
html6% (794 lines)
benchmarks18% (686 lines)
components12% (564 lines)
ci19% (258 lines)
experimental17% (193 lines)
gradle-plugins2% (176 lines)
tooling6% (33 lines)
compose24% (23 lines)
tools0% (0 lines)
tutorials0% (0 lines)
idea-plugin0% (0 lines)

Duplication Between Components (50+ lines)

G benchmarks benchmarks ci ci benchmarks--ci 585 components components experimental experimental components--experimental 84

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 424 duplicates...
Size#FoldersFilesLinesCode
169 x 2 benchmarks/showcases/Laz...ndroidMain/res/drawable
ci/templates/multiplatfo...d/src/main/res/drawable
1:169 (100%)
1:169 (100%)
view
169 x 2 benchmarks/showcases/Laz...ndroidMain/res/drawable
benchmarks/showcases/Laz...p/src/main/res/drawable
1:169 (100%)
1:169 (100%)
view
169 x 2 benchmarks/showcases/Laz...p/src/main/res/drawable
ci/templates/multiplatfo...d/src/main/res/drawable
1:169 (100%)
1:169 (100%)
view
66 x 2 benchmarks/showcases/Laz...jetbrains/lazygridimage
benchmarks/showcases/Laz...jetbrains/lazygridimage
54:141 (77%)
65:152 (73%)
view
26 x 2 benchmarks/showcases/Laz...idMain/res/drawable-v24
benchmarks/showcases/Laz...p/src/main/res/drawable
1:29 (100%)
1:29 (100%)
view
26 x 2 benchmarks/showcases/Laz...idMain/res/drawable-v24
ci/templates/multiplatfo...c/main/res/drawable-v24
1:29 (100%)
1:29 (100%)
view
26 x 2 benchmarks/showcases/Laz...p/src/main/res/drawable
ci/templates/multiplatfo...c/main/res/drawable-v24
1:29 (100%)
1:29 (100%)
view
19 x 2 html/compose-compiler-integration/main-template
html/compose-compiler-in...ation/main-template/lib
1:25 (82%)
1:25 (86%)
view
17 x 2 compose/integrations/com...n/src/commonTest/kotlin
html/compose-compiler-in...plate/src/jsMain/kotlin
20:40 (60%)
4:24 (85%)
view
17 x 2 html/svg/src/jsMain/kotl...tbrains/compose/web/svg
html/svg/src/jsMain/kotl...tbrains/compose/web/svg
185:203 (2%)
208:226 (2%)
view
16 x 2 components/resources/lib...resources/vector/xmldom
components/resources/lib...resources/vector/xmldom
1:29 (100%)
1:29 (100%)
view
16 x 2 html/svg/src/jsMain/kotl...tbrains/compose/web/svg
html/svg/src/jsMain/kotl...tbrains/compose/web/svg
337:354 (2%)
360:378 (2%)
view
16 x 2 components/AnimatedImage/library
components/SplitPane/library
1:24 (84%)
1:26 (84%)
view
16 x 2 experimental/cef/src/mai...compose/desktop/browser
experimental/cef/src/mai...compose/desktop/browser
127:152 (9%)
113:138 (12%)
view
16 x 2 html/svg/src/jsMain/kotl...tbrains/compose/web/svg
html/svg/src/jsMain/kotl...tbrains/compose/web/svg
256:273 (2%)
279:297 (2%)
view
15 x 2 components/resources/lib...rains/compose/resources
components/resources/lib...rains/compose/resources
1:26 (100%)
1:26 (100%)
view
15 x 2 html/svg/src/jsMain/kotl...tbrains/compose/web/svg
html/svg/src/jsMain/kotl...tbrains/compose/web/svg
101:118 (2%)
123:140 (2%)
view
15 x 2 experimental/cef/src/mai...compose/desktop/browser
experimental/cef/src/mai...compose/desktop/browser
109:125 (8%)
96:112 (11%)
view
15 x 2 gradle-plugins/compose/s...rains/compose/resources
gradle-plugins/compose/s...rains/compose/resources
111:126 (9%)
132:147 (9%)
view
14 x 2 components/resources/lib...rains/compose/resources
components/resources/lib...rains/compose/resources
56:75 (29%)
81:100 (17%)
view
14 x 2 components/resources/lib...rains/compose/resources
components/resources/lib...rains/compose/resources
125:138 (4%)
131:144 (4%)
view
12 x 2 benchmarks/multiplatform...plexlazylist/components
benchmarks/multiplatform...plexlazylist/components
137:153 (4%)
160:176 (4%)
view
12 x 2 html/compose-compiler-integration
html/svg
3:22 (7%)
3:22 (42%)
view
12 x 2 ci/templates/desktop-template/src/main/kotlin
experimental/build_from_cli/src/main/kotlin
13:29 (100%)
13:29 (100%)
view
12 x 2 html/core/src/jsTest/kotlin
html/core/src/jsTest/kotlin
83:101 (12%)
114:132 (12%)
view
12 x 2 benchmarks/multiplatform.../complexlazylist/models
benchmarks/multiplatform.../complexlazylist/models
4:15 (85%)
4:15 (85%)
view
12 x 2 components/resources/library
components/ui-tooling-preview/library
15:30 (7%)
10:25 (24%)
view
12 x 2 html/core/src/jsTest/kotlin/elements
html/core/src/jsTest/kotlin/elements
78:92 (10%)
108:122 (10%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
43:57 (6%)
167:181 (6%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
74:88 (6%)
105:119 (6%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
74:88 (6%)
136:150 (6%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
105:119 (6%)
136:150 (6%)
view
11 x 2 html/benchmark-core
html/integration-core
21:36 (24%)
34:49 (16%)
view
11 x 2 components/resources/lib...resources/vector/xmldom
components/resources/lib...resources/vector/xmldom
1:18 (100%)
1:18 (100%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
74:88 (6%)
167:181 (6%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
136:150 (6%)
167:181 (6%)
view
11 x 2 components/resources/lib...rains/compose/resources
components/resources/lib...rains/compose/resources
21:37 (23%)
35:51 (13%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
43:57 (6%)
74:88 (6%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
43:57 (6%)
136:150 (6%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
43:57 (6%)
105:119 (6%)
view
11 x 2 html/compose-compiler-in...ation/src/jsTest/kotlin
html/compose-compiler-in...ation/src/jsTest/kotlin
105:119 (6%)
167:181 (6%)
view
10 x 2 html/core
html/svg
12:26 (31%)
11:25 (35%)
view
10 x 2 html/internal-html-core-runtime
html/svg
3:15 (55%)
3:15 (35%)
view
10 x 2 benchmarks/multiplatform...plexlazylist/components
benchmarks/multiplatform...plexlazylist/components
116:130 (3%)
139:153 (3%)
view
10 x 2 html/core/src/jsTest/kotlin/css
html/core/src/jsTest/kotlin/css
19:33 (13%)
41:55 (13%)
view
10 x 2 benchmarks/multiplatform...plexlazylist/components
benchmarks/multiplatform...plexlazylist/components
116:130 (3%)
162:176 (3%)
view
10 x 2 benchmarks/multiplatform...plexlazylist/components
benchmarks/multiplatform...plexlazylist/components
116:130 (3%)
185:199 (3%)
view
10 x 2 benchmarks/multiplatform...plexlazylist/components
benchmarks/multiplatform...plexlazylist/components
116:130 (3%)
208:222 (3%)
view
10 x 2 benchmarks/multiplatform.../complexlazylist/models
benchmarks/multiplatform.../complexlazylist/models
6:15 (71%)
40:49 (20%)
view
10 x 2 components
gradle-plugins
25:37 (41%)
41:54 (11%)
view
Duplicated Units
The list of top 3 duplicated units.
See data for all 3 unit duplicates...
Size#FoldersFilesLinesCode
16 x 2 benchmarks/showcases/Laz...jetbrains/lazygridimage
benchmarks/showcases/Laz...jetbrains/lazygridimage
137:154 
126:143 
view
8 x 2 html/compose-compiler-in...plate/src/jsMain/kotlin
compose/integrations/com...n/src/commonTest/kotlin
17:27 
33:43 
view
8 x 2 ci/templates/desktop-template/src/main/kotlin
experimental/build_from_cli/src/main/kotlin
15:25 
15:25 
view