AI Slop Code Risk Monitor

apache/rocketmq

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

Apache RocketMQ is a cloud native messaging and streaming platform, making it simple to build event-driven applications.

0.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for apache/rocketmq, a Java project with 22,645 GitHub stars. SynthScan examined 421,874 lines of code across 2488 source files, recording 93 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 0.8 (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.

0.8
Adjusted Signal
0.8
Raw Pattern Score
100%
Time Factor
2026-10-27
Last Push
22.6K
Stars
Java
Language
421.9K
Lines of Code
2.5K
Files
93
Pattern Hits
2026-10-31
Scan Date
0.01
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 0.7/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.8/100 · LOW

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

Agent Over-Engineering Ratio 0.6/100 · LOW

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

PR Review Velocity Impact 4.0/100 · LOW

Which changes need focused human review? 93 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 24HIGH 0MEDIUM 16LOW 53

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 93 distinct pattern matches across 9 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.

Hallucination Indicators24 hits · 240 pts
SeverityFileLineSnippetContext
CRITICAL…va/org/apache/rocketmq/remoting/netty/NettyLogger.java36 io.netty.util.internal.logging.InternalLoggerFactory.setDefaultFactory(new NettyBridgeLoggerFactory());CODE
CRITICAL…er/processor/PopLiteMessageProcessorEventLossTest.java141 messageStore = org.apache.rocketmq.broker.lite.LiteTestUtil.buildMessageStore(CODE
CRITICAL…er/processor/PopLiteMessageProcessorEventLossTest.java296 messageStore.putMessage(org.apache.rocketmq.broker.lite.LiteTestUtil.buildMessage(PARENT_TOPIC, liteTopic));CODE
CRITICAL…ocketmq/broker/processor/AdminBrokerProcessorTest.java706 String retryTopic = org.apache.rocketmq.common.KeyBuilder.buildPopRetryTopic("myTopic", "cid1",CODE
CRITICAL…ocketmq/broker/processor/AdminBrokerProcessorTest.java717 when(consumerOffsetManager.whichGroupByTopic("myTopic")).thenReturn(com.google.common.collect.Sets.newHashSet("cCODE
CRITICAL…/broker/config/v1/RocksDBSubscriptionGroupManager.java318 if (!org.apache.rocketmq.common.UtilAll.isPathExists(separateRocksDBPath)) {CODE
CRITICAL…he/rocketmq/broker/processor/AdminBrokerProcessor.java858 ? com.google.common.util.concurrent.RateLimiter.create(maxRate) : null;CODE
CRITICAL…he/rocketmq/broker/processor/AdminBrokerProcessor.java1872 ? com.google.common.util.concurrent.RateLimiter.create(maxRate) : null;CODE
CRITICAL…he/rocketmq/proxy/grpc/v2/route/RouteActivityTest.java82 addressArrayList.add(new org.apache.rocketmq.proxy.common.Address(CODE
CRITICAL…he/rocketmq/proxy/grpc/v2/route/RouteActivityTest.java85 addressArrayList.add(new org.apache.rocketmq.proxy.common.Address(CODE
CRITICAL…e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java368 org.apache.rocketmq.logging.org.slf4j.LoggerFactory.getILoggerFactory();CODE
CRITICAL…e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java383 org.apache.rocketmq.logging.ch.qos.logback.classic.Level.toLevel(level.name());CODE
CRITICAL…e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java458 result.getAttributes().put(org.apache.rocketmq.common.TopicAttributes.TOPIC_MESSAGE_TYPE_ATTRIBUTE.getName(),CODE
CRITICAL…e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java1377 org.apache.rocketmq.common.message.Message message = new org.apache.rocketmq.common.message.Message(CODE
CRITICAL…e/rocketmq/proxy/grpc/admin/ProxyAdminGrpcService.java1707 relayRequest.setBody(org.apache.rocketmq.common.message.MessageDecoder.encode(messageExt, false));CODE
CRITICAL…cketmq/proxy/grpc/v2/producer/SendMessageActivity.java219 org.apache.rocketmq.common.message.Message messageWithHeader = new org.apache.rocketmq.common.message.Message();CODE
CRITICAL…apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java199 addressList.add(new org.apache.rocketmq.proxy.common.Address(CODE
CRITICAL…apache/rocketmq/proxy/grpc/v2/route/RouteActivity.java200 org.apache.rocketmq.proxy.common.Address.AddressScheme.valueOf(endpoints.getScheme().name()),CODE
CRITICAL…/java/org/apache/rocketmq/test/grpc/v2/GrpcBaseIT.java574 org.apache.rocketmq.common.message.MessageQueue dlqMQ = new org.apache.rocketmq.common.message.MessageQueue(MixACODE
CRITICAL…/rocketmq/test/clientinterface/AbstractMQProducer.java101 org.apache.rocketmq.common.message.Message msg = new org.apache.rocketmq.common.message.Message(CODE
CRITICAL…on/builder/DefaultAuthorizationContextBuilderTest.java652 new org.apache.rocketmq.common.message.MessageQueue(" ", "broker-a", 0)));CODE
CRITICAL…on/builder/DefaultAuthorizationContextBuilderTest.java662 new org.apache.rocketmq.common.message.MessageQueue(" ", "broker-a", 0)));CODE
CRITICAL…main/java/io/openmessaging/rocketmq/utils/OMSUtil.java48 org.apache.rocketmq.common.message.Message rmqMessage = new org.apache.rocketmq.common.message.Message();CODE
CRITICAL…q/tieredstore/core/MessageStoreDispatcherImplTest.java111 Mockito.when(messageStore.getMessageStoreConfig()).thenReturn(new org.apache.rocketmq.store.config.MessageStoreCCODE
Over-Commented Block42 hits · 42 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWCONTRIBUTING.md41COMMENT
LOW.licenserc.yaml1#COMMENT
LOW…he/rocketmq/tools/admin/DefaultMQAdminExtImplTest.java641 }COMMENT
LOW…esrv/routeinfo/RouteInfoManagerBrokerRegisterTest.java61 }COMMENT
LOWdistribution/benchmark/consumer.sh1#!/bin/shCOMMENT
LOWdistribution/benchmark/runclass.sh1#!/bin/shCOMMENT
LOWdistribution/benchmark/tproducer.sh1#!/bin/shCOMMENT
LOWdistribution/benchmark/batchproducer.sh1#!/bin/shCOMMENT
LOWdistribution/benchmark/producer.sh1#!/bin/shCOMMENT
LOWdistribution/benchmark/shutdown.sh1#!/bin/shCOMMENT
LOWdistribution/bin/runserver.sh1#!/bin/shCOMMENT
LOWdistribution/bin/cleancache.sh1#!/bin/shCOMMENT
LOWdistribution/bin/tools.sh1#!/bin/shCOMMENT
LOWdistribution/bin/runbroker.sh1#!/bin/shCOMMENT
LOWdistribution/bin/cleancache.v1.sh1#!/bin/shCOMMENT
LOWdistribution/bin/setcache.sh1#!/bin/shCOMMENT
LOWdistribution/bin/export.sh1#!/bin/bashCOMMENT
LOWdistribution/bin/cachedog.sh1#!/bin/shCOMMENT
LOWdistribution/bin/startfsrv.sh1#!/bin/shCOMMENT
LOWdistribution/bin/play.sh1#!/bin/shCOMMENT
LOWdistribution/bin/os.sh1#!/bin/shCOMMENT
LOW…tion/bin/controller/fast-try-independent-deployment.sh1#!/usr/bin/env bashCOMMENT
LOWdistribution/bin/controller/fast-try-namesrv-plugin.sh1#!/usr/bin/env bashCOMMENT
LOWdistribution/bin/controller/fast-try.sh1#!/usr/bin/env bashCOMMENT
LOWdistribution/bin/dledger/fast-try.sh1#!/usr/bin/env bashCOMMENT
LOWdistribution/conf/tools.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWdocs/cn/Configuration_TLS.md41# The flag to determine whether use test mode when initialize TLS context. default is trueCOMMENT
LOW…org/apache/rocketmq/common/message/MessageDecoder.java61// + 4 // 4 QUEUEIDCOMMENT
LOW.github/workflows/license-checker.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/workflows/snapshot-automation.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW.github/ISSUE_TEMPLATE/feature_request.yml1#COMMENT
LOW.github/ISSUE_TEMPLATE/bug_report.yml1#COMMENT
LOW.github/ISSUE_TEMPLATE/config.yml1#COMMENT
LOW.github/ISSUE_TEMPLATE/enhancement_request.yml1#COMMENT
LOW.github/ISSUE_TEMPLATE/doc.yml1#COMMENT
LOWdev/merge_rocketmq_pr.py1#!/usr/bin/env pythonCOMMENT
LOWclient/src/test/resources/acl_hook/plain_acl.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOWclient/src/test/resources/conf/plain_acl_incomplete.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ache/rocketmq/store/queue/BatchConsumeMessageTest.java81 @TestCOMMENT
LOW…/main/java/org/apache/rocketmq/store/ConsumeQueue.java621 //COMMENT
LOW…g/apache/rocketmq/store/config/MessageStoreConfig.java201 // raise it if larger messages are common.COMMENT
Decorative Section Separators12 hits · 36 pts
SeverityFileLineSnippetContext
MEDIUMdistribution/bin/runserver.sh18#===========================================================================================COMMENT
MEDIUMdistribution/bin/runserver.sh20#===========================================================================================COMMENT
MEDIUMdistribution/bin/runserver.sh53#===========================================================================================COMMENT
MEDIUMdistribution/bin/runserver.sh55#===========================================================================================COMMENT
MEDIUMdistribution/bin/tools.sh18#===========================================================================================COMMENT
MEDIUMdistribution/bin/tools.sh20#===========================================================================================COMMENT
MEDIUMdistribution/bin/tools.sh53#===========================================================================================COMMENT
MEDIUMdistribution/bin/tools.sh55#===========================================================================================COMMENT
MEDIUMdistribution/bin/runbroker.sh18#===========================================================================================COMMENT
MEDIUMdistribution/bin/runbroker.sh20#===========================================================================================COMMENT
MEDIUMdistribution/bin/runbroker.sh53#===========================================================================================COMMENT
MEDIUMdistribution/bin/runbroker.sh55#===========================================================================================COMMENT
Excessive Try-Catch Wrapping8 hits · 11 pts
SeverityFileLineSnippetContext
MEDIUM…tools/command/metadata/RocksDBConfigToJsonCommand.java238 System.out.print("Error occurred while converting RocksDB kv config to json, " + "configType=" + configType CODE
MEDIUM…tools/command/metadata/RocksDBConfigToJsonCommand.java323 System.out.print("Error occurred while converting RocksDB kv config to json, " + "configType=consumerOffsetsCODE
LOWdev/merge_rocketmq_pr.py127 except Exception as e:CODE
LOWdev/merge_rocketmq_pr.py175 except Exception as e:CODE
LOWdev/merge_rocketmq_pr.py198 except Exception as e:CODE
LOWdev/merge_rocketmq_pr.py209 except Exception as e:CODE
LOWdev/merge_rocketmq_pr.py240 except Exception as e:CODE
MEDIUMdev/merge_rocketmq_pr.py69def get_json(url):CODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡…rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java489 // Step 1: Find expired clients and their subscription informationCOMMENT
LOW⚡…rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java496 // Step 2: Remove expired clients and their subscriptionsCOMMENT
Structural Annotation Overuse2 hits · 4 pts
SeverityFileLineSnippetContext
LOW⚡…rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java489 // Step 1: Find expired clients and their subscription informationCOMMENT
LOW⚡…rocketmq/broker/lite/LiteSubscriptionRegistryImpl.java496 // Step 2: Remove expired clients and their subscriptionsCOMMENT
AI Slop Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…rocketmq/broker/processor/PopLiteMessageProcessor.java159 // we no longer utilize startOffset and msgOffsetCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…/apache/rocketmq/example/filter/SqlFilterConsumer.java34 // Don't forget to set enablePropertyFilter=true in brokerCOMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…/proxy/service/transaction/TransactionDataManager.java37public class TransactionDataManager implements StartAndShutdown {CODE