Repository Analysis

apache/dubbo

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

4.6 Likely human-written View on GitHub
4.6
Adjusted Score
4.6
Raw Score
100%
Time Factor
2026-05-29
Last Push
41,513
Stars
Java
Language
507,271
Lines of Code
4353
Files
236
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 176HIGH 0MEDIUM 1LOW 59

Pattern Findings

236 matches across 4 categories. Click a row to expand file-level details.

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