GoogleCloudPlatform / apigee-samples
Duplication

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

Intro
Learn more...
Duplication Overall
system39% (2,784 lines)
dependency graphs: 2D graph | 3D graph | 3D graph (with duplicates)...
Duplication per Extension
ipynb51% (1,134 lines)
xml31% (1,115 lines)
yaml50% (397 lines)
js61% (138 lines)
Duplication per Component (primary)
llm-security53% (430 lines)
llm-vertexai-agent48% (389 lines)
llm-routing40% (289 lines)
llm-function-calling64% (257 lines)
llm-logging41% (198 lines)
llm-circuit-breaking40% (184 lines)
llm-token-limits39% (162 lines)
data-deidentification45% (110 lines)
llm-semantic-cache22% (64 lines)
publish-to-apigee-portal72% (64 lines)
integrated-developer-portal76% (58 lines)
drupal-developer-portal76% (58 lines)
cloud-functions48% (53 lines)
deploy-apigee-proxy89% (42 lines)
mtls-northbound41% (42 lines)
apiproduct-operations17% (41 lines)
oauth-client-credentials-with-scope53% (39 lines)
cloud-run45% (36 lines)
oauth-client-credentials64% (33 lines)
deploy-apigee-config78% (26 lines)
cloud-logging40% (23 lines)
deploy-apigee-sharedflow38% (21 lines)
monolith-to-microservices-based-on-paths12% (18 lines)
json-web-tokens7% (16 lines)
grpc34% (16 lines)
websockets37% (16 lines)
grpc-web4% (16 lines)
cors35% (16 lines)
threat-protection32% (16 lines)
composite-api15% (12 lines)
authorize-idp-access-tokens20% (11 lines)
extract-variables11% (10 lines)
basic-caching11% (10 lines)
basic-quota12% (8 lines)
tools0% (0 lines)
property-set0% (0 lines)

Duplication Between Components (50+ lines)

