Repository Analysis

GoogleCloudPlatform/microservices-demo

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

7.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of GoogleCloudPlatform/microservices-demo, a Go project with 20,565 GitHub stars. SynthScan v2.0 examined 49,479 lines of code across 260 source files, recording 288 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 7.5 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

7.5
Adjusted Score
7.5
Raw Score
100%
Time Factor
2026-07-13
Last Push
20.6K
Stars
Go
Language
49.5K
Lines of Code
260
Files
288
Pattern Hits
2026-07-14
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 0MEDIUM 39LOW 249

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 288 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Over-Commented Block211 hits · 211 pts
SeverityFileLineSnippetContext
LOWcloudbuild.yaml1# Copyright 2020 Google LLCCOMMENT
LOWskaffold.yaml1# Copyright 2021 Google LLCCOMMENT
LOWskaffold.yaml61# "gcb" profile allows building and pushing the imagesCOMMENT
LOWterraform/output.tf1# Copyright 2022 Google LLCCOMMENT
LOWterraform/main.tf1# Copyright 2022 Google LLCCOMMENT
LOWterraform/providers.tf1# Copyright 2022 Google LLCCOMMENT
LOWterraform/memorystore.tf1# Copyright 2022 Google LLCCOMMENT
LOWterraform/variables.tf1# Copyright 2022 Google LLCCOMMENT
LOWistio-manifests/frontend-gateway.yaml1# Copyright 2018 Google LLCCOMMENT
LOWistio-manifests/allow-egress-googleapis.yaml1# Copyright 2018 Google LLCCOMMENT
LOWistio-manifests/frontend.yaml1# Copyright 2018 Google LLCCOMMENT
LOW.deploystack/test.yaml1# Copyright 2021 Google LLCCOMMENT
LOW.deploystack/scripts/preinit.sh1# Copyright 2022 Google LLCCOMMENT
LOWkubernetes-manifests/emailservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/checkoutservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/recommendationservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/kustomization.yaml1# Copyright 2022 Google LLCCOMMENT
LOWkubernetes-manifests/kustomization.yaml21 - currencyservice.yamlCOMMENT
LOWkubernetes-manifests/frontend.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/frontend.yaml81 - name: AD_SERVICE_ADDRCOMMENT
LOWkubernetes-manifests/paymentservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/productcatalogservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/cartservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/loadgenerator.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/currencyservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/shippingservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWkubernetes-manifests/adservice.yaml1# Copyright 2018 Google LLCCOMMENT
LOWrelease/istio-manifests.yaml1# Copyright 2025 Google LLCCOMMENT
LOWrelease/kubernetes-manifests.yaml1# Copyright 2025 Google LLCCOMMENT
LOWdocs/releasing/make-release.sh1#!/usr/bin/env bashCOMMENT
LOWdocs/releasing/make-release-artifacts.sh1#!/usr/bin/env bashCOMMENT
LOWdocs/releasing/make-docker-images.sh1#!/usr/bin/env bashCOMMENT
LOWdocs/releasing/make-helm-chart.sh1#!/usr/bin/env bashCOMMENT
LOWdocs/releasing/license_header.txt1# Copyright 2025 Google LLCCOMMENT
LOWhelm-chart/Chart.yaml1# Copyright 2023 Google LLCCOMMENT
LOWhelm-chart/Chart.yaml21# Application charts are a collection of templates that can be packaged into versioned archivesCOMMENT
LOWhelm-chart/values.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/opentelemetry-collector.yaml1# Copyright 2022 Google LLCCOMMENT
LOWhelm-chart/templates/emailservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/checkoutservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/recommendationservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/common.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/frontend.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/paymentservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/productcatalogservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/cartservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/loadgenerator.yaml1# Copyright 2022 Google LLCCOMMENT
LOWhelm-chart/templates/currencyservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/shippingservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOWhelm-chart/templates/adservice.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.github/header-checker-lint.yml1# Copyright 2023 Google LLCCOMMENT
LOW.github/snippet-bot.yml1COMMENT
LOW.github/auto-approve.yml1# Copyright 2023 Google LLCCOMMENT
LOW.github/release-cluster/backend-config.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.github/release-cluster/frontend-config.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.github/release-cluster/managed-cert.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.github/release-cluster/frontend-ingress.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.github/release-cluster/frontend-service.yaml1# Copyright 2024 Google LLCCOMMENT
LOW.github/workflows/terraform-validate-ci.yaml1# Copyright 2020 Google LLCCOMMENT
LOW.github/workflows/helm-chart-ci.yaml1# Copyright 2022 Google LLCCOMMENT
151 more matches not shown…
Self-Referential Comments23 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUMterraform/memorystore.tf15# Create the Memorystore (redis) instanceCOMMENT
MEDIUMhelm-chart/templates/opentelemetry-collector.yaml111 # Create a volume to store the expanded template (with correct cloud project ID)COMMENT
MEDIUM…components/google-cloud-operations/otel-collector.yaml83 # Create a volume to store the expanded template (with correct cloud project ID)COMMENT
MEDIUM…c/shoppingassistantservice/shoppingassistantservice.py51# Create a synchronous connection to our vectorstoreCOMMENT
MEDIUM…c/shoppingassistantservice/shoppingassistantservice.py118 # Create an instance of flask server when called directlyCOMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py99 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py200 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py299 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py416 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py516 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py600 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py667 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py734 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/emailservice/demo_pb2_grpc.py801 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py99 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py200 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py299 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py416 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py516 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py600 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py667 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py734 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMsrc/recommendationservice/demo_pb2_grpc.py801 # This class is part of an EXPERIMENTAL API.COMMENT
Modern AI Meta-Vocabulary9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMkubernetes-manifests/frontend.yaml97 # As part of an optional Google Cloud demo, you can run an optional microservice called the "packaging serviceCOMMENT
MEDIUMrelease/kubernetes-manifests.yaml103 # As part of an optional Google Cloud demo, you can run an optional microservice called the "packaging serviceCOMMENT
MEDIUMdocs/development-guide.md122## Adding a new microserviceCOMMENT
MEDIUMdocs/adding-new-microservice.md1# Adding a new microserviceCOMMENT
MEDIUMdocs/releasing/make-docker-images.sh17# Builds and pushes docker image for each demo microservice.COMMENT
MEDIUMhelm-chart/templates/opentelemetry-collector.yaml87 # This gateway container will receive traces and metrics from each microserviceCOMMENT
MEDIUM…components/google-cloud-operations/otel-collector.yaml59 # This gateway container will receive traces and metrics from each microserviceCOMMENT
MEDIUMkustomize/components/shopping-assistant/README.md1# Shopping Assistant with RAG & AlloyDBCOMMENT
MEDIUMkustomize/base/frontend.yaml97 # As part of an optional Google Cloud demo, you can run an optional microservice called the "packaging serviceCOMMENT
Decorative Section Separators6 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUMrelease/istio-manifests.yaml15# ----------------------------------------------------------COMMENT
MEDIUMrelease/istio-manifests.yaml17# ----------------------------------------------------------COMMENT
MEDIUMrelease/kubernetes-manifests.yaml15# ----------------------------------------------------------COMMENT
MEDIUMrelease/kubernetes-manifests.yaml17# ----------------------------------------------------------COMMENT
MEDIUMdocs/releasing/make-release-artifacts.sh38# ----------------------------------------------------------COMMENT
MEDIUMdocs/releasing/make-release-artifacts.sh40# ----------------------------------------------------------COMMENT
AI Structural Patterns31 hits · 26 pts
SeverityFileLineSnippetContext
LOW…c/shoppingassistantservice/shoppingassistantservice.py113CODE
LOWsrc/emailservice/demo_pb2_grpc.py106CODE
LOWsrc/emailservice/demo_pb2_grpc.py123CODE
LOWsrc/emailservice/demo_pb2_grpc.py140CODE
LOWsrc/emailservice/demo_pb2_grpc.py207CODE
LOWsrc/emailservice/demo_pb2_grpc.py306CODE
LOWsrc/emailservice/demo_pb2_grpc.py323CODE
LOWsrc/emailservice/demo_pb2_grpc.py340CODE
LOWsrc/emailservice/demo_pb2_grpc.py423CODE
LOWsrc/emailservice/demo_pb2_grpc.py440CODE
LOWsrc/emailservice/demo_pb2_grpc.py523CODE
LOWsrc/emailservice/demo_pb2_grpc.py540CODE
LOWsrc/emailservice/demo_pb2_grpc.py607CODE
LOWsrc/emailservice/demo_pb2_grpc.py674CODE
LOWsrc/emailservice/demo_pb2_grpc.py741CODE
LOWsrc/emailservice/demo_pb2_grpc.py808CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py106CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py123CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py140CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py207CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py306CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py323CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py340CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py423CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py440CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py523CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py540CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py607CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py674CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py741CODE
LOWsrc/recommendationservice/demo_pb2_grpc.py808CODE
Structural Annotation Overuse3 hits · 7 pts
SeverityFileLineSnippetContext
LOWrelease/istio-manifests.yaml16# WARNING: This file is autogenerated. Do not manually edit.COMMENT
LOWrelease/kubernetes-manifests.yaml16# WARNING: This file is autogenerated. Do not manually edit.COMMENT
LOWdocs/releasing/make-release-artifacts.sh39# WARNING: This file is autogenerated. Do not manually edit.COMMENT
Excessive Try-Catch Wrapping2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/emailservice/email_server.py197 except Exception as e:CODE
LOWsrc/recommendationservice/recommendation_server.py127 except Exception as e:CODE
Unused Imports2 hits · 2 pts
SeverityFileLineSnippetContext
LOWsrc/emailservice/email_server.py18CODE
LOWsrc/emailservice/email_server.py20CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMsrc/emailservice/email_server.py64CODE