Repository Analysis

higress-group/higress

🤖 AI Gateway | AI Native API Gateway

3.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of higress-group/higress, a Go project with 8,853 GitHub stars. SynthScan v2.0 examined 454,566 lines of code across 1810 source files, recording 1192 pattern matches distributed across 17 syntactic categories. The overall adjusted score of 3.0 places this repository in the Likely human-written 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).

3.0
Adjusted Score
3.0
Raw Score
100%
Time Factor
2026-07-14
Last Push
8.9K
Stars
Go
Language
454.6K
Lines of Code
1.8K
Files
1.2K
Pattern Hits
2026-07-14
Scan Date
0.01
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 14MEDIUM 48LOW 1130

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 1192 distinct pattern matches across 17 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 Block971 hits · 921 pts
SeverityFileLineSnippetContext
LOWget_helm.sh1#!/usr/bin/env bashCOMMENT
LOWcmd/higress/main.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/hack/create-cluster.sh1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/hack/gobuild.sh1#!/bin/bashCOMMENT
LOWtools/hack/kind-load-image.sh1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/hack/build-istio-pilot.sh1#!/usr/bin/env bashCOMMENT
LOWtools/hack/docker-pull-image.sh1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/hack/report_build_info.sh1#!/bin/bashCOMMENT
LOWtools/hack/build-wasm-plugins.sh1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/hack/run.sh1#!/bin/bashCOMMENT
LOWtools/hack/build-golang-filters.sh1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/hack/check-golang-filter-envoy-sync.sh1#!/usr/bin/env bashCOMMENT
LOWtools/hack/build-envoy.sh1#!/usr/bin/env bashCOMMENT
LOWtools/hack/setup_env.sh1#!/bin/bashCOMMENT
LOWtools/hack/build-istio-image.sh1#!/usr/bin/env bashCOMMENT
LOWtools/hack/get-hgctl.sh1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/hack/setup-istio-env.sh1#!/usr/bin/env bashCOMMENT
LOWtools/src/kind/pin.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/src/golangci-lint/pin.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/src/kustomize/pin.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/src/controller-gen/pin.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/src/setup-envtest/pin.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtools/src/kind-gateway-api/pin.go1// Copyright (c) 2026 Alibaba Group Holding Ltd.COMMENT
LOWdocker/docker-copy.sh1#!/bin/bashCOMMENT
LOWtest/e2e/e2e_test.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/embed.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…e/conformance/tests/httproute-exact-domain-fallback.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-bot-detect.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-timeout.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…ts/httproute-canary-header-with-customized-header.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-ai-cache.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-dns-registry.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-opa.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…onformance/tests/go-wasm-jwt-auth-single-consumer.yaml1# Copyright (c) 2024 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-basic-auth.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…2e/conformance/tests/httproute-match-query-params.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-jwt-auth-deny.yaml1# Copyright (c) 2024 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/cpp-wasm-key-auth.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-consul-httpbin.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…/e2e/conformance/tests/go-wasm-reroute-match-rule.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…t/e2e/conformance/tests/httproute-full-path-regex.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-default-backend.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-match-path.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.go1// Copyright (c) 2025 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-opa.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/configmap-global.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-match-headers.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-request-block.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-key-auth.go1// Copyright (c) 2023 Alibaba Group Holding Ltd.COMMENT
LOW…/conformance/tests/httproute-whitelist-source-range.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-basic-auth.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…t/e2e/conformance/tests/httproute-default-backend.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-dns-registry.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/httproute-canary-weight.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-request-block.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…/conformance/tests/httproute-request-header-control.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…/e2e/conformance/tests/httproute-redirct-as-https.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOWtest/e2e/conformance/tests/go-wasm-geo-ip.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…e2e/conformance/tests/go-wasm-basic-auth-template.yaml1# Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
LOW…t/e2e/conformance/tests/httproute-temporal-redirect.go1// Copyright (c) 2022 Alibaba Group Holding Ltd.COMMENT
911 more matches not shown…
Structural Annotation Overuse57 hits · 118 pts
SeverityFileLineSnippetContext
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2024 // Step 1: Mock SSE channel response headers (GET request response)COMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2033 // Step 2: Send SSE endpoint messageCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2043 // Step 3: Mock initialize response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2050 // Step 4: Send SSE initialize response in the streamCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2059 // Step 5: Mock notification response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2067 // Step 6: Mock tools/list response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2074 // Step 7: Send SSE tools/list response in the streamCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2148 // Step 1: Mock SSE channel response headersCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2156 // Step 2: Send SSE endpoint messageCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2163 // Step 3: Mock initialize response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2170 // Step 4: Send SSE initialize response in the streamCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2177 // Step 5: Mock notification response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2184 // Step 6: Mock tools/call response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2191 // Step 7: Send SSE tools/call response in the streamCOMMENT
LOWplugins/wasm-go/extensions/oidc/README.md113#### Step 1: 配置 Auth0 账户COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md120#### Step 2: Higress 配置服务来源COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md126#### Step 3: OIDC 服务 HTTPS 配置COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md152#### Step 4: Wasm 插件配置COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md202#### Step 1: Get started with keycloak on dockerCOMMENT
LOWplugins/wasm-go/extensions/oidc/README.md208#### Step 2: Higress 配置服务来源COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md214#### Step 3: Wasm 插件配置COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md259#### Step 1: 配置 Aliyun OAuth应用COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md263#### Step 2: Higress 配置服务来源COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md269#### Step 3: Wasm 插件配置COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md302#### Step 1: 配置 Github OAuth应用COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md306#### Step 2: Higress 配置服务来源COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md313#### Step 3: OIDC 服务 HTTPS 配置COMMENT
LOWplugins/wasm-go/extensions/oidc/README.md317#### Step 4: Wasm 插件配置COMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md101#### Step 1: Configure Auth0 AccountCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md106#### Step 2: Higress Configure Service SourceCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md110#### Step 3: OIDC Service HTTPS ConfigurationCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md135#### Step 4: Wasm Plugin ConfigurationCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md178#### Step 1: Get Started with Keycloak on DockerCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md182#### Step 2: Higress Configure Service SourceCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md186#### Step 3: Wasm Plugin ConfigurationCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md225#### Step 1: Configure Aliyun OAuth ApplicationCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md228#### Step 2: Higress Configure Service SourceCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md232#### Step 3: Wasm Plugin ConfigurationCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md260#### Step 1: Configure Github OAuth AppCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md264#### Step 2: Higress Configure Service SourceCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md271#### Step 3: OIDC Service HTTPS ProtocolCOMMENT
LOWplugins/wasm-go/extensions/oidc/README_EN.md274#### Step 4: Wasm Plugin ConfigurationCOMMENT
LOWplugins/wasm-go/pkg/mcp/server/proxy_tool.go119 // Step 1: Send initialize requestCOMMENT
LOWplugins/wasm-go/pkg/mcp/server/proxy_tool.go200 // Step 2: Send notifications/initializedCOMMENT
LOW.claude/skills/higress-openclaw-integration/SKILL.md12### Step 1: Collect Information from UserCOMMENT
LOW.claude/skills/higress-openclaw-integration/SKILL.md64### Step 2: Deploy GatewayCOMMENT
LOW.claude/skills/higress-openclaw-integration/SKILL.md126### Step 3: Install OpenClaw PluginCOMMENT
LOW.claude/skills/higress-openclaw-integration/SKILL.md142# Step 1: Enable the pluginCOMMENT
LOW.claude/skills/higress-openclaw-integration/SKILL.md145# Step 2: Configure provider (interactive - will prompt for Gateway URL, API Key, models, etc.)COMMENT
LOW.claude/skills/higress-openclaw-integration/SKILL.md148# Step 3: Restart OpenClaw gateway to apply changesCOMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts149 // Step 1: Get Gateway URLCOMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts157 // Step 2: Get Console URL (for auto-router configuration)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts165 // Step 3: Test connection (create a new spinner)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts181 // Step 4: Get API Key (optional for local gateway)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts188 // Step 5: Fetch available models (create a new spinner)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts196 // Step 6: Let user customize model listCOMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts213 // Step 7: Configure default model for auto-routingCOMMENT
Magic Placeholder Names12 hits · 60 pts
SeverityFileLineSnippetContext
HIGHplugins/wasm-go/extensions/ai-image-reader/README.md35"apiKey": "YOUR_API_KEY",CODE
HIGHplugins/wasm-go/extensions/ai-image-reader/README_EN.md31"apiKey": "YOUR_API_KEY",CODE
HIGHplugins/wasm-go/extensions/ai-proxy/README.md2113 - "YOUR_API_KEY"CODE
HIGHplugins/wasm-go/extensions/ai-proxy/README.md2235 - "YOUR_API_KEY"CODE
HIGHplugins/wasm-go/extensions/ai-proxy/README_EN.md1894 - "YOUR_API_KEY"CODE
HIGHplugins/wasm-go/extensions/ai-proxy/README_EN.md2011 - "YOUR_API_KEY"CODE
HIGHplugins/wasm-go/mcp-servers/README.md201 apiKey: your-api-key-hereCODE
HIGHplugins/wasm-go/mcp-servers/README.md313 apiKey: your-api-key-hereCODE
HIGHplugins/wasm-go/mcp-servers/README.md400 apiKey: your-api-key-hereCODE
HIGHplugins/wasm-go/pkg/mcp/validator/example_usage.go29 "apiKey": "your-api-key"CODE
HIGHplugins/wasm-go/pkg/mcp/validator/example_usage.go185 apiKey: your-api-keyCODE
HIGHplugins/wasm-go/pkg/mcp/validator/README.md67 apiKey: your-api-keyCODE
Modern AI Meta-Vocabulary17 hits · 49 pts
SeverityFileLineSnippetContext
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md49### 进阶配置(启用 RAG 知识库)COMMENT
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md160# 正常启用 RAGCOMMENT
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md165# RAG 未启用COMMENT
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md194### 查询知识库(需启用 RAG)COMMENT
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md220│ ├── rag.json.example # RAG 配置示例CODE
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md221│ └── rag.json # RAG 配置(需自行创建)CODE
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md231│ └── rag_integration.go # RAG 知识库集成CODE
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md241│ ├── rag/ # RAG 功能实现CODE
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md242│ │ ├── config.go # RAG 配置结构CODE
MEDIUM…r/mcp-server/servers/higress/nginx-migration/README.md244│ │ └── manager.go # RAG 管理器(查询、缓存)CODE
MEDIUMplugins/golang-filter/mcp-server/servers/rag/README.md1# Higress RAG MCP ServerCOMMENT
MEDIUMplugins/golang-filter/mcp-server/servers/rag/README.md822### 3. Higress RAG mcp server config 配置COMMENT
MEDIUMplugins/golang-filter/mcp-server/servers/rag/README.md919### 5. Higress RAG MCP 插件和 CherryStudio 集成COMMENT
MEDIUMplugins/wasm-go/extensions/ai-search/README_EN.md90Currently, document vectorization relies on Elasticsearch's embedding model, which requires an Elasticsearch Enterprise CODE
MEDIUM…-higress-migration/scripts/generate-plugin-scaffold.sh2# Generate WASM plugin scaffold for nginx snippet migrationCOMMENT
MEDIUMhgctl/pkg/agent/README.md659# 选择 "Improve and test it using agentic core"COMMENT
MEDIUMrelease-notes/2.1.8/README.md20- **feat: add rag mcp server** ([#2930](https://github.com/alibaba/higress/pull/2930)): By introducing the RAG MCP serveCODE
Verbosity Indicators24 hits · 46 pts
SeverityFileLineSnippetContext
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2024 // Step 1: Mock SSE channel response headers (GET request response)COMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2033 // Step 2: Send SSE endpoint messageCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2043 // Step 3: Mock initialize response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2050 // Step 4: Send SSE initialize response in the streamCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2059 // Step 5: Mock notification response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2067 // Step 6: Mock tools/list response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2074 // Step 7: Send SSE tools/list response in the streamCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2148 // Step 1: Mock SSE channel response headersCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2156 // Step 2: Send SSE endpoint messageCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2163 // Step 3: Mock initialize response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2170 // Step 4: Send SSE initialize response in the streamCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2177 // Step 5: Mock notification response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2184 // Step 6: Mock tools/call response via RouteCluster callbackCOMMENT
LOWplugins/wasm-go/extensions/mcp-server/main_test.go2191 // Step 7: Send SSE tools/call response in the streamCOMMENT
LOWplugins/wasm-go/extensions/ai-search/main.go302 // When defaultEnable is false, we need to check if web_search_options exists in the requestCOMMENT
LOWplugins/wasm-go/pkg/mcp/server/proxy_tool.go119 // Step 1: Send initialize requestCOMMENT
LOWplugins/wasm-go/pkg/mcp/server/proxy_tool.go200 // Step 2: Send notifications/initializedCOMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts149 // Step 1: Get Gateway URLCOMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts157 // Step 2: Get Console URL (for auto-router configuration)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts165 // Step 3: Test connection (create a new spinner)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts181 // Step 4: Get API Key (optional for local gateway)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts188 // Step 5: Fetch available models (create a new spinner)COMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts196 // Step 6: Let user customize model listCOMMENT
LOW…s/higress-openclaw-integration/scripts/plugin/index.ts213 // Step 7: Configure default model for auto-routingCOMMENT
Excessive Try-Catch Wrapping32 hits · 42 pts
SeverityFileLineSnippetContext
LOWplugins/golang-filter/mcp-server/servers/rag/README.md477 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md510 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md536 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md568 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md605 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md643 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md670 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md693 except Exception as e:CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md719 except Exception as e:CODE
LOW…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py12 except Exception as e:CODE
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py13 print(f"Error reading YAML file: {e}")CODE
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py54 print("Error: Unexpected API response format")STRING
LOW…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py56 except Exception as e:STRING
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py57 print(f"Error calling OpenAI API: {e}")STRING
LOW…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py65 except Exception as e:CODE
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py66 print(f"Error saving Markdown file: {e}")CODE
LOW…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py12 except Exception as e:CODE
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py13 print(f"Error reading file: {e}")CODE
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py52 print("Error: Unexpected API response format")STRING
LOW…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py54 except Exception as e:STRING
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py55 print(f"Error calling OpenAI API: {e}")STRING
LOW…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py63 except Exception as e:CODE
MEDIUM…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py64 print(f"Error saving Markdown file: {e}")CODE
LOW.claude/skills/agent-session-monitor/main.py111 except Exception as e:CODE
LOW.claude/skills/agent-session-monitor/main.py298 except Exception as e:CODE
LOW.claude/skills/agent-session-monitor/main.py308 except Exception as e:CODE
LOW.claude/skills/agent-session-monitor/main.py414 except Exception as e:CODE
LOW…aude/skills/agent-session-monitor/scripts/webserver.py175 except Exception as e:CODE
LOW.claude/skills/agent-session-monitor/scripts/cli.py103 except Exception as e:CODE
LOW.claude/skills/agent-session-monitor/scripts/cli.py592 except Exception as e:STRING
LOW.github/workflows/translate-readme.yaml80 except Exception as e:CODE
MEDIUM.github/workflows/translate-readme.yaml81 print("Error parsing chunk:", e)CODE
Decorative Section Separators12 hits · 39 pts
SeverityFileLineSnippetContext
MEDIUM.claude/skills/agent-session-monitor/main.py20# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py22# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py84# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py86# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py280# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py282# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py418# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py420# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py517# ============================================================================COMMENT
MEDIUM.claude/skills/agent-session-monitor/main.py519# ============================================================================COMMENT
MEDIUM…o-higress-migration/scripts/generate-migration-test.sh172# ================================================COMMENT
MEDIUM…o-higress-migration/scripts/generate-migration-test.sh174# ================================================COMMENT
Fake / Example Data30 hits · 38 pts
SeverityFileLineSnippetContext
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml407 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml417 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml427 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml437 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml447 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml456 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml466 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml476 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml535 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml545 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml555 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml565 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml575 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml585 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml595 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml487 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml500 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml510 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml523 - fake_tokenCODE
LOWtest/e2e/conformance/tests/go-wasm-ai-proxy.yaml606 - fake_tokenCODE
LOWplugins/wasm-cpp/extensions/jwt_auth/README.md339 "name": "John Doe"CODE
LOWplugins/wasm-cpp/extensions/jwt_auth/README_EN.md293 "name": "John Doe"CODE
LOW…ins/wasm-go/extensions/request-validation/main_test.go305 validBody := `{"name": "John Doe", "age": 30}`CODE
LOW…ins/wasm-go/extensions/request-validation/main_test.go361 invalidBody := `{"name": "John Doe", "age": -5}`CODE
LOW…ins/wasm-go/extensions/ai-prompt-template/main_test.go261 "recipient": "John Doe",CODE
LOWplugins/wasm-go/extensions/ai-proxy/provider/azure.go184 defaultModel := "placeholder"CODE
LOWplugins/wasm-go/extensions/log-request-response/main.go228 "placeholder": value,CODE
LOWplugins/wasm-go/extensions/log-request-response/main.go235 marshalledRaw := gjson.GetBytes(marshalledHelper, "placeholder").RawCODE
LOWplugins/wasm-go/extensions/simple-jwt-auth/main_test.go33 claims["name"] = "John Doe"CODE
LOWpkg/ingress/kube/secret/controller_test.go39 secretFakeKey = "fake-key"CODE
Self-Referential Comments7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMtools/hack/setup_env.sh139# This function is designed for maximum compatibility with various platforms. This runs onCOMMENT
MEDIUMtest/e2e/conformance/base/nacos.yaml15# This file contains the base resources that most conformance tests will relyCOMMENT
MEDIUMtest/e2e/conformance/base/eureka.yaml15# This file contains the base resources that most conformance tests will relyCOMMENT
MEDIUMtest/e2e/conformance/base/manifests.yaml15# This file contains the base resources that most conformance tests will relyCOMMENT
MEDIUMtest/e2e/conformance/base/dubbo.yaml15# This file contains the base resources that most conformance tests will relyCOMMENT
MEDIUMtest/e2e/conformance/base/consul.yaml15# This file contains the base resources that most conformance tests will relyCOMMENT
MEDIUM…m-go/mcp-servers/mcp-scripts/create_api_directories.sh26# Define the API data with English translationsCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH.claude/skills/nginx-to-higress-migration/README.md287// Auto-generated by AI agentCOMMENT
HIGH.claude/skills/nginx-to-higress-migration/README.md482### Q: Can I customize the AI-generated plugin code?COMMENT
Unused Imports10 hits · 10 pts
SeverityFileLineSnippetContext
LOWplugins/wasm-go/extensions/waf/local/app.py1CODE
LOW…ns/wasm-go/mcp-servers/mcp-scripts/yaml_to_markdown.py2CODE
LOW…ns/wasm-go/mcp-servers/mcp-scripts/translate_readme.py2CODE
LOW.claude/skills/agent-session-monitor/main.py9CODE
LOW.claude/skills/agent-session-monitor/main.py13CODE
LOW…aude/skills/agent-session-monitor/scripts/webserver.py14CODE
LOW…aude/skills/agent-session-monitor/scripts/webserver.py14CODE
LOW…aude/skills/agent-session-monitor/scripts/webserver.py15CODE
LOW…aude/skills/agent-session-monitor/scripts/webserver.py21CODE
LOW.claude/skills/agent-session-monitor/scripts/cli.py18CODE
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOW…m-go/mcp-servers/mcp-scripts/create_api_directories.sh46 # Check if any API codes were foundCOMMENT
LOW…/higress-openclaw-integration/scripts/detect-region.sh7# Check if timezone indicates China region (including Hong Kong)COMMENT
LOW…/nginx-to-higress-migration/scripts/analyze-ingress.sh147 # Check if supportedCOMMENT
LOW…/nginx-to-higress-migration/scripts/analyze-ingress.sh156 # Check if explicitly unsupportedCOMMENT
LOWhelm/core/values.yaml29 # Set this to false when reusing an existing IngressClass, for example during Nginx Ingress migration.COMMENT
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOW.claude/skills/agent-session-monitor/main.py100CODE
LOW.claude/skills/agent-session-monitor/main.py368CODE
LOW…aude/skills/agent-session-monitor/scripts/webserver.py37CODE
LOW.claude/skills/agent-session-monitor/scripts/cli.py475CODE
LOW.claude/skills/agent-session-monitor/scripts/cli.py107CODE
LOW.claude/skills/agent-session-monitor/scripts/cli.py414CODE
Slop Phrases2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUMplugins/wasm-rust/extensions/ai-intent/src/lib.rs463 (0, r#" I apologize, but as a responsible AI language model, I cannot provide a response that categorizes a CODE
MEDIUMplugins/wasm-rust/extensions/ai-intent/src/lib.rs464 (0, r#" I'm so sorry, but as a responsible AI language model, I must intervene to address an important conceCODE
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMplugins/wasm-go/extensions/ai-proxy/provider/bedrock.go1160 // This is more robust for models that are strict about explicit ttl fields.COMMENT
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOWplugins/wasm-go/extensions/ip-restriction/utils_test.go64 // TODO: Add test cases.COMMENT
LOWpkg/ingress/kube/gateway/controller.go162 // TODO: implementCOMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOWplugins/wasm-assemblyscript/assembly/plugin_wrapper.ts141function getCurrentTimeMilliseconds(): u64 {CODE
LOWplugins/golang-filter/mcp-server/servers/rag/README.md674 def similarity_search_with_score(self, query: str, k: int = 5) -> List[tuple]:CODE