apache / incubator-baremaps
Duplication

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

Intro
Learn more...
Duplication Overall
system21% (8,821 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
sql60% (3,842 lines)
java15% (3,264 lines)
js22% (1,246 lines)
html27% (232 lines)
xml11% (78 lines)
ftl11% (66 lines)
proto9% (58 lines)
osm<1% (35 lines)
Duplication per Component (primary)
basemap44% (5,065 lines)
baremaps-calcite23% (1,099 lines)
baremaps-postgres29% (640 lines)
baremaps-data15% (450 lines)
baremaps-openstreetmap16% (345 lines)
baremaps-core9% (268 lines)
baremaps-cli27% (244 lines)
baremaps-server23% (187 lines)
baremaps-testing3% (175 lines)
daylight15% (88 lines)
baremaps-maplibre4% (80 lines)
baremaps-flatgeobuf6% (72 lines)
baremaps-pmtiles6% (66 lines)
baremaps-dem2% (18 lines)
baremaps-shapefile1% (12 lines)
baremaps-benchmarking14% (12 lines)
ROOT0% (0 lines)
scripts0% (0 lines)
baremaps-geoparquet0% (0 lines)
baremaps-renderer0% (0 lines)
baremaps-rpsl0% (0 lines)

Duplication Between Components (50+ lines)

G basemap basemap daylight daylight basemap--daylight 243 baremaps-server baremaps-server baremaps-server--basemap 206 baremaps-data baremaps-data baremaps-flatgeobuf baremaps-flatgeobuf baremaps-data--baremaps-flatgeobuf 88

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 3,341 duplicates...
Size#FoldersFilesLinesCode
67 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
236:320 (15%)
281:365 (14%)
view
65 x 2 baremaps-server/src/main/resources/static
basemap
1:93 (100%)
1:93 (100%)
view
59 x 2 basemap/layers/highway
basemap/layers/highway
20:85 (41%)
20:85 (43%)
view
59 x 2 basemap/layers/highway
basemap/layers/highway
20:85 (43%)
21:86 (41%)
view
59 x 2 basemap/layers/highway
basemap/layers/highway
20:85 (41%)
21:86 (41%)
view
50 x 2 baremaps-openstreetmap/s...emaps/openstreetmap/xml
baremaps-openstreetmap/s...emaps/openstreetmap/xml
179:246 (28%)
202:269 (24%)
view
44 x 2 baremaps-data/src/main/j...baremaps/data/algorithm
baremaps-flatgeobuf/src/...che/baremaps/flatgeobuf
79:132 (59%)
119:172 (12%)
view
38 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
119:170 (8%)
147:198 (8%)
view
37 x 2 basemap/layers/building
basemap/layers/building
17:53 (34%)
70:106 (34%)
view
30 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
207:249 (18%)
105:150 (18%)
view
28 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
331:370 (6%)
415:454 (6%)
view
27 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
193:222 (6%)
247:276 (5%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
441:465 (2%)
841:865 (2%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
681:705 (2%)
841:865 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
417:441 (2%)
497:521 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
417:441 (2%)
577:601 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
417:441 (2%)
657:681 (2%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
441:465 (2%)
601:625 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
592:616 (2%)
832:856 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
592:616 (2%)
752:776 (2%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
441:465 (2%)
681:705 (2%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
441:465 (2%)
761:785 (2%)
view
25 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
167:203 (11%)
166:202 (11%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
681:705 (2%)
761:785 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
672:696 (2%)
752:776 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
417:441 (2%)
737:761 (2%)
view
25 x 2 baremaps-server/src/main/resources/static
basemap
1:43 (18%)
1:43 (38%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
761:785 (2%)
841:865 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
417:441 (2%)
817:841 (2%)
view
25 x 2 baremaps-server/src/main/resources/static
baremaps-server/src/main/resources/static
1:43 (38%)
1:43 (18%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
497:521 (2%)
577:601 (2%)
view
25 x 2 basemap/layers/leisure
basemap/layers/leisure
666:690 (2%)
746:770 (2%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
601:625 (2%)
841:865 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
497:521 (2%)
657:681 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
497:521 (2%)
737:761 (2%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
601:625 (2%)
761:785 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
672:696 (2%)
832:856 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
497:521 (2%)
817:841 (2%)
view
25 x 2 basemap/layers/landuse
basemap/layers/landuse
601:625 (2%)
681:705 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
592:616 (2%)
672:696 (2%)
view
25 x 2 basemap/layers/leisure
basemap/layers/leisure
666:690 (2%)
826:850 (2%)
view
25 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
457:488 (5%)
580:611 (5%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
512:536 (2%)
672:696 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
512:536 (2%)
592:616 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
577:601 (2%)
817:841 (2%)
view
25 x 2 basemap/layers/leisure
basemap/layers/leisure
426:450 (2%)
826:850 (2%)
view
25 x 2 basemap/layers/leisure
basemap/layers/leisure
746:770 (2%)
826:850 (2%)
view
25 x 2 basemap/layers/amenity
basemap/layers/amenity
577:601 (2%)
737:761 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
512:536 (2%)
832:856 (2%)
view
25 x 2 basemap/layers/natural
basemap/layers/natural
752:776 (2%)
832:856 (2%)
view
Duplicated Units
The list of top 46 duplicated units.
See data for all 46 unit duplicates...
Size#FoldersFilesLinesCode
48 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
236:285 
281:330 
view
27 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
193:224 
247:278 
view
22 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
119:142 
147:170 
view
19 x 2 baremaps-openstreetmap/s...emaps/openstreetmap/xml
baremaps-openstreetmap/s...emaps/openstreetmap/xml
202:225 
179:202 
view
19 x 2 baremaps-openstreetmap/s...emaps/openstreetmap/xml
baremaps-openstreetmap/s...emaps/openstreetmap/xml
234:257 
211:234 
view
15 x 2 basemap/layers/highway
basemap/layers/highway
157:173 
113:129 
view
15 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
155:171 
183:199 
view
15 x 2 baremaps-data/src/main/j...aremaps/data/collection
baremaps-data/src/main/j...aremaps/data/collection
236:256 
66:86 
view
14 x 2 basemap/layers/highway
basemap/layers/highway
108:123 
167:182 
view
14 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
203:218 
204:219 
view
13 x 2 basemap/layers/natural
basemap/layers/barrier
34:48 
44:58 
view
13 x 2 basemap/layers/highway
basemap/layers/highway
107:121 
166:180 
view
13 x 2 basemap/layers/railway
basemap/layers/railway
104:118 
102:116 
view
12 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
208:221 
106:119 
view
11 x 4 basemap/layers/natural
basemap/layers/natural
basemap/layers/landuse
basemap/layers/landuse
64:76 
51:63 
116:128 
48:60 
view
11 x 3 basemap/layers/amenity
basemap/layers/amenity
basemap/layers/leisure
47:59 
28:40 
40:52 
view
11 x 2 basemap/layers/man_made
basemap/layers/leisure
40:52 
71:83 
view
11 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
291:303 
292:304 
view
10 x 2 basemap/layers/ocean
daylight/layers/landcover
28:39 
45:56 
view
10 x 3 basemap/layers/route
basemap/layers/aerialway
basemap/layers/aeroway
29:40 
29:40 
35:46 
view
10 x 2 basemap/layers/aeroway
daylight/layers/coastline
27:38 
23:34 
view
10 x 2 baremaps-calcite/src/mai...e/baremaps/calcite/data
baremaps-calcite/src/mai...remaps/calcite/postgres
152:163 
445:456 
view
9 x 2 baremaps-dem/src/main/java/org/apache/baremaps/dem
baremaps-dem/src/main/java/org/apache/baremaps/dem
204:214 
119:129 
view
9 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
224:234 
122:132 
view
9 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
237:247 
135:145 
view
9 x 2 baremaps-data/src/main/j...ache/baremaps/data/type
baremaps-openstreetmap/s...aps/openstreetmap/utils
94:104 
62:72 
view
8 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
245:254 
246:255 
view
8 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
278:287 
279:288 
view
8 x 2 baremaps-calcite/src/mai...apache/baremaps/calcite
baremaps-calcite/src/mai...remaps/calcite/postgres
679:688 
772:781 
view
7 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
167:175 
168:176 
view
7 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
179:187 
180:188 
view
7 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
191:199 
192:200 
view
7 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
274:282 
277:285 
view
7 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
146:154 
192:200 
view
7 x 2 baremaps-calcite/src/mai...he/baremaps/calcite/ddl
baremaps-calcite/src/mai...he/baremaps/calcite/ddl
156:164 
57:65 
view
7 x 2 baremaps-openstreetmap/s...emaps/openstreetmap/xml
baremaps-openstreetmap/s...emaps/openstreetmap/xml
259:267 
236:244 
view
6 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
170:177 
143:150 
view
6 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
181:188 
154:161 
view
6 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
192:199 
165:172 
view
6 x 2 baremaps-postgres/src/ma.../postgres/openstreetmap
baremaps-postgres/src/ma.../postgres/openstreetmap
43:50 
44:51 
view
6 x 2 baremaps-data/src/main/j...ache/baremaps/data/type
baremaps-data/src/main/j...ache/baremaps/data/type
41:48 
43:50 
view
6 x 2 baremaps-data/src/main/j...ache/baremaps/data/type
baremaps-data/src/main/j...ache/baremaps/data/type
41:48 
43:50 
view
6 x 2 baremaps-data/src/main/j...ache/baremaps/data/type
baremaps-data/src/main/j...ache/baremaps/data/type
43:50 
45:52 
view
6 x 2 baremaps-data/src/main/j...ache/baremaps/data/type
baremaps-data/src/main/j...ache/baremaps/data/type
43:50 
43:50 
view
6 x 2 baremaps-data/src/main/j...ache/baremaps/data/type
baremaps-data/src/main/j...ache/baremaps/data/type
43:50 
41:48 
view
6 x 2 baremaps-data/src/main/j...ache/baremaps/data/type
baremaps-data/src/main/j...ache/baremaps/data/type
43:50 
41:48 
view