G llm-function-calling llm-function-calling llm-vertexai-agent llm-vertexai-agent llm-function-calling--llm-vertexai-agent 462 llm-routing llm-routing llm-routing--llm-vertexai-agent 127 llm-security llm-security llm-routing--llm-security 447 llm-token-limits llm-token-limits llm-routing--llm-token-limits 120 llm-security--llm-vertexai-agent 127 llm-security--llm-token-limits 90 llm-circuit-breaking llm-circuit-breaking llm-circuit-breaking--llm-routing 108 llm-circuit-breaking--llm-security 138 llm-logging llm-logging llm-circuit-breaking--llm-logging 277 llm-circuit-breaking--llm-token-limits 212 llm-logging--llm-routing 114 llm-logging--llm-security 217 llm-logging--llm-token-limits 230 drupal-developer-portal drupal-developer-portal integrated-developer-portal integrated-developer-portal drupal-developer-portal--integrated-developer-portal 116 deploy-apigee-proxy deploy-apigee-proxy publish-to-apigee-portal publish-to-apigee-portal deploy-apigee-proxy--publish-to-apigee-portal 75 oauth-client-credentials-with-scope oauth-client-credentials-with-scope oauth-client-credentials oauth-client-credentials oauth-client-credentials-with-scope--oauth-client-credentials 72 cloud-run cloud-run cloud-run--deploy-apigee-proxy 72 cloud-run--publish-to-apigee-portal 72 cloud-functions cloud-functions data-deidentification data-deidentification cloud-functions--data-deidentification 68 deploy-apigee-config deploy-apigee-config deploy-apigee-config--publish-to-apigee-portal 64 apiproduct-operations apiproduct-operations apiproduct-operations--cloud-functions 64 apiproduct-operations--data-deidentification 56

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 463 duplicates...
Size#FoldersFilesLinesCode
69 x 2 llm-function-calling/apiproxy/resources/jsc
llm-vertexai-agent/apiproxy/resources/jsc
17:101 (100%)
17:101 (100%)
view
39 x 2 llm-function-calling
llm-vertexai-agent
69:107 (14%)
81:119 (7%)
view
39 x 2 llm-vertexai-agent
llm-vertexai-agent
248:286 (7%)
302:340 (7%)
view
39 x 2 llm-vertexai-agent/apiproxy/resources/oas
llm-vertexai-agent/apiproxy/resources/oas
39:77 (24%)
93:131 (24%)
view
30 x 2 llm-function-calling/apiproxy/proxies
llm-vertexai-agent/apiproxy/proxies
1:54 (90%)
1:54 (90%)
view
29 x 2 llm-function-calling
llm-vertexai-agent
238:266 (10%)
482:510 (5%)
view
28 x 2 llm-routing
llm-security
260:287 (9%)
297:324 (8%)
view
28 x 2 llm-routing/apiproxy/resources/oas
llm-security/apiproxy/resources/oas
147:174 (10%)
103:130 (20%)
view
27 x 2 llm-security
llm-security
167:193 (8%)
246:272 (8%)
view
26 x 2 llm-circuit-breaking
llm-token-limits
88:113 (9%)
87:112 (9%)
view
26 x 2 llm-routing
llm-security
96:121 (9%)
93:118 (8%)
view
25 x 2 llm-logging
llm-token-limits
95:119 (10%)
102:126 (8%)
view
21 x 2 deploy-apigee-proxy
deploy-apigee-sharedflow
15:36 (100%)
15:36 (100%)
view
20 x 2 drupal-developer-portal/apiproxy/proxies
integrated-developer-portal/apiproxy/proxies
1:39 (86%)
1:39 (86%)
view
20 x 2 llm-function-calling
llm-vertexai-agent
48:67 (7%)
59:78 (3%)
view
19 x 2 llm-security
llm-security
202:220 (5%)
279:297 (5%)
view
18 x 2 llm-circuit-breaking
llm-token-limits
252:269 (6%)
268:285 (6%)
view
18 x 2 deploy-apigee-config
publish-to-apigee-portal
15:33 (54%)
15:33 (29%)
view
18 x 2 llm-circuit-breaking
llm-logging
252:269 (6%)
226:243 (7%)
view
18 x 2 llm-logging
llm-token-limits
226:243 (7%)
268:285 (6%)
view
18 x 2 llm-security
llm-security
148:165 (5%)
227:244 (5%)
view
18 x 2 llm-routing/apiproxy/resources/oas
llm-routing/apiproxy/resources/oas
100:117 (6%)
122:139 (6%)
view
17 x 2 llm-routing
llm-security
55:71 (5%)
54:70 (5%)
view
17 x 2 llm-routing/apiproxy/targets
llm-security/apiproxy/targets
15:38 (89%)
15:38 (89%)
view
16 x 2 llm-routing
llm-token-limits
98:113 (5%)
104:119 (5%)
view
16 x 2 drupal-developer-portal
integrated-developer-portal
20:35 (64%)
20:35 (64%)
view
16 x 2 grpc/apiproxy/proxies
websockets/apiproxy/proxies
1:37 (76%)
1:37 (80%)
view
16 x 2 llm-routing/apiproxy/resources/oas
llm-vertexai-agent/apiproxy/resources/oas
155:170 (6%)
108:123 (10%)
view
16 x 2 llm-routing/apiproxy/resources/oas
llm-vertexai-agent/apiproxy/resources/oas
155:170 (6%)
54:69 (10%)
view
16 x 2 llm-logging
llm-security
97:112 (6%)
95:110 (4%)
view
16 x 2 llm-security
llm-token-limits
95:110 (4%)
104:119 (5%)
view
16 x 2 llm-security/apiproxy/resources/oas
llm-vertexai-agent/apiproxy/resources/oas
111:126 (11%)
108:123 (10%)
view
16 x 2 llm-security/apiproxy/resources/oas
llm-vertexai-agent/apiproxy/resources/oas
111:126 (11%)
54:69 (10%)
view
16 x 2 llm-logging
llm-routing
97:112 (6%)
98:113 (5%)
view
16 x 2 apiproduct-operations/bu...tions/apiproxy/policies
cloud-functions/bundle/c...igger/apiproxy/policies
1:28 (100%)
1:32 (100%)
view
15 x 2 llm-routing/apiproxy/proxies
llm-security/apiproxy/proxies
1:31 (44%)
1:31 (44%)
view
15 x 2 llm-routing/apiproxy/resources/oas
llm-security/apiproxy/resources/oas
15:30 (5%)
15:30 (10%)
view
14 x 2 llm-logging
llm-token-limits
80:93 (5%)
87:100 (4%)
view
14 x 2 data-deidentification/bundle/apiproxy/policies
data-deidentification/bundle/apiproxy/policies
38:66 (51%)
38:66 (51%)
view
14 x 2 llm-circuit-breaking
llm-logging
88:101 (5%)
80:93 (5%)
view
13 x 2 apiproduct-operations/bu...auth2/apiproxy/policies
cloud-functions/bundle/c...igger/apiproxy/policies
1:26 (100%)
1:30 (100%)
view
12 x 2 llm-circuit-breaking
llm-logging
114:125 (4%)
107:118 (4%)
view
12 x 2 oauth-client-credentials...scope/apiproxy/policies
oauth-client-credentials/apiproxy/policies
1:30 (100%)
1:30 (100%)
view
12 x 2 deploy-apigee-sharedflow
publish-to-apigee-portal
15:27 (57%)
15:27 (19%)
view
12 x 2 deploy-apigee-config
deploy-apigee-proxy
15:27 (36%)
15:27 (57%)
view
12 x 2 llm-circuit-breaking
llm-logging
1:12 (4%)
1:12 (4%)
view
12 x 2 cloud-functions/bundle/c...rigger/apiproxy/proxies
data-deidentification/bundle/apiproxy/proxies
32:51 (35%)
31:50 (17%)
view
12 x 2 llm-circuit-breaking
llm-token-limits
68:79 (4%)
65:76 (4%)
view
12 x 2 deploy-apigee-proxy
publish-to-apigee-portal
15:27 (57%)
15:27 (19%)
view
12 x 2 llm-circuit-breaking
llm-token-limits
1:12 (4%)
1:12 (4%)
view