Repository Analysis

GoogleCloudPlatform/microservices-demo

Sample cloud-first application with 10 microservices showcasing Kubernetes, Istio, and gRPC.

9.4 Low AI signal View on GitHub
9.4
Adjusted Score
9.4
Raw Score
100%
Time Factor
2026-05-25
Last Push
20,373
Stars
Go
Language
48,327
Lines of Code
260
Files
275
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 30MEDIUM 30LOW 215

Pattern Findings

275 matches across 7 categories. Click a row to expand file-level details.

Over-Commented Block211 hits · 211 pts
SeverityFileLineSnippet
LOWcloudbuild.yaml1# Copyright 2020 Google LLC
LOWskaffold.yaml1# Copyright 2021 Google LLC
LOWskaffold.yaml61# "gcb" profile allows building and pushing the images
LOWterraform/output.tf1# Copyright 2022 Google LLC
LOWterraform/main.tf1# Copyright 2022 Google LLC
LOWterraform/providers.tf1# Copyright 2022 Google LLC
LOWterraform/memorystore.tf1# Copyright 2022 Google LLC
LOWterraform/variables.tf1# Copyright 2022 Google LLC
LOWistio-manifests/frontend-gateway.yaml1# Copyright 2018 Google LLC
LOWistio-manifests/allow-egress-googleapis.yaml1# Copyright 2018 Google LLC
LOWistio-manifests/frontend.yaml1# Copyright 2018 Google LLC
LOW.deploystack/test.yaml1# Copyright 2021 Google LLC
LOW.deploystack/scripts/preinit.sh1# Copyright 2022 Google LLC
LOWkubernetes-manifests/emailservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/checkoutservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/recommendationservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/kustomization.yaml1# Copyright 2022 Google LLC
LOWkubernetes-manifests/kustomization.yaml21 - currencyservice.yaml
LOWkubernetes-manifests/frontend.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/frontend.yaml81 - name: AD_SERVICE_ADDR
LOWkubernetes-manifests/paymentservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/productcatalogservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/cartservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/loadgenerator.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/currencyservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/shippingservice.yaml1# Copyright 2018 Google LLC
LOWkubernetes-manifests/adservice.yaml1# Copyright 2018 Google LLC
LOWrelease/istio-manifests.yaml1# Copyright 2025 Google LLC
LOWrelease/kubernetes-manifests.yaml1# Copyright 2025 Google LLC
LOWdocs/releasing/make-release.sh1#!/usr/bin/env bash
LOWdocs/releasing/make-release-artifacts.sh1#!/usr/bin/env bash
LOWdocs/releasing/make-docker-images.sh1#!/usr/bin/env bash
LOWdocs/releasing/make-helm-chart.sh1#!/usr/bin/env bash
LOWdocs/releasing/license_header.txt1# Copyright 2025 Google LLC
LOWhelm-chart/Chart.yaml1# Copyright 2023 Google LLC
LOWhelm-chart/Chart.yaml21# Application charts are a collection of templates that can be packaged into versioned archives
LOWhelm-chart/values.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/opentelemetry-collector.yaml1# Copyright 2022 Google LLC
LOWhelm-chart/templates/emailservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/checkoutservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/recommendationservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/common.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/frontend.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/paymentservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/productcatalogservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/cartservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/loadgenerator.yaml1# Copyright 2022 Google LLC
LOWhelm-chart/templates/currencyservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/shippingservice.yaml1# Copyright 2024 Google LLC
LOWhelm-chart/templates/adservice.yaml1# Copyright 2024 Google LLC
LOW.github/header-checker-lint.yml1# Copyright 2023 Google LLC
LOW.github/snippet-bot.yml1
LOW.github/auto-approve.yml1# Copyright 2023 Google LLC
LOW.github/release-cluster/backend-config.yaml1# Copyright 2024 Google LLC
LOW.github/release-cluster/frontend-config.yaml1# Copyright 2024 Google LLC
LOW.github/release-cluster/managed-cert.yaml1# Copyright 2024 Google LLC
LOW.github/release-cluster/frontend-ingress.yaml1# Copyright 2024 Google LLC
LOW.github/release-cluster/frontend-service.yaml1# Copyright 2024 Google LLC
LOW.github/workflows/terraform-validate-ci.yaml1# Copyright 2020 Google LLC
LOW.github/workflows/helm-chart-ci.yaml1# Copyright 2022 Google LLC
151 more matches not shown…
Cross-File Repetition30 hits · 150 pts
SeverityFileLineSnippet
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/emailservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
HIGHsrc/recommendationservice/demo_pb2_grpc.py0missing associated documentation comment in .proto file.
Self-Referential Comments23 hits · 69 pts
SeverityFileLineSnippet
MEDIUMterraform/memorystore.tf15# Create the Memorystore (redis) instance
MEDIUMhelm-chart/templates/opentelemetry-collector.yaml111 # Create a volume to store the expanded template (with correct cloud project ID)
MEDIUM…components/google-cloud-operations/otel-collector.yaml83 # Create a volume to store the expanded template (with correct cloud project ID)
MEDIUM…c/shoppingassistantservice/shoppingassistantservice.py51# Create a synchronous connection to our vectorstore
MEDIUM…c/shoppingassistantservice/shoppingassistantservice.py118 # Create an instance of flask server when called directly
MEDIUMsrc/emailservice/demo_pb2_grpc.py99 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py200 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py299 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py416 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py516 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py600 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py667 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py734 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/emailservice/demo_pb2_grpc.py801 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py99 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py200 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py299 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py416 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py516 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py600 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py667 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py734 # This class is part of an EXPERIMENTAL API.
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py801 # This class is part of an EXPERIMENTAL API.
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippet
MEDIUMrelease/istio-manifests.yaml15# ----------------------------------------------------------
MEDIUMrelease/istio-manifests.yaml17# ----------------------------------------------------------
MEDIUMrelease/kubernetes-manifests.yaml15# ----------------------------------------------------------
MEDIUMrelease/kubernetes-manifests.yaml17# ----------------------------------------------------------
MEDIUMdocs/releasing/make-release-artifacts.sh38# ----------------------------------------------------------
MEDIUMdocs/releasing/make-release-artifacts.sh40# ----------------------------------------------------------
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippet
LOWsrc/emailservice/email_server.py197 except Exception as e:
LOWsrc/recommendationservice/recommendation_server.py127 except Exception as e:
Unused Imports2 hits · 2 pts
SeverityFileLineSnippet
LOWsrc/emailservice/email_server.py18
LOWsrc/emailservice/email_server.py20
Dead Code1 hit · 2 pts
SeverityFileLineSnippet
MEDIUMsrc/emailservice/email_server.py64