The java implementation of Apache Dubbo. An RPC and microservice framework.
This report summarizes scanner evidence for apache/dubbo, a Java project with 41,580 GitHub stars. SynthScan examined 509,191 lines of code across 4363 source files, recording 237 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 4.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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 60 finding(s).
Are imports declared and package/API names verified? 176 finding(s).
Are wrappers, guards, and repeated structures necessary? 5 finding(s).
Which changes need focused human review? 237 finding(s).
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.
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.
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.
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 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.
| 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 | serviceDiscoveryRegistry.unsubscribe(url, testServiceListener); | 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 |