GoogleCloudPlatform / firebase-extensions
Duplication

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

Intro
Learn more...
Duplication Overall
system41% (5,426 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
yaml63% (2,733 lines)
ts31% (2,693 lines)
Duplication per Component (primary)
firestore-semantic-search60% (999 lines)
storage-reverse-image-search64% (988 lines)
firestore-palm-gen-text70% (620 lines)
firestore-genai-chatbot51% (581 lines)
firestore-multimodal-genai48% (552 lines)
firestore-palm-chatbot53% (427 lines)
firestore-palm-summarize-text60% (351 lines)
palm-secure-backend32% (144 lines)
storage-extract-image-text39% (112 lines)
storage-label-images29% (98 lines)
firestore-vector-search9% (95 lines)
storage-label-videos28% (94 lines)
storage-transcode-videos37% (94 lines)
firestore-incremental-capture11% (81 lines)
bigquery-firestore-export10% (80 lines)
text-to-speech23% (73 lines)
speech-to-text5% (37 lines)
firestore-incremental-capture-pipeline0% (0 lines)
_emulator0% (0 lines)

Duplication Between Components (50+ lines)

G firestore-semantic-search firestore-semantic-search storage-reverse-image-search storage-reverse-image-search firestore-semantic-search--storage-reverse-image-search 1888 firestore-vector-search firestore-vector-search firestore-semantic-search--firestore-vector-search 134 text-to-speech text-to-speech firestore-semantic-search--text-to-speech 62 storage-reverse-image-search--text-to-speech 62 firestore-palm-gen-text firestore-palm-gen-text firestore-palm-gen-text--firestore-semantic-search 58 firestore-palm-gen-text--storage-reverse-image-search 58 firestore-palm-summarize-text firestore-palm-summarize-text firestore-palm-gen-text--firestore-palm-summarize-text 731 palm-secure-backend palm-secure-backend firestore-palm-gen-text--palm-secure-backend 126 firestore-palm-gen-text--text-to-speech 98 firestore-palm-summarize-text--palm-secure-backend 142 firestore-palm-summarize-text--text-to-speech 100 firestore-multimodal-genai firestore-multimodal-genai firestore-multimodal-genai--firestore-palm-gen-text 689 firestore-multimodal-genai--firestore-palm-summarize-text 290 firestore-palm-chatbot firestore-palm-chatbot firestore-multimodal-genai--firestore-palm-chatbot 304 firestore-multimodal-genai--palm-secure-backend 88 firestore-multimodal-genai--text-to-speech 84 firestore-genai-chatbot firestore-genai-chatbot firestore-genai-chatbot--firestore-palm-gen-text 332 firestore-genai-chatbot--firestore-palm-summarize-text 168 firestore-genai-chatbot--firestore-multimodal-genai 680 firestore-genai-chatbot--firestore-palm-chatbot 634 firestore-genai-chatbot--palm-secure-backend 102 firestore-incremental-capture firestore-incremental-capture firestore-genai-chatbot--firestore-incremental-capture 98 firestore-genai-chatbot--text-to-speech 98 firestore-palm-chatbot--firestore-palm-gen-text 524 firestore-palm-chatbot--firestore-palm-summarize-text 316 firestore-palm-chatbot--palm-secure-backend 142 firestore-palm-chatbot--text-to-speech 100 storage-extract-image-text storage-extract-image-text storage-label-images storage-label-images storage-extract-image-text--storage-label-images 203 storage-label-videos storage-label-videos storage-transcode-videos storage-transcode-videos storage-label-videos--storage-transcode-videos 172 palm-secure-backend--text-to-speech 100 firestore-vector-search--storage-reverse-image-search 54 firestore-incremental-capture--firestore-semantic-search 74 firestore-incremental-capture--storage-reverse-image-search 68 firestore-incremental-capture--firestore-palm-gen-text 86 firestore-incremental-capture--firestore-palm-summarize-text 100 firestore-incremental-capture--firestore-multimodal-genai 84 firestore-incremental-capture--firestore-palm-chatbot 100 firestore-incremental-capture--palm-secure-backend 100 firestore-incremental-capture--text-to-speech 128 bigquery-firestore-export bigquery-firestore-export bigquery-firestore-export--storage-reverse-image-search 50 bigquery-firestore-export--firestore-palm-gen-text 86 bigquery-firestore-export--firestore-palm-summarize-text 86 bigquery-firestore-export--firestore-multimodal-genai 84 bigquery-firestore-export--firestore-genai-chatbot 84 bigquery-firestore-export--firestore-palm-chatbot 86 bigquery-firestore-export--palm-secure-backend 86 bigquery-firestore-export--firestore-incremental-capture 124 bigquery-firestore-export--text-to-speech 114 speech-to-text speech-to-text speech-to-text--storage-extract-image-text 60 speech-to-text--storage-label-images 60

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 620 duplicates...
Size#FoldersFilesLinesCode
183 x 2 firestore-semantic-search
storage-reverse-image-search
365:548 (29%)
359:542 (30%)
view
80 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
137:260 (34%)
115:238 (35%)
view
71 x 2 firestore-semantic-search
storage-reverse-image-search
583:657 (11%)
577:654 (11%)
view
68 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
264:369 (29%)
243:349 (30%)
view
62 x 2 bigquery-firestore-export
firestore-incremental-capture
76:138 (23%)
111:173 (34%)
view
60 x 2 firestore-semantic-search
storage-reverse-image-search
104:167 (9%)
82:145 (9%)
view
57 x 2 firestore-palm-chatbot
firestore-palm-gen-text
159:217 (22%)
146:204 (14%)
view
57 x 2 firestore-incremental-capture
text-to-speech
117:173 (31%)
77:133 (41%)
view
57 x 2 bigquery-firestore-export
text-to-speech
82:138 (21%)
77:133 (41%)
view
55 x 2 firestore-genai-chatbot
firestore-multimodal-genai
157:212 (20%)
176:231 (15%)
view
52 x 2 firestore-palm-gen-text/functions/src
firestore-palm-summarize-text/functions/src
202:260 (28%)
175:233 (31%)
view
51 x 2 firestore-palm-chatbot
firestore-palm-summarize-text
159:210 (20%)
192:243 (25%)
view
51 x 2 firestore-palm-gen-text
firestore-palm-summarize-text
146:197 (12%)
192:243 (25%)
view
50 x 2 firestore-palm-gen-text
palm-secure-backend
148:197 (12%)
94:143 (34%)
view
50 x 2 firestore-palm-summarize-text
palm-secure-backend
194:243 (24%)
94:143 (34%)
view
50 x 2 storage-label-videos/functions/src
storage-transcode-videos/functions/src
26:80 (78%)
22:77 (92%)
view
50 x 2 firestore-palm-chatbot
palm-secure-backend
161:210 (19%)
94:143 (34%)
view
50 x 2 firestore-genai-chatbot
firestore-palm-chatbot
219:272 (18%)
230:283 (19%)
view
44 x 2 firestore-genai-chatbot
firestore-palm-gen-text
169:212 (16%)
154:197 (10%)
view
44 x 2 firestore-genai-chatbot
firestore-palm-summarize-text
169:212 (16%)
200:243 (21%)
view
44 x 2 firestore-multimodal-genai
firestore-palm-gen-text
188:231 (12%)
154:197 (10%)
view
44 x 2 firestore-genai-chatbot
firestore-palm-chatbot
169:212 (16%)
167:210 (17%)
view
44 x 2 firestore-multimodal-genai
firestore-palm-summarize-text
188:231 (12%)
200:243 (21%)
view
44 x 2 firestore-genai-chatbot
palm-secure-backend
169:212 (16%)
100:143 (30%)
view
44 x 2 firestore-multimodal-genai
firestore-palm-chatbot
188:231 (12%)
167:210 (17%)
view
44 x 2 firestore-multimodal-genai
palm-secure-backend
188:231 (12%)
100:143 (30%)
view
43 x 2 firestore-genai-chatbot/functions/src
firestore-palm-chatbot/functions/src
19:68 (100%)
19:68 (100%)
view
41 x 2 firestore-palm-chatbot
firestore-palm-gen-text
232:276 (16%)
208:252 (10%)
view
41 x 2 firestore-genai-chatbot
firestore-palm-gen-text
221:265 (15%)
208:252 (10%)
view
40 x 2 storage-extract-image-text
storage-label-images
52:92 (29%)
42:83 (28%)
view
38 x 2 firestore-multimodal-genai
firestore-palm-chatbot
233:273 (11%)
234:274 (15%)
view
38 x 2 firestore-multimodal-genai
firestore-palm-gen-text
233:273 (11%)
210:250 (9%)
view
38 x 2 firestore-genai-chatbot
firestore-multimodal-genai
223:263 (14%)
233:273 (11%)
view
36 x 2 firestore-palm-gen-text
firestore-palm-summarize-text
62:100 (8%)
75:117 (17%)
view
33 x 2 firestore-palm-chatbot
firestore-palm-gen-text
83:120 (13%)
67:102 (8%)
view
32 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
66:112 (42%)
56:102 (34%)
view
31 x 2 firestore-semantic-search/functions/src/functions
storage-reverse-image-se...functions/src/functions
61:109 (59%)
57:105 (58%)
view
31 x 2 firestore-palm-chatbot
firestore-palm-summarize-text
83:118 (12%)
82:117 (15%)
view
31 x 2 firestore-semantic-search
storage-reverse-image-search
550:581 (5%)
544:575 (5%)
view
30 x 2 speech-to-text
storage-extract-image-text
42:71 (27%)
60:89 (21%)
view
30 x 2 speech-to-text
storage-label-images
42:71 (27%)
50:79 (21%)
view
30 x 2 firestore-genai-chatbot/functions/src
firestore-palm-chatbot/functions/src
13:57 (65%)
12:56 (31%)
view
27 x 2 firestore-genai-chatbot
firestore-palm-chatbot
124:153 (10%)
127:156 (10%)
view
26 x 2 firestore-multimodal-genai/functions/src
firestore-palm-gen-text/functions/src
40:79 (19%)
56:95 (22%)
view
25 x 2 bigquery-firestore-export
firestore-palm-gen-text
89:113 (9%)
153:177 (6%)
view
25 x 2 firestore-incremental-capture
palm-secure-backend
124:148 (13%)
99:123 (17%)
view
25 x 2 bigquery-firestore-export
firestore-palm-summarize-text
89:113 (9%)
199:223 (12%)
view
25 x 2 firestore-incremental-capture
firestore-palm-summarize-text
124:148 (13%)
199:223 (12%)
view
25 x 2 firestore-incremental-capture
firestore-palm-chatbot
124:148 (13%)
166:190 (9%)
view
25 x 2 bigquery-firestore-export
palm-secure-backend
89:113 (9%)
99:123 (17%)
view
Duplicated Units
The list of top 22 duplicated units.
See data for all 22 unit duplicates...
Size#FoldersFilesLinesCode
31 x 2 firestore-palm-summarize-text/functions/src
firestore-palm-gen-text/functions/src
201:235 
228:262 
view
26 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
166:203 
144:181 
view
23 x 2 firestore-multimodal-genai/functions/src
firestore-genai-chatbot/functions/src
57:84 
54:81 
view
22 x 2 firestore-palm-chatbot/functions/src
firestore-genai-chatbot/functions/src
27:57 
28:58 
view
17 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
300:320 
279:299 
view
17 x 2 firestore-semantic-search/functions/src/functions
storage-reverse-image-se...functions/src/functions
37:62 
37:62 
view
16 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
322:341 
301:320 
view
16 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
66:85 
56:75 
view
15 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
232:248 
210:226 
view
15 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
343:361 
322:340 
view
15 x 2 firestore-palm-chatbot/functions/src
firestore-genai-chatbot/functions/src
126:143 
60:77 
view
13 x 2 firestore-multimodal-gen...s/src/generative-client
firestore-genai-chatbot/...s/src/generative-client
71:85 
54:68 
view
12 x 5 firestore-multimodal-genai/functions/src
firestore-palm-summarize-text/functions/src
firestore-palm-chatbot/functions/src
firestore-palm-gen-text/functions/src
firestore-genai-chatbot/functions/src
41:55 
15:29 
15:29 
40:54 
15:29 
view
12 x 2 firestore-palm-summarize-text/functions/src
firestore-palm-gen-text/functions/src
35:48 
40:53 
view
9 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
148:159 
126:137 
view
9 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
286:298 
265:277 
view
9 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
87:103 
77:93 
view
7 x 2 firestore-multimodal-gen...s/src/generative-client
firestore-genai-chatbot/...s/src/generative-client
87:95 
70:78 
view
6 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
363:370 
342:350 
view
6 x 2 firestore-semantic-search/functions/src/common
storage-reverse-image-search/functions/src/common
136:143 
122:129 
view
6 x 2 firestore-multimodal-gen...s/src/generative-client
firestore-genai-chatbot/...s/src/generative-client
48:55 
45:52 
view
6 x 2 firestore-palm-summarize-text/functions/src
firestore-palm-gen-text/functions/src
99:109 
189:199 
view