The java implementation of Apache Dubbo. An RPC and microservice framework.
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).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …le/src/test/java/org/apache/dubbo/cache/CacheTest.java | 44 | org.apache.dubbo.common.URL.valueOf("test://test:11/test?cache=jacache&.cache.write.expire=1"); | CODE |
| CRITICAL | …pring/context/annotation/provider/DemoServiceImpl.java | 31 | @org.apache.dubbo.config.annotation.Service( | CODE |
| CRITICAL | …nnotation/consumer/test/TestConsumerConfiguration.java | 101 | @com.alibaba.dubbo.config.annotation.Reference( | CODE |
| CRITICAL | …org/apache/dubbo/common/utils/AnnotationUtilsTest.java | 288 | @com.alibaba.dubbo.config.annotation.Service( | CODE |
| CRITICAL | …a/org/apache/dubbo/metadata/tools/TestServiceImpl.java | 28 | @com.alibaba.dubbo.config.annotation.Service( | CODE |
| CRITICAL | …in/java/com/alibaba/dubbo/qos/command/BaseCommand.java | 28 | return this.execute(new com.alibaba.dubbo.qos.command.CommandContext(commandContext), args); | CODE |
| CRITICAL⚡ | …atible/src/main/java/com/alibaba/dubbo/common/URL.java | 88 | org.apache.dubbo.common.URL result = org.apache.dubbo.common.URL.valueOf(url); | CODE |
| CRITICAL⚡ | …atible/src/main/java/com/alibaba/dubbo/common/URL.java | 93 | return org.apache.dubbo.common.URL.encode(value); | CODE |
| CRITICAL⚡ | …atible/src/main/java/com/alibaba/dubbo/common/URL.java | 97 | return org.apache.dubbo.common.URL.decode(value); | CODE |
| CRITICAL | …atible/src/main/java/com/alibaba/dubbo/common/URL.java | 261 | return org.apache.dubbo.common.URL.decode(getParameter(key, defaultValue)); | CODE |
| CRITICAL | …rc/main/java/com/alibaba/dubbo/common/DelegateURL.java | 43 | return new DelegateURL(org.apache.dubbo.common.URL.valueOf(url)); | CODE |
| CRITICAL | …rc/main/java/com/alibaba/dubbo/common/DelegateURL.java | 692 | return org.apache.dubbo.common.URL.buildKey(path, group, version); | CODE |
| CRITICAL | …rc/main/java/com/alibaba/dubbo/common/DelegateURL.java | 783 | org.apache.dubbo.common.URL.putMethodParameter(method, key, value, methodParameters); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 34 | return new DelegateURL(org.apache.dubbo.common.utils.UrlUtils.parseURL(address, defaults)); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 38 | return org.apache.dubbo.common.utils.UrlUtils.parseURLs(address, defaults).stream() | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 44 | return org.apache.dubbo.common.utils.UrlUtils.convertRegister(register); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 48 | return org.apache.dubbo.common.utils.UrlUtils.convertSubscribe(subscribe); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 52 | return org.apache.dubbo.common.utils.UrlUtils.revertRegister(register); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 56 | return org.apache.dubbo.common.utils.UrlUtils.revertSubscribe(subscribe); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 60 | return org.apache.dubbo.common.utils.UrlUtils.revertNotify(notify); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 67 | return org.apache.dubbo.common.utils.UrlUtils.revertForbid(forbid, urls); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 71 | return new DelegateURL(org.apache.dubbo.common.utils.UrlUtils.getEmptyUrl(service, category)); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 75 | return org.apache.dubbo.common.utils.UrlUtils.isMatchCategory(category, categories); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 79 | return org.apache.dubbo.common.utils.UrlUtils.isMatch( | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 84 | return org.apache.dubbo.common.utils.UrlUtils.isMatchGlobPattern(pattern, value, param.getOriginalURL()); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 88 | return org.apache.dubbo.common.utils.UrlUtils.isMatchGlobPattern(pattern, value); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 92 | return org.apache.dubbo.common.utils.UrlUtils.isServiceKeyMatch( | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 97 | return org.apache.dubbo.common.utils.UrlUtils.isConfigurator(url.getOriginalURL()); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 101 | return org.apache.dubbo.common.utils.UrlUtils.isRoute(url.getOriginalURL()); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 105 | return org.apache.dubbo.common.utils.UrlUtils.isProvider(url.getOriginalURL()); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 109 | return org.apache.dubbo.remoting.utils.UrlUtils.getHeartbeat(url.getOriginalURL()); | CODE |
| CRITICAL⚡ | …main/java/com/alibaba/dubbo/common/utils/UrlUtils.java | 113 | return org.apache.dubbo.remoting.utils.UrlUtils.getIdleTimeout(url.getOriginalURL()); | CODE |
| CRITICAL | …src/main/java/com/alibaba/dubbo/registry/Registry.java | 55 | new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener)); | CODE |
| CRITICAL | …src/main/java/com/alibaba/dubbo/registry/Registry.java | 62 | new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener)); | CODE |
| CRITICAL⚡ | …m/alibaba/dubbo/registry/support/FailbackRegistry.java | 71 | new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener)); | CODE |
| CRITICAL⚡ | …m/alibaba/dubbo/registry/support/FailbackRegistry.java | 78 | new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener)); | CODE |
| CRITICAL⚡ | …m/alibaba/dubbo/registry/support/FailbackRegistry.java | 86 | new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener), | CODE |
| CRITICAL⚡ | …m/alibaba/dubbo/registry/support/FailbackRegistry.java | 95 | new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener), | CODE |
| CRITICAL | …m/alibaba/dubbo/registry/support/AbstractRegistry.java | 91 | new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener), | CODE |
| CRITICAL | …m/alibaba/dubbo/registry/support/AbstractRegistry.java | 106 | new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener)); | CODE |
| CRITICAL | …m/alibaba/dubbo/registry/support/AbstractRegistry.java | 112 | new com.alibaba.dubbo.registry.NotifyListener.ReverseCompatibleNotifyListener(listener)); | CODE |
| CRITICAL⚡ | …m/alibaba/dubbo/registry/support/AbstractRegistry.java | 129 | new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener)); | CODE |
| CRITICAL⚡ | …m/alibaba/dubbo/registry/support/AbstractRegistry.java | 136 | new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener)); | CODE |
| CRITICAL⚡ | …m/alibaba/dubbo/registry/support/AbstractRegistry.java | 141 | .map(listener -> new com.alibaba.dubbo.registry.NotifyListener.CompatibleNotifyListener(listener)) | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 45 | return new RpcContext(org.apache.dubbo.rpc.RpcContext.getContext()); | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 49 | return new RpcContext(org.apache.dubbo.rpc.RpcContext.getServerContext()); | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 53 | return new RpcContext(org.apache.dubbo.rpc.RpcContext.getClientResponseContext()); | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 57 | return new RpcContext(org.apache.dubbo.rpc.RpcContext.getServerResponseContext()); | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 61 | org.apache.dubbo.rpc.RpcContext.removeClientResponseContext(); | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 65 | org.apache.dubbo.rpc.RpcContext.removeServerResponseContext(); | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 69 | org.apache.dubbo.rpc.RpcContext.removeServerContext(); | CODE |
| CRITICAL⚡ | …le/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java | 73 | org.apache.dubbo.rpc.RpcContext.removeContext(); | CODE |
| CRITICAL | …rc/main/java/com/alibaba/dubbo/rpc/cluster/Router.java | 52 | new com.alibaba.dubbo.rpc.Invocation.CompatibleInvocation(invocation)); | CODE |
| CRITICAL | …main/java/com/alibaba/dubbo/rpc/cluster/Directory.java | 40 | this.list(new com.alibaba.dubbo.rpc.Invocation.CompatibleInvocation(invocation)); | CODE |
| CRITICAL | …in/java/com/alibaba/dubbo/rpc/cluster/LoadBalance.java | 45 | invs, new DelegateURL(url), new com.alibaba.dubbo.rpc.Invocation.CompatibleInvocation(invocation)); | CODE |
| CRITICAL⚡ | …/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java | 30 | return org.apache.dubbo.rpc.support.RpcUtils.getReturnType(invocation); | CODE |
| CRITICAL⚡ | …/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java | 35 | return org.apache.dubbo.rpc.support.RpcUtils.getReturnTypes(invocation); | CODE |
| CRITICAL⚡ | …/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java | 39 | return org.apache.dubbo.rpc.support.RpcUtils.getInvocationId(inv); | CODE |
| CRITICAL⚡ | …/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java | 49 | org.apache.dubbo.rpc.support.RpcUtils.attachInvocationIdIfAsync(url.getOriginalURL(), inv); | CODE |
| CRITICAL⚡ | …/main/java/com/alibaba/dubbo/rpc/support/RpcUtils.java | 53 | return org.apache.dubbo.rpc.support.RpcUtils.getMethodName(invocation); | CODE |
| 116 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .asf.yaml | 1 | # | COMMENT |
| LOW | licenseCheck.sh | 1 | #!/bin/bash | COMMENT |
| LOW | codecov.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one or more | COMMENT |
| LOW | …ubbo/registry/client/ServiceDiscoveryRegistryTest.java | 141 | URL checkURL = url.addParameter(CHECK_KEY, true); | COMMENT |
| LOW | …figcenter/file/FileSystemDynamicConfigurationTest.java | 181 | // | COMMENT |
| LOW | …pport/zookeeper/ZookeeperDynamicConfigurationTest.java | 181 | // String key = "org.apache.dubbo.service.UserService"; | COMMENT |
| LOW | …pring-boot-provider/src/main/resources/application.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …spring-boot-servlet/src/main/resources/application.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …pring-boot-consumer/src/main/resources/application.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …bbo-demo-mcp-server/src/main/resources/application.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …g-boot-idl-consumer/src/main/resources/application.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …g-boot-idl-provider/src/main/resources/application.yml | 1 | # Licensed to the Apache Software Foundation (ASF) under one | COMMENT |
| LOW | …apache/dubbo/rpc/protocol/dubbo/DubboProtocolTest.java | 141 | assertEquals(echo.$echo(1234), 1234); | COMMENT |
| LOW | …apache/dubbo/rpc/protocol/dubbo/DubboProtocolTest.java | 161 | // Set<String> set = service.keys(map); | COMMENT |
| LOW | …apache/dubbo/rpc/protocol/dubbo/DubboProtocolTest.java | 181 | // assertEquals(echo.$echo(buf.toString()), buf.toString()); | COMMENT |
| LOW | …ntext/event/AwaitingNonWebApplicationListenerTest.java | 41 | // @Test | COMMENT |
| LOW | …ntext/event/AwaitingNonWebApplicationListenerTest.java | 61 | // @Test | COMMENT |
| LOW | dubbo-common/src/test/resources/dubbo-migration.yaml | 1 | # | COMMENT |
| LOW | …main/java/org/apache/dubbo/common/utils/Utf8Utils.java | 1 | // Protocol Buffers - Google's data interchange format | COMMENT |
| LOW | …ubbo/common/threadpool/serial/SerializingExecutor.java | 81 | } | COMMENT |
| LOW | …dubbo/remoting/transport/netty/ClientToServerTest.java | 81 | // public void onException(Throwable exception) { | COMMENT |
| LOW | …cluster/src/test/resources/ConfiguratorV3Duplicate.yml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/ConfiguratorV3.yml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/AppMultiServices.yml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/AppNoService.yml | 1 | # | COMMENT |
| LOW | …bbo-cluster/src/test/resources/ServiceGroupVersion.yml | 1 | # | COMMENT |
| LOW | …ter/src/test/resources/ConfiguratorV3Compatibility.yml | 1 | # | COMMENT |
| LOW | …o-cluster/src/test/resources/DestinationRuleTest2.yaml | 1 | # | COMMENT |
| LOW | …bo-cluster/src/test/resources/DestinationRuleTest.yaml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/ServiceNoRule.yml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/ServiceMultiApps.yml | 1 | # | COMMENT |
| LOW | …uster/src/test/resources/ConsumerSpecificProviders.yml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/ScriptRule.yaml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/ServiceNoApp.yml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/ConditionRule.yml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/TagRule.yml | 1 | # | COMMENT |
| LOW | …bbo-cluster/src/test/resources/VirtualServiceTest.yaml | 1 | # | COMMENT |
| LOW | dubbo-cluster/src/test/resources/AppAnyServices.yml | 1 | # | COMMENT |
| LOW | …/rpc/cluster/router/mesh/rule/DestinationRuleTest.java | 41 | DestinationRule.class); | COMMENT |
| LOW | …ain/java/org/apache/dubbo/rpc/cluster/RouterChain.java | 161 | // `availableInvokers` | COMMENT |
| LOW | …ain/java/org/apache/dubbo/rpc/cluster/RouterChain.java | 181 | // Clean up temp variable. | COMMENT |
| LOW | …/dubbo/rpc/cluster/support/AbstractClusterInvoker.java | 261 | COMMENT | |
| LOW | …apache/dubbo/metrics/aggregate/DubboMergingDigest.java | 181 | if (bufferSize == -1) { | COMMENT |
| LOW | .github/DISCUSSION_TEMPLATE/general.yml | 1 | # | COMMENT |
| LOW | .github/DISCUSSION_TEMPLATE/question.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/1-bug.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/config.yml | 1 | # | COMMENT |
| LOW | .github/ISSUE_TEMPLATE/2-feature.yml | 1 | # | COMMENT |
| LOW | …ltipleRegistryCenterExportProviderIntegrationTest.java | 181 | Assertions.assertEquals( | COMMENT |
| LOW | …ltipleRegistryCenterExportProviderIntegrationTest.java | 201 | // that can register the mapping relationship. This is really a problem that needs to be fix. | COMMENT |
| LOW | …/SingleRegistryCenterDubboProtocolIntegrationTest.java | 261 | // MetadataInfo's service exists or not | COMMENT |
| LOW | …SingleRegistryCenterExportProviderIntegrationTest.java | 201 | Assertions.assertTrue(exporterListener.getFilters().contains(filter)); | COMMENT |
| LOW | …he/dubbo/config/deploy/DefaultApplicationDeployer.java | 741 | // executorRepository.getSharedExecutor().submit(() -> { | COMMENT |
| LOW | …bo/config/spring/schema/DubboBeanDefinitionParser.java | 121 | int counter = 0; | COMMENT |
| LOW | …ubbo/config/spring/reference/ReferenceBeanBuilder.java | 361 | // attributes.put(ReferenceAttributes.AUTH, auth); | COMMENT |
| LOW | …ubbo/config/spring/reference/ReferenceBeanBuilder.java | 381 | // | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ol/tri/transport/TripleHttp2ClientResponseHandler.java | 34 | public final class TripleHttp2ClientResponseHandler extends SimpleChannelInboundHandler<Http2StreamFrame> { | CODE |
| LOW | …pache/dubbo/rpc/protocol/tri/route/RequestHandler.java | 30 | public final class RequestHandler implements RpcInvocationBuildContext { | CODE |
| LOW | …/tri/rest/support/swagger/SwaggerUIRequestHandler.java | 48 | public class SwaggerUIRequestHandler implements OpenAPIRequestHandler { | CODE |
| LOW | …ocol/tri/rest/support/swagger/RedocRequestHandler.java | 43 | public class RedocRequestHandler implements OpenAPIRequestHandler { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ava/org/apache/dubbo/rpc/protocol/tri/RequestPath.java | 35 | // └─── path ────┘ └─ method ─┘ └────────── path ───────────┘ └─ method ─┘ | COMMENT |