Repository Analysis

apache/dubbo

The java implementation of Apache Dubbo. An RPC and microservice framework.

4.6 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of apache/dubbo, a Java project with 41,528 GitHub stars. SynthScan v2.0 examined 508,910 lines of code across 4362 source files, recording 237 pattern matches distributed across 4 syntactic categories. The overall adjusted score of 4.6 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).

4.6
Adjusted Score
4.6
Raw Score
100%
Time Factor
2026-07-14
Last Push
41.5K
Stars
Java
Language
508.9K
Lines of Code
4.4K
Files
237
Pattern Hits
2026-07-14
Scan Date
0.04
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 176HIGH 0MEDIUM 1LOW 60

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 237 distinct pattern matches across 4 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.

Hallucination Indicators176 hits · 2275 pts
SeverityFileLineSnippetContext
CRITICAL…le/src/test/java/org/apache/dubbo/cache/CacheTest.java44 org.apache.dubbo.common.URL.valueOf("test://test:11/test?cache=jacache&.cache.write.expire=1");CODE
CRITICAL…pring/context/annotation/provider/DemoServiceImpl.java31@org.apache.dubbo.config.annotation.Service(CODE
CRITICAL…nnotation/consumer/test/TestConsumerConfiguration.java101 @com.alibaba.dubbo.config.annotation.Reference(CODE
CRITICAL…org/apache/dubbo/common/utils/AnnotationUtilsTest.java288 @com.alibaba.dubbo.config.annotation.Service(CODE
CRITICAL…a/org/apache/dubbo/metadata/tools/TestServiceImpl.java28@com.alibaba.dubbo.config.annotation.Service(CODE
CRITICAL…in/java/com/alibaba/dubbo/qos/command/BaseCommand.java28 return this.execute(new com.alibaba.dubbo.qos.command.CommandContext(commandContext), args);CODE
CRITICAL…atible/src/main/java/com/alibaba/dubbo/common/URL.java88 org.apache.dubbo.common.URL result = org.apache.dubbo.common.URL.valueOf(url);CODE
CRITICAL…atible/src/main/java/com/alibaba/dubbo/common/URL.java93 return org.apache.dubbo.common.URL.encode(value);CODE
CRITICAL…atible/src/main/java/com/alibaba/dubbo/common/URL.java97 return org.apache.dubbo.common.URL.decode(value);CODE
CRITICAL…atible/src/main/java/com/alibaba/dubbo/common/URL.java261 return org.apache.dubbo.common.URL.decode(getParameter(key, defaultValue));CODE
CRITICAL…rc/main/java/com/alibaba/dubbo/common/DelegateURL.java43 return new DelegateURL(org.apache.dubbo.common.URL.valueOf(url));CODE
CRITICAL…rc/main/java/com/alibaba/dubbo/common/DelegateURL.java692 return org.apache.dubbo.common.URL.buildKey(path, group, version);CODE
CRITICAL…rc/main/java/com/alibaba/dubbo/common/DelegateURL.java783 org.apache.dubbo.common.URL.putMethodParameter(method, key, value, methodParameters);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java34 return new DelegateURL(org.apache.dubbo.common.utils.UrlUtils.parseURL(address, defaults));CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java38 return org.apache.dubbo.common.utils.UrlUtils.parseURLs(address, defaults).stream()CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java44 return org.apache.dubbo.common.utils.UrlUtils.convertRegister(register);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java48 return org.apache.dubbo.common.utils.UrlUtils.convertSubscribe(subscribe);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java52 return org.apache.dubbo.common.utils.UrlUtils.revertRegister(register);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java56 return org.apache.dubbo.common.utils.UrlUtils.revertSubscribe(subscribe);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java60 return org.apache.dubbo.common.utils.UrlUtils.revertNotify(notify);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java67 return org.apache.dubbo.common.utils.UrlUtils.revertForbid(forbid, urls);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java71 return new DelegateURL(org.apache.dubbo.common.utils.UrlUtils.getEmptyUrl(service, category));CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java75 return org.apache.dubbo.common.utils.UrlUtils.isMatchCategory(category, categories);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java79 return org.apache.dubbo.common.utils.UrlUtils.isMatch(CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java84 return org.apache.dubbo.common.utils.UrlUtils.isMatchGlobPattern(pattern, value, param.getOriginalURL());CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java88 return org.apache.dubbo.common.utils.UrlUtils.isMatchGlobPattern(pattern, value);CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java92 return org.apache.dubbo.common.utils.UrlUtils.isServiceKeyMatch(CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java97 return org.apache.dubbo.common.utils.UrlUtils.isConfigurator(url.getOriginalURL());CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java101 return org.apache.dubbo.common.utils.UrlUtils.isRoute(url.getOriginalURL());CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java105 return org.apache.dubbo.common.utils.UrlUtils.isProvider(url.getOriginalURL());CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java109 return org.apache.dubbo.remoting.utils.UrlUtils.getHeartbeat(url.getOriginalURL());CODE
CRITICAL…main/java/com/alibaba/dubbo/common/utils/UrlUtils.java113 return org.apache.dubbo.remoting.utils.UrlUtils.getIdleTimeout(url.getOriginalURL());CODE
CRITICAL…src/main/java/com/alibaba/dubbo/registry/Registry.java55 new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener));CODE
CRITICAL…src/main/java/com/alibaba/dubbo/registry/Registry.java62 new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener));CODE
CRITICAL…m/alibaba/dubbo/registry/support/FailbackRegistry.java71 new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener));CODE
CRITICAL…m/alibaba/dubbo/registry/support/FailbackRegistry.java78 new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener));CODE
CRITICAL…m/alibaba/dubbo/registry/support/FailbackRegistry.java86 new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener),CODE
CRITICAL…m/alibaba/dubbo/registry/support/FailbackRegistry.java95 new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener),CODE
CRITICAL…m/alibaba/dubbo/registry/support/AbstractRegistry.java91 new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener),CODE
CRITICAL…m/alibaba/dubbo/registry/support/AbstractRegistry.java106 new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener));CODE
CRITICAL…m/alibaba/dubbo/registry/support/AbstractRegistry.java112 new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener));CODE
CRITICAL…m/alibaba/dubbo/registry/support/AbstractRegistry.java129 new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener));CODE
CRITICAL…m/alibaba/dubbo/registry/support/AbstractRegistry.java136 new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener));CODE
CRITICAL…m/alibaba/dubbo/registry/support/AbstractRegistry.java141 .map(listener -> new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener))CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java45 return new RpcContext(org.apache.dubbo.rpc.RpcContext.getContext());CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java49 return new RpcContext(org.apache.dubbo.rpc.RpcContext.getServerContext());CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java53 return new RpcContext(org.apache.dubbo.rpc.RpcContext.getClientResponseContext());CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java57 return new RpcContext(org.apache.dubbo.rpc.RpcContext.getServerResponseContext());CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java61 org.apache.dubbo.rpc.RpcContext.removeClientResponseContext();CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java65 org.apache.dubbo.rpc.RpcContext.removeServerResponseContext();CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java69 org.apache.dubbo.rpc.RpcContext.removeServerContext();CODE
CRITICAL…le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java73 org.apache.dubbo.rpc.RpcContext.removeContext();CODE
CRITICAL…rc/main/java/com/alibaba/dubbo/rpc/cluster/Router.java52 new com.alibaba.dubbo.rpc.Invocation.CompatibleInvocation(invocation));CODE
CRITICAL…main/java/com/alibaba/dubbo/rpc/cluster/Directory.java40 this.list(new com.alibaba.dubbo.rpc.Invocation.CompatibleInvocation(invocation));CODE
CRITICAL…in/java/com/alibaba/dubbo/rpc/cluster/LoadBalance.java45 invs, new DelegateURL(url), new com.alibaba.dubbo.rpc.Invocation.CompatibleInvocation(invocation));CODE
CRITICAL…/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java30 return org.apache.dubbo.rpc.support.RpcUtils.getReturnType(invocation);CODE
CRITICAL…/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java35 return org.apache.dubbo.rpc.support.RpcUtils.getReturnTypes(invocation);CODE
CRITICAL…/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java39 return org.apache.dubbo.rpc.support.RpcUtils.getInvocationId(inv);CODE
CRITICAL…/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java49 org.apache.dubbo.rpc.support.RpcUtils.attachInvocationIdIfAsync(url.getOriginalURL(), inv);CODE
CRITICAL…/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java53 return org.apache.dubbo.rpc.support.RpcUtils.getMethodName(invocation);CODE
116 more matches not shown…
Over-Commented Block56 hits · 56 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1#COMMENT
LOWlicenseCheck.sh1#!/bin/bashCOMMENT
LOWcodecov.yml1# Licensed to the Apache Software Foundation (ASF) under one or moreCOMMENT
LOW…ubbo/registry/client/ServiceDiscoveryRegistryTest.java141 URL checkURL = url.addParameter(CHECK_KEY, true);COMMENT
LOW…figcenter/file/FileSystemDynamicConfigurationTest.java181 //COMMENT
LOW…pport/zookeeper/ZookeeperDynamicConfigurationTest.java181 // String key = "org.apache.dubbo.service.UserService";COMMENT
LOW…pring-boot-provider/src/main/resources/application.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…spring-boot-servlet/src/main/resources/application.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…pring-boot-consumer/src/main/resources/application.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…bbo-demo-mcp-server/src/main/resources/application.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…g-boot-idl-consumer/src/main/resources/application.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…g-boot-idl-provider/src/main/resources/application.yml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOW…apache/dubbo/rpc/protocol/dubbo/DubboProtocolTest.java141 assertEquals(echo.$echo(1234), 1234);COMMENT
LOW…apache/dubbo/rpc/protocol/dubbo/DubboProtocolTest.java161 // Set<String> set = service.keys(map);COMMENT
LOW…apache/dubbo/rpc/protocol/dubbo/DubboProtocolTest.java181 // assertEquals(echo.$echo(buf.toString()), buf.toString());COMMENT
LOW…ntext/event/AwaitingNonWebApplicationListenerTest.java41 // @TestCOMMENT
LOW…ntext/event/AwaitingNonWebApplicationListenerTest.java61 // @TestCOMMENT
LOWdubbo-common/src/test/resources/dubbo-migration.yaml1#COMMENT
LOW…main/java/org/apache/dubbo/common/utils/Utf8Utils.java1// Protocol Buffers - Google's data interchange formatCOMMENT
LOW…ubbo/common/threadpool/serial/SerializingExecutor.java81 }COMMENT
LOW…dubbo/remoting/transport/netty/ClientToServerTest.java81 // public void onException(Throwable exception) {COMMENT
LOW…cluster/src/test/resources/ConfiguratorV3Duplicate.yml1#COMMENT
LOWdubbo-cluster/src/test/resources/ConfiguratorV3.yml1#COMMENT
LOWdubbo-cluster/src/test/resources/AppMultiServices.yml1#COMMENT
LOWdubbo-cluster/src/test/resources/AppNoService.yml1#COMMENT
LOW…bbo-cluster/src/test/resources/ServiceGroupVersion.yml1#COMMENT
LOW…ter/src/test/resources/ConfiguratorV3Compatibility.yml1#COMMENT
LOW…o-cluster/src/test/resources/DestinationRuleTest2.yaml1#COMMENT
LOW…bo-cluster/src/test/resources/DestinationRuleTest.yaml1#COMMENT
LOWdubbo-cluster/src/test/resources/ServiceNoRule.yml1#COMMENT
LOWdubbo-cluster/src/test/resources/ServiceMultiApps.yml1#COMMENT
LOW…uster/src/test/resources/ConsumerSpecificProviders.yml1#COMMENT
LOWdubbo-cluster/src/test/resources/ScriptRule.yaml1#COMMENT
LOWdubbo-cluster/src/test/resources/ServiceNoApp.yml1#COMMENT
LOWdubbo-cluster/src/test/resources/ConditionRule.yml1#COMMENT
LOWdubbo-cluster/src/test/resources/TagRule.yml1#COMMENT
LOW…bbo-cluster/src/test/resources/VirtualServiceTest.yaml1#COMMENT
LOWdubbo-cluster/src/test/resources/AppAnyServices.yml1#COMMENT
LOW…/rpc/cluster/router/mesh/rule/DestinationRuleTest.java41 DestinationRule.class);COMMENT
LOW…ain/java/org/apache/dubbo/rpc/cluster/RouterChain.java161 // `availableInvokers`COMMENT
LOW…ain/java/org/apache/dubbo/rpc/cluster/RouterChain.java181 // Clean up temp variable.COMMENT
LOW…/dubbo/rpc/cluster/support/AbstractClusterInvoker.java261COMMENT
LOW…apache/dubbo/metrics/aggregate/DubboMergingDigest.java181 if (bufferSize == -1) {COMMENT
LOW.github/DISCUSSION_TEMPLATE/general.yml1#COMMENT
LOW.github/DISCUSSION_TEMPLATE/question.yml1#COMMENT
LOW.github/ISSUE_TEMPLATE/1-bug.yml1#COMMENT
LOW.github/ISSUE_TEMPLATE/config.yml1#COMMENT
LOW.github/ISSUE_TEMPLATE/2-feature.yml1#COMMENT
LOW…ltipleRegistryCenterExportProviderIntegrationTest.java181 Assertions.assertEquals(COMMENT
LOW…ltipleRegistryCenterExportProviderIntegrationTest.java201 // that can register the mapping relationship. This is really a problem that needs to be fix.COMMENT
LOW…/SingleRegistryCenterDubboProtocolIntegrationTest.java261 // MetadataInfo's service exists or notCOMMENT
LOW…SingleRegistryCenterExportProviderIntegrationTest.java201 Assertions.assertTrue(exporterListener.getFilters().contains(filter));COMMENT
LOW…he/dubbo/config/deploy/DefaultApplicationDeployer.java741 // executorRepository.getSharedExecutor().submit(() -> {COMMENT
LOW…bo/config/spring/schema/DubboBeanDefinitionParser.java121 int counter = 0;COMMENT
LOW…ubbo/config/spring/reference/ReferenceBeanBuilder.java361 // attributes.put(ReferenceAttributes.AUTH, auth);COMMENT
LOW…ubbo/config/spring/reference/ReferenceBeanBuilder.java381 //COMMENT
Hyper-Verbose Identifiers4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…ol/tri/transport/TripleHttp2ClientResponseHandler.java34public final class TripleHttp2ClientResponseHandler extends SimpleChannelInboundHandler<Http2StreamFrame> {CODE
LOW…pache/dubbo/rpc/protocol/tri/route/RequestHandler.java30public final class RequestHandler implements RpcInvocationBuildContext {CODE
LOW…/tri/rest/support/swagger/SwaggerUIRequestHandler.java48public class SwaggerUIRequestHandler implements OpenAPIRequestHandler {CODE
LOW…ocol/tri/rest/support/swagger/RedocRequestHandler.java43public class RedocRequestHandler implements OpenAPIRequestHandler {CODE
Decorative Section Separators1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…ava/org/apache/dubbo/rpc/protocol/tri/RequestPath.java35 // └─── path ────┘ └─ method ─┘ └────────── path ───────────┘ └─ method ─┘COMMENT