AI Slop Code Risk Monitor

cubefs/cubefs

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

cloud-native distributed storage

3.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for cubefs/cubefs, a Go project with 5,683 GitHub stars. SynthScan examined 620,092 lines of code across 2345 source files, recording 1864 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 3.3 (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.

3.3
Adjusted Signal
3.3
Raw Pattern Score
100%
Time Factor
2026-10-22
Last Push
5.7K
Stars
Go
Language
620.1K
Lines of Code
2.3K
Files
1.9K
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 13.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.1/100 · LOW

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

Agent Over-Engineering Ratio 0.8/100 · LOW

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

PR Review Velocity Impact 14.9/100 · LOW

Which changes need focused human review? 1864 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 10HIGH 0MEDIUM 23LOW 1831

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 1864 distinct pattern matches across 11 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 Block1773 hits · 1764 pts
SeverityFileLineSnippetContext
LOWcubefs.go1// Copyright 2024 The CubeFS Authors.COMMENT
LOWobjectnode/acl_handler.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/webhook.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/post_policy_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/fs_store.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/cors.go1// Copyright 2020 The CubeFS Authors.COMMENT
LOWobjectnode/audit.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/api_handler.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/auth_signature_chunk.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/policy_stringset.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/acl_api.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/policy_test.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/policy_stringlikeop_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/server.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/server.go61 // The ObjectNode needs to communicate with the Master during the startup and running process to update theCOMMENT
LOWobjectnode/server.go81 configStrict = "strict"COMMENT
LOWobjectnode/server.go101 // Example:COMMENT
LOWobjectnode/server.go121 // "enable": true,COMMENT
LOWobjectnode/auth_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/object_lock.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/api_handler_object.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/fs_store_user.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/auth.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/api_handler_bucket.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/sts.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/auth_query_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/auth_signature_chunk_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/policy_handler_test.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/chunk.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/auth_header_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/s3api_name.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/audit_webhook_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/etag.go1// Copyright 2020 The CubeFS Authors.COMMENT
LOWobjectnode/cors_handler.go1// Copyright 2020 The CubeFS Authors.COMMENT
LOWobjectnode/ratelimit.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/auth_signature_v4.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/acl_test.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/policy.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/api_handler_multipart.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/sts_handler.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/etag_test.go1// Copyright 2020 The CubeFS Authors.COMMENT
LOWobjectnode/fs_store_object.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/audit_kafka.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/policy_statement.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/auth_signature_v2_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/auth_header.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/result_error.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/acl_api_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/util.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/wildcard_test.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/fs_volume_meta.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/post_policy.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/multipart_form_test.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/auth_signature_v2.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/kafka.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/policy_valueset.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/lifecycle.go1// Copyright 2023 The CubeFS Authors.COMMENT
LOWobjectnode/api_middleware.go1// Copyright 2019 The CubeFS Authors.COMMENT
LOWobjectnode/api_middleware.go201 r.Body = NewClosableChunkedReader(r.Body)COMMENT
LOWobjectnode/http_transport.go1// Copyright 2023 The CubeFS Authors.COMMENT
1713 more matches not shown…
Hallucination Indicators10 hits · 140 pts
SeverityFileLineSnippetContext
CRITICALblobstore/shardnode/storage/disk.go349 nodeHost, err := d.cfg.RaftConfig.TransportConfig.Resolver.Resolve(ctx, uint64(node.DiskID))CODE
CRITICALblobstore/shardnode/storage/disk.go400 nodeHost, err := d.cfg.RaftConfig.TransportConfig.Resolver.Resolve(ctx, uint64(d.diskInfo.DiskID))CODE
CRITICAL⚡docs/source/ecology/hadoop.md185 at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2349)CODE
CRITICAL⚡docs/source/ecology/hadoop.md186 at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2790)CODE
CRITICAL⚡docs/source/ecology/hadoop.md187 at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2810)CODE
CRITICAL⚡docs/source/ecology/hadoop.md191 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387)CODE
CRITICAL⚡docs-zh/source/ecology/hadoop.md185 at org.apache.hadoop.conf.Configuration.getClass(Configuration.java:2349)CODE
CRITICAL⚡docs-zh/source/ecology/hadoop.md186 at org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2790)CODE
CRITICAL⚡docs-zh/source/ecology/hadoop.md187 at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2810)CODE
CRITICAL⚡docs-zh/source/ecology/hadoop.md191 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:387)CODE
Decorative Section Separators20 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUMtest/userTest.sh183#--------------------------------------COMMENT
MEDIUMtest/userTest.sh185#--------------------------------------COMMENT
MEDIUMtest/userTest.sh273#--------------------------------------COMMENT
MEDIUMtest/userTest.sh275#--------------------------------------COMMENT
MEDIUMtest/userTest.sh360#--------------------------------------COMMENT
MEDIUMtest/userTest.sh362#--------------------------------------COMMENT
MEDIUMtest/userTest.sh391#--------------------------------------COMMENT
MEDIUMtest/userTest.sh393#--------------------------------------COMMENT
MEDIUMtest/userTest.sh428#--------------------------------------COMMENT
MEDIUMtest/userTest.sh430#--------------------------------------COMMENT
MEDIUMtest/userTest.sh464#--------------------------------------COMMENT
MEDIUMtest/userTest.sh466#--------------------------------------COMMENT
MEDIUMtest/userTest.sh550#--------------------------------------COMMENT
MEDIUMtest/userTest.sh552#--------------------------------------COMMENT
MEDIUMtest/userTest.sh801#----------------------------------------------------COMMENT
MEDIUMtest/userTest.sh803#----------------------------------------------------COMMENT
MEDIUMtest/userTest.sh890#---------------------------------------------------COMMENT
MEDIUMtest/userTest.sh892#---------------------------------------------------COMMENT
MEDIUMtest/userTest.sh1064#-----------------------------------COMMENT
MEDIUMtest/userTest.sh1066#-----------------------------------COMMENT
Hyper-Verbose Identifiers25 hits · 31 pts
SeverityFileLineSnippetContext
LOWdocker/s3tests/test_object_head.py49 def test_head_object_if_match(self):CODE
LOWdocker/s3tests/test_object_head.py75 def test_head_object_if_modified_since(self):CODE
LOWdocker/s3tests/test_object_head.py106 def test_head_object_if_none_match(self):CODE
LOWdocker/s3tests/test_object_head.py135 def test_head_object_if_unmodified_since(self):CODE
LOWdocker/s3tests/test_signature.py202 def test_signature_volume_credential(self):CODE
LOWdocker/s3tests/test_object_put.py79 def __do_test_put_objects_override(self, file_size, file_num):CODE
LOWdocker/s3tests/test_object_put.py100 def __do_test_put_objects_independent(self, file_size, file_num):CODE
LOWdocker/s3tests/test_object_put.py306 def test_put_object_with_metadata(self):CODE
LOWdocker/s3tests/test_transfer.py143 def __simulation_java_parallel_download(self, object_name,part_size_const, file_size):CODE
LOWdocker/s3tests/test_transfer.py185 def test_simulation_part_number(self):CODE
LOWdocker/s3tests/test_copy_object.py196 def test_copy_modify_metadata(self):CODE
LOW⚡docker/s3tests/base.py147 def assert_head_bucket_result(self, result):CODE
LOW⚡docker/s3tests/base.py154 def assert_get_bucket_location_result(self, result, location=None):CODE
LOW⚡docker/s3tests/base.py164 def assert_get_bucket_cors_result(self, result, cors_config=None):CODE
LOW⚡docker/s3tests/base.py171 def assert_cors_request_result(self, result, response_code=200, response_origin=None, response_method=None):CODE
LOW⚡docker/s3tests/base.py179 def assert_head_object_result(self, result, etag=None, content_type=None, content_length=None, metadata=None):CODE
LOWdocker/s3tests/base.py212 def assert_get_object_range_result(self, result, status_code=206, content_length=None, content_range=None):CODE
LOW⚡docker/s3tests/base.py239 def assert_delete_object_result(self, result):CODE
LOW⚡docker/s3tests/base.py242 def assert_delete_objects_result(self, result):CODE
LOW⚡docker/s3tests/base.py245 def assert_put_tagging_result(self, result):CODE
LOW⚡docker/s3tests/base.py248 def assert_get_tagging_result(self, result, expect_tag_set=None):CODE
LOW⚡docker/s3tests/base.py260 def assert_delete_tagging_result(self, result):CODE
LOW⚡docker/s3tests/base.py263 def assert_get_bucket_acl_result(self, result, acl):CODE
LOW⚡docker/s3tests/base.py268 def assert_get_bucket_policy_result(self, result, policy=None):CODE
LOWdocker/s3tests/base.py281 def assert_result_status_code(self, result, status_code=200):CODE
Verbosity Indicators8 hits · 14 pts
SeverityFileLineSnippetContext
LOWblobstore/blobnode/core/disk/disk_test.go887 // Step 1: Create disk with NodeID = 0 (simulating old version format)COMMENT
LOW⚡blobstore/blobnode/core/disk/disk_test.go920 // Step 2: Reload disk with new NodeID (simulating upgrade to v1.5.2)COMMENT
LOW⚡blobstore/blobnode/core/disk/disk_test.go930 // Step 3: Verify NodeID is updatedCOMMENT
LOWblobstore/cli/clustermgr/node.go125 // Step 1: Get all disks and build node infoCOMMENT
LOWblobstore/cli/clustermgr/node.go305 // Step 2: Get volume info using ListVolumeCOMMENT
LOWblobstore/cli/clustermgr/node.go330 // Step 3: Parse volume units to find affected volumes and build chunk distributionCOMMENT
LOWblobstore/cli/clustermgr/node.go371 // Step 4: Greedy algorithm to find maximum safe migration setCOMMENT
LOWblobstore/cli/clustermgr/node.go466 // Step 5: Output resultsCOMMENT
Structural Annotation Overuse8 hits · 14 pts
SeverityFileLineSnippetContext
LOWblobstore/blobnode/core/disk/disk_test.go887 // Step 1: Create disk with NodeID = 0 (simulating old version format)COMMENT
LOW⚡blobstore/blobnode/core/disk/disk_test.go920 // Step 2: Reload disk with new NodeID (simulating upgrade to v1.5.2)COMMENT
LOW⚡blobstore/blobnode/core/disk/disk_test.go930 // Step 3: Verify NodeID is updatedCOMMENT
LOWblobstore/cli/clustermgr/node.go125 // Step 1: Get all disks and build node infoCOMMENT
LOWblobstore/cli/clustermgr/node.go305 // Step 2: Get volume info using ListVolumeCOMMENT
LOWblobstore/cli/clustermgr/node.go330 // Step 3: Parse volume units to find affected volumes and build chunk distributionCOMMENT
LOWblobstore/cli/clustermgr/node.go371 // Step 4: Greedy algorithm to find maximum safe migration setCOMMENT
LOWblobstore/cli/clustermgr/node.go466 // Step 5: Output resultsCOMMENT
Excessive Try-Catch Wrapping11 hits · 12 pts
SeverityFileLineSnippetContext
LOWdocker/s3tests/test_cors.py66 except Exception as e:CODE
LOWdocker/s3tests/test_bucket_policy.py43 except Exception as e:CODE
LOWdocker/s3tests/test_bucket_policy.py57 except Exception as e:CODE
LOWdocker/s3tests/test_object_get_range.py76 except Exception as e:CODE
LOWdocker/s3tests/test_object_head.py67 except Exception as e:CODE
LOWdocker/s3tests/test_object_head.py98 except Exception as e:CODE
LOWdocker/s3tests/test_object_head.py127 except Exception as e:CODE
LOWdocker/s3tests/test_object_head.py155 except Exception as e:CODE
LOWdocker/s3tests/test_object_put.py257 except Exception as e:CODE
LOWdocker/s3tests/test_object_put.py290 except Exception as e:CODE
MEDIUMblobstore/cli/common/json.go59 return fmt.Sprint("Error: ", err)CODE
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/check_pull_request.yml41 # Commits spec, you can use these options to customize the parsing of the type, scope andCOMMENT
MEDIUM.github/workflows/codeql.yml57 # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize howCOMMENT
LOWdepends/jacobsa/fuse/fusetesting/readdir.go44 // Don't forget to close it later.COMMENT
Unused Imports3 hits · 3 pts
SeverityFileLineSnippetContext
LOWdocker/s3tests/test_cors.py19CODE
LOWdocker/s3tests/test_object_get_range.py18CODE
LOWdocker/s3tests/test_object_list_page.py17CODE
Deep Nesting2 hits · 2 pts
SeverityFileLineSnippetContext
LOWdocker/s3tests/test_object_list_page.py91CODE
LOWdocker/s3tests/test_object_list_page.py192CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdepends/spf13/cobra/fish_completions.go72 # Check if the command-line is already provided. This is useful for testing.COMMENT