AI Slop Code Risk Monitor

cloudwego/kitex

SlopCodeMonitor badge for cloudwego/kitex Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Go RPC framework with high-performance and strong-extensibility for building micro-services.

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cloudwego/kitex, a Go project with 8,066 GitHub stars. SynthScan examined 136,798 lines of code across 756 source files, recording 196 pattern matches distributed across 6 syntactic categories. The legacy adjusted pattern signal is 1.6 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-21
Last Push
8.1K
Stars
Go
Language
136.8K
Lines of Code
756
Files
196
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

Use each vector to guide manual verification of the underlying findings.

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 7.7/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 196 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

Are imports declared and package/API names verified? 0 finding(s).

Agent Over-Engineering Ratio 0.0/100 · LOW

Are wrappers, guards, and repeated structures necessary? 0 finding(s).

PR Review Velocity Impact 7.0/100 · LOW

Which changes need focused human review? 196 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 0MEDIUM 1LOW 195

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 196 distinct pattern matches across 6 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block153 hits · 153 pts
SeverityFileLineSnippetContext
LOWinternal/test/port.go1// Copyright 2023 CloudWeGo AuthorsCOMMENT
LOWserver/option.go361COMMENT
LOWserver/option.go421// called automatically.COMMENT
LOWserver/service.go241}COMMENT
LOWserver/local_caller.go41// Only non-streaming methods present in ServiceInfo.Methods are supported.COMMENT
LOWserver/local_caller.go61 // wrapper values.COMMENT
LOWserver/genericserver/unknownservice.go21 "errors"COMMENT
LOWserver/genericserver/unknownservice.go41// - For default ping pong traffic (ttheader/framed e.g.): Requests are processed via the UnknownServiceOrMethodHandCOMMENT
LOWscripts/release-hotfix.sh1#!/bin/bashCOMMENT
LOWscripts/release-hotfix.sh21# 1. Prompts for the minor version to create a hotfix for (e.g., v0.14.x)COMMENT
LOWscripts/release.sh1#!/bin/bashCOMMENT
LOWscripts/release.sh21# 1. Validates you're on the main branch and up-to-date with originCOMMENT
LOWscripts/.utils/funcs.sh1#!/bin/bashCOMMENT
LOWscripts/.utils/check_version.sh1#!/bin/bashCOMMENT
LOWscripts/.utils/check_version.sh21#COMMENT
LOWscripts/.utils/check_go_mod.sh1#!/bin/bashCOMMENT
LOWscripts/.utils/check_go_mod.sh21#COMMENT
LOW.github/workflows/claude.yml41 actions: readCOMMENT
LOWclient/option_stream.go61// However, in certain scenarios (e.g., resume-enabled transfers: A → B → C), A may not wish to cancel B and C upon deteCOMMENT
LOWclient/option.go441// WithFallback is used to set the fallback policy for the client.COMMENT
LOWclient/option.go481// WithGRPCWriteBufferSize determines how much data can be batched before doing aCOMMENT
LOWclient/rpctimeout_pool.go121 atomic.AddInt32(&p.size, -1)COMMENT
LOWclient/callopt/options.go181 o.svr.SetTag(key, val)COMMENT
LOWclient/callopt/options.go241 di.WriteString(compressorName)COMMENT
LOWclient/callopt/streamcall/call_options.go61 di.WriteString(d.String())COMMENT
LOWclient/callopt/streamcall/call_options.go81// The remote peer must promptly exit the handler; otherwise, there is a risk of stream leakage!COMMENT
LOWtool/internal_pkg/doc.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/prutal/prutal.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/util/util_test.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/util/util.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/util/dump.go1// Copyright 2023 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/file_tpl.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/hessian2.go1// Copyright 2023 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/hessian2.go221// type CustomizedException struct {COMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/struct_tpl.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/plugin.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/convertor.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/ast.go1// Copyright 2023 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/hessian2_test.go1// Copyright 2024 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/register_tpl.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/thriftgo/patcher.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/protoc/protoc.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/protoc/util.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/pluginmode/protoc/plugin.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/handler.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/server.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/service.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/invoker.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/client.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/templates_test.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/bootstrap.sh.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/build.sh.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/client_v2.go1// Copyright 2025 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/service_v2.go1// Copyright 2025 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/handler.method.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/main.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/tpl/tool_version.go1// Copyright 2022 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/generator/custom_template.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/generator/type.go1// Copyright 2021 CloudWeGo AuthorsCOMMENT
LOWtool/internal_pkg/generator/type.go81 }COMMENT
93 more matches not shown…
TODO Padding30 hits · 44 pts
SeverityFileLineSnippetContext
LOWtool/internal_pkg/generator/generator_test.go66 // TODO: Add test cases.COMMENT
LOWtool/internal_pkg/generator/generator_test.go141 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go50 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go249 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go348 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go381 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go425 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go525 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go646 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go789 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go822 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go856 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go893 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go983 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1103 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1258 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1384 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1489 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1649 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1712 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1713 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1752 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/write_test.go1893 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/read_test.go52 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/read_test.go147 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/read_test.go315 // TODO: Add test cases.COMMENT
LOWpkg/generic/thrift/read_test.go372 // TODO: Add test cases.COMMENT
LOWpkg/generic/descriptor/value_mapping_test.go37 // TODO: Add test cases.COMMENT
LOWpkg/generic/descriptor/value_mapping_test.go74 // TODO: Add test cases.COMMENT
LOWpkg/generic/descriptor/value_mapping_test.go75 // TODO: Add test cases.COMMENT
Slop Phrases6 hits · 9 pts
SeverityFileLineSnippetContext
LOWpkg/retry/policy.go75// DON'T FORGET to update Equals() and DeepCopy() if you add new fieldsCOMMENT
LOWpkg/retry/policy.go100// DON'T FORGET to update Equals() and DeepCopy() if you add new fieldsCOMMENT
LOWpkg/retry/policy.go114// DON'T FORGET to update Equals() and DeepCopy() if you add new fieldsCOMMENT
LOWpkg/retry/policy.go122// DON'T FORGET to update Equals() and DeepCopy() if you add new fieldsCOMMENT
LOWpkg/retry/policy.go148// DON'T FORGET to update Equals() and DeepCopy() if you add new fieldsCOMMENT
LOWpkg/circuitbreak/cbsuite.go51// DON'T FORGET to update DeepCopy() and Equals() if you add new fields.COMMENT
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/release-hotfix.sh27# Usage:COMMENT
LOWscripts/release.sh28# Usage:COMMENT
LOWscripts/.utils/check_version.sh27# Usage:COMMENT
LOWscripts/.utils/check_go_mod.sh27# Usage:COMMENT
LOWpkg/remote/custom_meta_handler.go32// Usage example:COMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpkg/utils/contextmap/contextmap_test.go26 //lint:ignore SA1012 This is the test to make the function more robustCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWscripts/.utils/funcs.sh31 # Check if there are any commits between the referencesCOMMENT