{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"id":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"]}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"]}}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"GeneralTypeConverter.doConvert (cyclomatic 198): GeneralTypeConverter.doConvert has cyclomatic complexity 198 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacc528e94a9e42b8b7995d087859e2742d91eb023d61bcfa0263bdeac51d0ea"}},{"ruleId":"D1","level":"warning","message":{"text":"CompatibleTypeUtils.compatibleTypeConvert (cyclomatic 71): CompatibleTypeUtils.compatibleTypeConvert has cyclomatic complexity 71 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/CompatibleTypeUtils.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0f0f4de6c04e0588bda92dcc98ea48efc88bf658cae73d1147c8f47e1f4194"}},{"ruleId":"D1","level":"warning","message":{"text":"PojoUtils.realize1 (cyclomatic 63): PojoUtils.realize1 has cyclomatic complexity 63 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e2a51fbd6b0ac164089877728da6f88a2c27a80022888af71df543d097baef"}},{"ruleId":"D1","level":"warning","message":{"text":"PathParser.parseSegments (cyclomatic 60): PathParser.parseSegments has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/PathParser.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b032cdce1005bf55112afc31c5f60f3c870b363a208e7a9f0e07a59de6218635"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboBeanDefinitionParser.parse (cyclomatic 41): DubboBeanDefinitionParser.parse has cyclomatic complexity 41 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fefb19038137470da56e59ef349f6d5df2513948a79709f5b8acfa81711f096"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralTypeConverter.doConvert (cyclomatic 40): GeneralTypeConverter.doConvert has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1df818a893360adb69a26c1ed1958cd2254d0586f1e0dc934b4120b781e2753"}},{"ruleId":"D1","level":"warning","message":{"text":"RestUtils.replacePlaceholder (cyclomatic 40): RestUtils.replacePlaceholder has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"249737f353cd34aa37782e4e283129c32c890374fb4d0652eb224704e34d4d1e"}},{"ruleId":"D1","level":"warning","message":{"text":"TelnetCodec.decode (cyclomatic 40): TelnetCodec.decode has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/codec/TelnetCodec.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9444cceaf9acbed25faefcfb5c663c3c94bea7613f6dd121c60536154f694cd"}},{"ruleId":"D1","level":"warning","message":{"text":"PathUtils.normalize (cyclomatic 39): PathUtils.normalize has cyclomatic complexity 39 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/PathUtils.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5c168b73377bb4fc50b31f5812142a1ff2b1126d9e6b560c6787a084d87b35"}},{"ruleId":"D1","level":"warning","message":{"text":"DateUtils.parse (cyclomatic 38): DateUtils.parse has cyclomatic complexity 38 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/DateUtils.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2d2f2458b2f7a77058dc8908abbcce5150eb5117a6fc0ce4fc06a0f6a0c272"}},{"ruleId":"D1","level":"warning","message":{"text":"PathParser.transformSegments (cyclomatic 36): PathParser.transformSegments has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/PathParser.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"57414400dc6ca96a7242f841853d5a6e8fbec597134e75c3e08687af46dec23b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectionPackableMethod.needWrap (cyclomatic 35): ReflectionPackableMethod.needWrap has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/ReflectionPackableMethod.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c75d2ae73027b379c877fc5290379bd7a9a41d01af907e554a9e15a12a85996a"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboOpenApiToolConverter.extractParameterSchema (cyclomatic 35): DubboOpenApiToolConverter.extractParameterSchema has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/tool/DubboOpenApiToolConverter.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"611f096bb9e595a8104c6e140ab1e2b1f33fd3e8863917f3409a7006c6d7686d"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectUtils.getEmptyObject (cyclomatic 34): ReflectUtils.getEmptyObject has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"072b3f84edc91cf4567869963e3a33c009af8e710c672f28e83b0c9b262235e0"}},{"ruleId":"D1","level":"warning","message":{"text":"BeanMeta.resolvePropertyMap (cyclomatic 33): BeanMeta.resolvePropertyMap has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/BeanMeta.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba8be0a1d70a76038c8a4fe2eb477ed1d967c822dca724768aad991f7e537ef2"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractConfig.assignProperties (cyclomatic 33): AbstractConfig.assignProperties has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f3dd1b2cb843d5c5663dc32cbb37ab9ea2adef952cc00d9d6b1f66f66d0a8c"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlUtils.parseURL (cyclomatic 30): UrlUtils.parseURL has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"d590351cbd63969f68454bba02d81fec43143f192e3e8a5374cb070b0ce4503b"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractConfig.appendParameters0 (cyclomatic 30): AbstractConfig.appendParameters0 has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"2997a5e083431a6f8ca032f135ed772b47bd20ddc1b7015966b861b69824820d"}},{"ruleId":"D1","level":"warning","message":{"text":"PojoUtils.generalize (cyclomatic 29): PojoUtils.generalize has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1337ee6966ac02bcd69e2030cea46a1830091f451a759f2a0d9254e9c61a3c1"}},{"ruleId":"D1","level":"warning","message":{"text":"MergeableClusterInvoker.doInvoke (cyclomatic 27): MergeableClusterInvoker.doInvoke has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/MergeableClusterInvoker.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3f82ae924fe751e6f50718b082078d13fbe91e5236f6131e2494395134e180d"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericFilter.invoke (cyclomatic 27): GenericFilter.invoke has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6341a695237fe7e315ba60e100489fa317a661b466b3c6f902f915de966c5ee"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboMergingDigest.cdf (cyclomatic 27): DubboMergingDigest.cdf has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/DubboMergingDigest.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4fdb6b71068ab2e8e94c52cfaab23dc66bfc5bf8e226af214429cd0ba3a6ac6"}},{"ruleId":"D1","level":"warning","message":{"text":"DefinitionMerger.addSchemas (cyclomatic 26): DefinitionMerger.addSchemas has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionMerger.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9711c9b2cfb3379d23ae4a5702c2cbbcb0280f83456349e25f02f565d0f5e3"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboMcpStreamableTransportProvider.handlePost (cyclomatic 26): DubboMcpStreamableTransportProvider.handlePost has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"9289d5cca202ec0539f3de3de23c24ef7701d1f6ab29ab45801a0c40739616f2"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralTypeConverter.convertCollection (cyclomatic 25): GeneralTypeConverter.convertCollection has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ced742eab0e837af8c19690f1cae6f6c5599c853f772461d001f0b905bff88"}},{"ruleId":"D1","level":"warning","message":{"text":"Wrapper.makeWrapper (cyclomatic 25): Wrapper.makeWrapper has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Wrapper.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f55977671a9de187e215ec030d5e81074d6f8dcfca3b3f6d3d489db6853f2855"}},{"ruleId":"D1","level":"warning","message":{"text":"PathUtils.combine (cyclomatic 24): PathUtils.combine has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/PathUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49e72d2bae083e0f8e9b960562e19b2df223f8c474d627a55f859921c9fea37"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaBeanSerializeUtil.serializeInternal (cyclomatic 24): JavaBeanSerializeUtil.serializeInternal has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"201ff646c769ddf325e8f6b1cfefa29bae52f48ecd84b25df9be8620abcadaaf"}},{"ruleId":"D1","level":"warning","message":{"text":"ExtensionLoader.getActivateExtension (cyclomatic 24): ExtensionLoader.getActivateExtension has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"af53224e313e005809fb56bea5edd7e53c2a0da844624028f163e6cce58ddc43"}},{"ruleId":"D1","level":"warning","message":{"text":"Matcher.isMatch (cyclomatic 24): Matcher.isMatch has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/ServiceKey.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd17015b66ee9e140cceca8b10bf25a67329d024ec0f05b3043e5bdd153d024e"}},{"ruleId":"D1","level":"warning","message":{"text":"CountTelnet.execute (cyclomatic 24): CountTelnet.execute has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/CountTelnet.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2fe240cb2e3f9755f41968cf1f97812e1929bf0d985b0ff12efd00147850296"}},{"ruleId":"D1","level":"warning","message":{"text":"InvokeTelnet.execute (cyclomatic 24): InvokeTelnet.execute has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/InvokeTelnet.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2f6274988dd4c4dd4d01fd531b905c2a77ff6946a6355b79a978cc86ec4264f"}},{"ruleId":"D1","level":"warning","message":{"text":"PageServlet.doPost (cyclomatic 24): PageServlet.doPost has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/PageServlet.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d08b3f5a38db67559f9dd68dffea9791da8ecfe6d468bb594085282a33c09416"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboMethodMatch.isMatch (cyclomatic 23): DubboMethodMatch.isMatch has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mesh/rule/virtualservice/match/DubboMethodMatch.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d215b73c97316641c87d572e47f26f1961df49fb77f8010a771b82d46428fe95"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralTypeConverter.createCollection (cyclomatic 23): GeneralTypeConverter.createCollection has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"a292c02f4b11c1313e73fa9fa57e7bfedd2918ba3b8d6082258a801d0a3938b2"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestMapping.compareTo (cyclomatic 23): RequestMapping.compareTo has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/RequestMapping.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a74fdf90dbf49b3c2b0869ba4a92869e46956c4a722fd429162370ce0bb40aa"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivateComparator.compare (cyclomatic 23): ActivateComparator.compare has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/support/ActivateComparator.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2594068b06f79e7cf1d5a0e7e32b35fc521c4aeb7a834ef93c8a173001cb8ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ReflectUtils.name2class (cyclomatic 23): ReflectUtils.name2class has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"797740d6643f56d2f72b6d1e7a9dcf59017f3950d3ec7478ad4bf0c6f0ab2a52"}},{"ruleId":"D1","level":"warning","message":{"text":"TagStateRouter.doRoute (cyclomatic 22): TagStateRouter.doRoute has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/tag/TagStateRouter.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"27372da8fc1e5cce949fd2cb3dff9b5c6dda0471af9bea0f345c6430ad428458"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultRequestMappingRegistry.lookup (cyclomatic 22): DefaultRequestMappingRegistry.lookup has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c7de77c63f942013967ecb97c1b0a90148aa3bea2b33c7fcce7f3c624201c5"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaBeanSerializeUtil.deserializeInternal (cyclomatic 22): JavaBeanSerializeUtil.deserializeInternal has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb0790ae8388f1a0920a418c9a2df9cd58326fd694f58e221ea2008016704c6"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassGenerator.toClass (cyclomatic 22): ClassGenerator.toClass has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2a0dd7e345c4d2347f07b5812f72a8290c6df6792aa8547edec5223f72cebd1"}},{"ruleId":"D1","level":"warning","message":{"text":"URLParam.doAddParameters (cyclomatic 22): URLParam.doAddParameters has cyclomatic complexity 22 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"3492cb0d5d0ae6633b7e424aeb5c9df7f794d6efb2da3e35b87d7c8b69540fb7"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractInterfaceBuilder.build (cyclomatic 22): AbstractInterfaceBuilder.build has cyclomatic complexity 22 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractInterfaceBuilder.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8a2e1fe5b4e6557761855c8780b287371d4bac25d11b455af272f61852e4947"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericImplFilter.onResponse (cyclomatic 21): GenericImplFilter.onResponse has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericImplFilter.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c1e8c7e87ebddf06b0cdccddd360b33e50f7e95a41cd9c41d659df6e2b5f47"}},{"ruleId":"D1","level":"warning","message":{"text":"NetUtils.matchIpRange (cyclomatic 21): NetUtils.matchIpRange has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"8873233705afbc463f776b8c3891554c28aba2e935b2ba5c1604e37cd4505124"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboMergingDigest.merge (cyclomatic 21): DubboMergingDigest.merge has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/DubboMergingDigest.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec46b54ff22de75f2661abdf405c69f0b48cd30eb512c387db27a5a3216b4a0f"}},{"ruleId":"D1","level":"warning","message":{"text":"TelnetUtils.toTable (cyclomatic 21): TelnetUtils.toTable has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e86d146f497145b700411ed39b862df665938691670be0b8ad9006d06b1fff"}},{"ruleId":"D1","level":"warning","message":{"text":"CacheableFailbackRegistry.stripOffVariableKeys (cyclomatic 20): CacheableFailbackRegistry.stripOffVariableKeys has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/CacheableFailbackRegistry.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e4efa7fcc0bf2c821015192bb004decd4d67770b3b35089ec6a18db7f561a7"}},{"ruleId":"D1","level":"warning","message":{"text":"MultiDestConditionRouter.doRoute (cyclomatic 20): MultiDestConditionRouter.doRoute has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/MultiDestConditionRouter.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03991a1583ac1a4df4c49ee67cc939dfdb06caddcc3504f2aacc8a51529217e"}},{"ruleId":"D1","level":"warning","message":{"text":"BeanArgumentBinder.bind (cyclomatic 20): BeanArgumentBinder.bind has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"46112cbf4dc382aad3d25e7721376cb434c7d293d145f6f2bb6b3f5f5e4bf974"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralTypeConverter.createMap (cyclomatic 20): GeneralTypeConverter.createMap has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f76e68deb7237c8a0bee1e9368e8d34c2662e8e320c181ef3f09bc044403cd"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeUtils.createCollection (cyclomatic 20): TypeUtils.createCollection has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cec9c41188f444bf979132597a2e41586c131290d183d092073c9045e82e99"}},{"ruleId":"D1","level":"warning","message":{"text":"Mixin.mixin (cyclomatic 20): Mixin.mixin has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Mixin.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f950b535fd6e911ec54dffb29203fefeeef812401dce9a67b0de890d95ac03c9"}},{"ruleId":"D1","level":"warning","message":{"text":"Configuration.convert (cyclomatic 20): Configuration.convert has cyclomatic complexity 20 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/config/Configuration.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bcea1d3117f7d7e29b08631bc8528188b83247dcf794db1a768be7321eaa62e"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceDiscoveryRegistryDirectory.toInvokers (cyclomatic 19): ServiceDiscoveryRegistryDirectory.toInvokers has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a57c5c9c858481d5f1de5410c1720a008a92f1983f5c2d7223102601e823c10"}},{"ruleId":"D1","level":"warning","message":{"text":"MockInvoker.parseMockValue (cyclomatic 19): MockInvoker.parseMockValue has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/support/MockInvoker.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c881600c68f983e2cbf1476bb2c26733d5c95413537e72a21a836cd04a47ca"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralTypeConverter.convertMap (cyclomatic 19): GeneralTypeConverter.convertMap has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ead39745da17185bb32490cef81f458a0ad74b7d72c74a13843d41edc2f35bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ContentNegotiator.negotiate (cyclomatic 19): ContentNegotiator.negotiate has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/ContentNegotiator.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b372d480833d6a7f3848b77c6b10e03de93314bfcaa8c9ff547a6dc7c8df227e"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestMapping.doMatch (cyclomatic 19): RequestMapping.doMatch has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/RequestMapping.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7a6f0e6fd6293b82bdc21be723ce985af5204594260f4121a0a2cf2f3703f7"}},{"ruleId":"D1","level":"warning","message":{"text":"JVMUtil.getThreadDumpString (cyclomatic 19): JVMUtil.getThreadDumpString has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/JVMUtil.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4729078b70be91dbe3fd107e7903d75c2500cc292127ad8e0ca746f0ee309e7"}},{"ruleId":"D1","level":"warning","message":{"text":"UrlUtils.valueOf (cyclomatic 19): UrlUtils.valueOf has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7cb7dcf27160e84426355efafe79470e94f9f684ca218c372afdd6ca44ea652"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractServiceBuilder.build (cyclomatic 19): AbstractServiceBuilder.build has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractServiceBuilder.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d145b3e63ac43e49c7fc4236d306c35ff0abeab6a5fa3102a0f9079981aebe6"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultApplicationDeployer.calculateState (cyclomatic 19): DefaultApplicationDeployer.calculateState has cyclomatic complexity 19 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c034ad2fa3099783267a21eea7cb72fe41529086a26ae963fb136afa364332fe"}},{"ruleId":"D1","level":"warning","message":{"text":"ReferenceAnnotationBeanPostProcessor.registerReferenceBean (cyclomatic 19): ReferenceAnnotationBeanPostProcessor.registerReferenceBean has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b5367ab57e670fadccbb77ac6138f49983f55abc23ea9e1f737c2be9ba7c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"TraceTelnetHandler.telnet (cyclomatic 19): TraceTelnetHandler.telnet has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/TraceTelnetHandler.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f8d78775b64765e6f07c1f7adedc7af8ced9eb2b1b184aae032516b76d299b"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractClusterInvoker.reselect (cyclomatic 18): AbstractClusterInvoker.reselect has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/AbstractClusterInvoker.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6f137e7d9e743a4522385890d7124f8ded856d24665d8cd305d8151f47ec15"}},{"ruleId":"D1","level":"warning","message":{"text":"FallbackArgumentResolver.doResolveValue (cyclomatic 18): FallbackArgumentResolver.doResolveValue has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/FallbackArgumentResolver.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2156caffbeeeb376abedd830db2b1cb53887f9c15a965ee923c3ac3466277a"}},{"ruleId":"D1","level":"warning","message":{"text":"ParamArgumentResolver.resolveCollectionValue (cyclomatic 18): ParamArgumentResolver.resolveCollectionValue has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f64683a332c91abf1bfe868d64dea9bf832bb656040303f9a1d3516ee7bb72a"}},{"ruleId":"D1","level":"warning","message":{"text":"DefinitionResolver.resolveOperation (cyclomatic 18): DefinitionResolver.resolveOperation has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionResolver.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ab01e6dcc5d7c8613fb8927910d9ac99c76de9a49867fb36261cb507a7c296c"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeUtils.createMap (cyclomatic 18): TypeUtils.createMap has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45f18dfe51b787672a069283aeaf81f883130ae93a7148c6cd9ecee88a25e59"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboCodec.decodeBody (cyclomatic 18): DubboCodec.decodeBody has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a856db2be48ed8273f0ac433379638dd50f557b2ee5c4edcf1d720db7e04b7"}},{"ruleId":"D1","level":"warning","message":{"text":"GenericFilter.onResponse (cyclomatic 18): GenericFilter.onResponse has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb8a18004a966fc2f78137fde2262c621739b463cad3c5e2737784216af378c"}},{"ruleId":"D1","level":"warning","message":{"text":"URLParam.removeParameters (cyclomatic 18): URLParam.removeParameters has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"658d6030aa4f3d86dcfcd12b4d47987c08f9413d9f425ae097f5476fc037bd66"}},{"ruleId":"D1","level":"warning","message":{"text":"McpServiceFilter.getMcpToolConfig (cyclomatic 18): McpServiceFilter.getMcpToolConfig has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dc809fb736da6a92deb0a0bce6fddc7ed078ec1f7f30b2810c3eb7220ba8fe"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractGenerator.buildMethodContext (cyclomatic 18): AbstractGenerator.buildMethodContext has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-compiler/src/main/java/org/apache/dubbo/gen/AbstractGenerator.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed49b6ebac5ca70bab8d23f4f2d92594bf27719688b5107f6be32ee215a03f8a"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceInstancesChangedListener.doOnEvent (cyclomatic 17): ServiceInstancesChangedListener.doOnEvent has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/event/listener/ServiceInstancesChangedListener.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b2efcc61b44c87fb7b146b570fc227aa09dc005cb5037a531f484c6b6324eb3"}},{"ruleId":"D1","level":"warning","message":{"text":"ExporterChangeableWrapper.unregister (cyclomatic 17): ExporterChangeableWrapper.unregister has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"a15e98ca0cfdccb15a4b09e4b10d08df1a82de2535cd0c171064cca06490f32e"}},{"ruleId":"D1","level":"warning","message":{"text":"Node.getChild (cyclomatic 17): Node.getChild has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1d1e4687c71bd81c7676250221607847788a2d7d6c54b9d88b0cbf3b012c29"}},{"ruleId":"D1","level":"warning","message":{"text":"DefinitionResolver.resolveParameter (cyclomatic 17): DefinitionResolver.resolveParameter has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionResolver.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c667b7d3c602c8e41de0662618f190f20b587ba9e95adb936d6e0d800042030a"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneralTypeConverter.toBoolean (cyclomatic 17): GeneralTypeConverter.toBoolean has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"206ee376fe7bec5ebb525de199d763f6c385aaed6ab174bb68aa4e9f2a7c4a5b"}},{"ruleId":"D1","level":"warning","message":{"text":"PathParser.toRegex (cyclomatic 17): PathParser.toRegex has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/PathParser.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe4fc073643caad53fda21031fb409e509395583699caee33e51ec05c7c96cf"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultRequestMappingRegistry.register (cyclomatic 17): DefaultRequestMappingRegistry.register has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f07966de1beeb9f76f76e22e4ca14ba72216ec7993512aca267be3765dbae1"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeUtils.buildGenericTypeString (cyclomatic 17): TypeUtils.buildGenericTypeString has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"abb21f16f7e033cc61021104a2b687a551c21fb5d615938bf22a50524d0484d8"}},{"ruleId":"D1","level":"warning","message":{"text":"DecodeableRpcInvocation.drawPts (cyclomatic 17): DecodeableRpcInvocation.drawPts has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DecodeableRpcInvocation.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd7602e9286e23c38d3edbd7021db4dd3ff900fc413257d5bad243fb404ed70"}},{"ruleId":"D1","level":"warning","message":{"text":"JavaBeanSerializeUtil.getConstructorArg (cyclomatic 17): JavaBeanSerializeUtil.getConstructorArg has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2d1fc39bd98f299ffae901be3f57fc0bd51a268c9d198fef09dfaefb6d9ee6"}},{"ruleId":"D1","level":"warning","message":{"text":"StringUtils.toBoolean (cyclomatic 17): StringUtils.toBoolean has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd802d926de5c6f0be2babf137061694dd5d31398b72d06b36840839b69fd314"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractConfigManager.checkUniqueConfig (cyclomatic 17): AbstractConfigManager.checkUniqueConfig has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/context/AbstractConfigManager.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a49d3d8562dd85f2decb23b146b658e007c08d3ee5722a6a2d5db0887477da"}},{"ruleId":"D1","level":"warning","message":{"text":"InternalServiceConfigBuilder.port (cyclomatic 17): InternalServiceConfigBuilder.port has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/InternalServiceConfigBuilder.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"45f271bc1cc417c591f6f0efe342485ff789ee9d1fe3369daa31209c07924693"}},{"ruleId":"D1","level":"warning","message":{"text":"SpringStatusChecker.check (cyclomatic 17): SpringStatusChecker.check has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/status/SpringStatusChecker.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9953a4e7021b0a1238d90727a5c2765e16fab55df8c523c231b80881306fe324"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractConfig.overrideWithConfig (cyclomatic 17): AbstractConfig.overrideWithConfig has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27f5a2c8683dc878b7e99399a74cead8ef87f3cc3af365eb7bfed4bec8f11b0"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboMergingDigest.quantile (cyclomatic 17): DubboMergingDigest.quantile has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/DubboMergingDigest.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c56b72893f2c76bf359c11fcde40ce1d9cc286a83216f6bafaa76395083543c"}},{"ruleId":"D1","level":"warning","message":{"text":"InvokeTelnet.isMatch (cyclomatic 17): InvokeTelnet.isMatch has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/InvokeTelnet.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25a49eadcddad9e8e97f2afd8f1c362891a713c20677ac0afd8c81c0cf2d2f6"}},{"ruleId":"D1","level":"warning","message":{"text":"TelnetCodec.toString (cyclomatic 17): TelnetCodec.toString has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/codec/TelnetCodec.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4df7b9be88b89062be66ca87043624c9a2fb9e870e9777bf594372e420b600e"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrationRuleListener.process (cyclomatic 16): MigrationRuleListener.process has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationRuleListener.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87cdc97973d22bd610dd12eb890840c06dca2b74ccce82837917da37642b909"}},{"ruleId":"D1","level":"warning","message":{"text":"AbstractConditionMatcher.isMatch (cyclomatic 16): AbstractConditionMatcher.isMatch has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/matcher/AbstractConditionMatcher.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc82213d9335303bd6de1f7bd4b318720967d1678982c5f3fdab28e9c4f0c979"}},{"ruleId":"D1","level":"warning","message":{"text":"ZoneAwareClusterInvoker.doInvoke (cyclomatic 16): ZoneAwareClusterInvoker.doInvoke has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/registry/ZoneAwareClusterInvoker.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b2f3e4ff8175286a93369a9bca7b0440ea358c65b394da57a620278e2ea3e93"}},{"ruleId":"D1","level":"warning","message":{"text":"BroadcastClusterInvoker.doInvoke (cyclomatic 16): BroadcastClusterInvoker.doInvoke has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/BroadcastClusterInvoker.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6f41014e62e5223c1d52d6716dff16b48ffb387d9bf00270f3bfe0199a86e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ParamArgumentResolver.resolveMapValue (cyclomatic 16): ParamArgumentResolver.resolveMapValue has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"41299d203b34bd83c41a5c618558e68dd0951816349f97d8e59d308f16fd9e72"}},{"ruleId":"D1","level":"warning","message":{"text":"MediaTypeExpression.compatibleWithMediaType (cyclomatic 16): MediaTypeExpression.compatibleWithMediaType has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/MediaTypeExpression.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"97701e333b8e8b327449169d80d0ef33a3fbd62120de2bbd9cb1ccca4a1847bd"}},{"ruleId":"D1","level":"warning","message":{"text":"Bytes.base642bytes (cyclomatic 16): Bytes.base642bytes has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"767bccfcd58e1b9d7c43c70d440f5c7e62bf281770f7611d5df9652258f6051e"}},{"ruleId":"D1","level":"warning","message":{"text":"Bytes.base642bytes (cyclomatic 16): Bytes.base642bytes has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb1d36427375ef1fc78a24898859ce109f4d0fceb2d221af56f9c0b30667cd1d"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultSerializeClassChecker.loadClass0 (cyclomatic 16): DefaultSerializeClassChecker.loadClass0 has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"d019dec9f7984ce1abf74c438347112ae34583f61e7f04b5a39acab25dea9fcf"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonCompatibilityUtil.checkType (cyclomatic 16): JsonCompatibilityUtil.checkType has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/JsonCompatibilityUtil.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"25b5f24da9246d8a654ea8ad1ffca5a1289e59f86c4afdf9bfc92afcfd55b72c"}},{"ruleId":"D1","level":"warning","message":{"text":"Log.equals (cyclomatic 16): Log.equals has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/Log.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7283557cbe26d19d703f2ea9af7dbeb9440afd0550fd20381117fe0bcb6d3a27"}},{"ruleId":"D1","level":"warning","message":{"text":"ConfigValidationUtils.loadMonitor (cyclomatic 16): ConfigValidationUtils.loadMonitor has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"57871d480afe7ce2ea91d5832a51b1d327a0708ae5fe76b9eab8f2f7ccd02d90"}},{"ruleId":"D1","level":"warning","message":{"text":"ReferenceBeanSupport.convertReferenceProps (cyclomatic 16): ReferenceBeanSupport.convertReferenceProps has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceBeanSupport.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"d051ec28387f74ce3d3183e845def7dd7e0a21bca243dc5d63f515b10af90438"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceInfo.extractServiceParams (cyclomatic 16): ServiceInfo.extractServiceParams has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"023b51b722a1dec6ef80c147da8d01c53dd2570fa53182b193aea1f99b0f6398"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboMcpGenericCaller.execute (cyclomatic 16): DubboMcpGenericCaller.execute has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/tool/DubboMcpGenericCaller.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe70d9d5e07327e700869bd3a743e976e58143d2a7351d587c240069c81a2e65"}},{"ruleId":"D1","level":"warning","message":{"text":"DubboMcpStreamableTransportProvider.handleGet (cyclomatic 16): DubboMcpStreamableTransportProvider.handleGet has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"322a237edc3e99873efec1bb425db48407b23720d3d083d1a64efa927306317a"}},{"ruleId":"D1","level":"warning","message":{"text":"ExchangeCodec.encodeResponse (cyclomatic 16): ExchangeCodec.encodeResponse has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"512f4385e74b8a84c235e5fa0e638aae40051335f61d2c0d715c3278592f2e3c"}},{"ruleId":"D1","level":"warning","message":{"text":"FileTest.readSPIUnexpectedResource (cyclomatic 16): FileTest.readSPIUnexpectedResource has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-test/dubbo-test-modules/src/test/java/org/apache/dubbo/dependency/FileTest.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"585a47ca0a375e155d88e47eb0864c3f4ff7e846a1e021b66e8d50a9ab12a592"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTypeConverter.doConvert (cognitive 240): GeneralTypeConverter.doConvert has cognitive complexity 240 (threshold 15). Drivers by points: if/else 147, ternaries 45, match/switch 19, loops 18, error handling 8, boolean chains 3 (nesting depth added 149). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0822ab68745a46f3a5daa93ada236ba67dcf6b0735734422cc04861a7de9c09"}},{"ruleId":"D2","level":"warning","message":{"text":"PojoUtils.realize1 (cognitive 201): PojoUtils.realize1 has cognitive complexity 201 (threshold 15). Drivers by points: if/else 120, ternaries 27, error handling 24, loops 21, boolean chains 9 (nesting depth added 127). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c40fc915850c2073f5ff113c16b35830eb5f9207b0b0f91e17b5872a903e18f"}},{"ruleId":"D2","level":"warning","message":{"text":"CompatibleTypeUtils.compatibleTypeConvert (cognitive 131): CompatibleTypeUtils.compatibleTypeConvert has cognitive complexity 131 (threshold 15). Drivers by points: if/else 96, boolean chains 18, error handling 12, loops 5 (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/CompatibleTypeUtils.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2485c495caec804b01482e8b3886ac30c1bfc36436330ccb097dd428d6edc13"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTypeConverter.doConvert (cognitive 115): GeneralTypeConverter.doConvert has cognitive complexity 115 (threshold 15). Drivers by points: if/else 76, loops 31, boolean chains 7, error handling 1 (nesting depth added 75). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"70a5806545ae340430ad3c0d85ee189c57f7cb2f7fdeaae25a4b96174b386932"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfig.assignProperties (cognitive 115): AbstractConfig.assignProperties has cognitive complexity 115 (threshold 15). Drivers by points: if/else 83, loops 17, error handling 12, boolean chains 3 (nesting depth added 81). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6b85095aaba88db3ecc088e6deba5d179b57fa36cb765ee0317ed67e7f2c4"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaBeanSerializeUtil.serializeInternal (cognitive 114): JavaBeanSerializeUtil.serializeInternal has cognitive complexity 114 (threshold 15). Drivers by points: if/else 65, loops 27, error handling 19, ternaries 2, boolean chains 1 (nesting depth added 88). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"009df03eecd50e533dd1c39cc2b2c547f400f15cb10e122675e967f07a0bd9f8"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboOpenApiToolConverter.extractParameterSchema (cognitive 102): DubboOpenApiToolConverter.extractParameterSchema has cognitive complexity 102 (threshold 15). Drivers by points: if/else 69, loops 17, boolean chains 10, ternaries 6 (nesting depth added 62). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/tool/DubboOpenApiToolConverter.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5a3c4bc9fb181b235881a365f5ac82d882b1e363f6aa76c4dd9f0c7d2304c6"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboBeanDefinitionParser.parse (cognitive 99): DubboBeanDefinitionParser.parse has cognitive complexity 99 (threshold 15). Drivers by points: if/else 85, boolean chains 5, ternaries 5, loops 4 (nesting depth added 55). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07b4086e5c47181fc0a2dd91a168942d1a64d45e47fb69857f0f4bd2fef0d68"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboMergingDigest.cdf (cognitive 89): DubboMergingDigest.cdf has cognitive complexity 89 (threshold 15). Drivers by points: if/else 78, loops 8, boolean chains 3 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/DubboMergingDigest.java"},"region":{"startLine":489}}}],"partialFingerprints":{"codehealthFindingId/v1":"921cace9d9eab7e19df26b1084a1e4433a3e7d1ebf044bcdcc483111cdadbf4a"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericFilter.invoke (cognitive 88): GenericFilter.invoke has cognitive complexity 88 (threshold 15). Drivers by points: if/else 51, error handling 20, loops 11, boolean chains 4, ternaries 2 (nesting depth added 59). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a2ce9cc3c5a52000b976e1301950510edd9e401d0b234027396acec7aa002c"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaBeanSerializeUtil.deserializeInternal (cognitive 82): JavaBeanSerializeUtil.deserializeInternal has cognitive complexity 82 (threshold 15). Drivers by points: if/else 54, loops 14, error handling 13, boolean chains 1 (nesting depth added 60). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d735c03b0ed8488f22f4d19586a5209f51b28103581f714dd409d345f3c01b5"}},{"ruleId":"D2","level":"warning","message":{"text":"PathParser.parseSegments (cognitive 80): PathParser.parseSegments has cognitive complexity 80 (threshold 15). Drivers by points: if/else 53, match/switch 19, ternaries 5, boolean chains 2, loops 1 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/PathParser.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1221ef3c174d8116e517ae1896aa3017d07855ba357b51b1e5feab6d2e75d38"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionMerger.addSchemas (cognitive 79): DefinitionMerger.addSchemas has cognitive complexity 79 (threshold 15). Drivers by points: if/else 41, loops 38 (nesting depth added 53). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionMerger.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"d521ab40eabf473d7014a997549f912129632f67d01ed4f051e2e31db9c93251"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetCodec.decode (cognitive 77): TelnetCodec.decode has cognitive complexity 77 (threshold 15). Drivers by points: if/else 49, loops 15, boolean chains 6, error handling 5, ternaries 2 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/codec/TelnetCodec.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc69cb015a32ed4ebc55b6c545dac8e00a934e7475b20b7201d7ec2831c5bd73"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfig.appendParameters0 (cognitive 73): AbstractConfig.appendParameters0 has cognitive complexity 73 (threshold 15). Drivers by points: if/else 56, boolean chains 9, ternaries 5, error handling 2, loops 1 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d2469a459bd79702e8bcc12a75abbd0c9275c7258affa552c468f14d2800c4"}},{"ruleId":"D2","level":"warning","message":{"text":"BeanMeta.resolvePropertyMap (cognitive 67): BeanMeta.resolvePropertyMap has cognitive complexity 67 (threshold 15). Drivers by points: if/else 42, ternaries 11, boolean chains 8, loops 4, error handling 2 (nesting depth added 35). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/BeanMeta.java"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbf9bc19d207b13bbc56699c02d411ee471e14fd2d9514b6fd89960a24930f3"}},{"ruleId":"D2","level":"warning","message":{"text":"RestUtils.replacePlaceholder (cognitive 66): RestUtils.replacePlaceholder has cognitive complexity 66 (threshold 15). Drivers by points: if/else 51, match/switch 8, ternaries 6, loops 1 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"62332c283060a530a632547e7563628a415299ae7cdb91b399fcab342abe49fe"}},{"ruleId":"D2","level":"warning","message":{"text":"PathUtils.normalize (cognitive 64): PathUtils.normalize has cognitive complexity 64 (threshold 15). Drivers by points: if/else 49, match/switch 12, ternaries 2, loops 1 (nesting depth added 42). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/PathUtils.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b455f8fcdc2f8f4ca592f6ea4384923b208fe58d819a704d36583238ed0f903"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericImplFilter.onResponse (cognitive 61): GenericImplFilter.onResponse has cognitive complexity 61 (threshold 15). Drivers by points: if/else 27, error handling 26, loops 5, boolean chains 3 (nesting depth added 39). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericImplFilter.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"de74ceff37158cf3d66f816dd116da75a79f31a42277b793b39d0f15adaa2672"}},{"ruleId":"D2","level":"warning","message":{"text":"MergeableClusterInvoker.doInvoke (cognitive 60): MergeableClusterInvoker.doInvoke has cognitive complexity 60 (threshold 15). Drivers by points: if/else 33, error handling 13, loops 13, boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/MergeableClusterInvoker.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"743cad86eeabb556b8a6a2800d0fa71fd1911aec1c3721d9ec1c032d3d16364b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionPackableMethod.needWrap (cognitive 59): ReflectionPackableMethod.needWrap has cognitive complexity 59 (threshold 15). Drivers by points: if/else 51, boolean chains 7, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/ReflectionPackableMethod.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ec60e9f37f0f77ce80d19f28a337df389fcff9bc8d0a3423d841803d73dc7d"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLoader.getActivateExtension (cognitive 59): ExtensionLoader.getActivateExtension has cognitive complexity 59 (threshold 15). Drivers by points: if/else 41, loops 13, boolean chains 4, ternaries 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a8ef31d1f4008c8f030cf1634b973f1bc5bac342e39f8243fdf5a2ecb01661"}},{"ruleId":"D2","level":"warning","message":{"text":"PageServlet.doPost (cognitive 59): PageServlet.doPost has cognitive complexity 59 (threshold 15). Drivers by points: if/else 47, ternaries 5, boolean chains 4, error handling 3 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/PageServlet.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1ab11ca0dbd79219392a6c7af64d56874404c927067cc14a22ff628742ed12"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeableRpcInvocation.drawPts (cognitive 58): DecodeableRpcInvocation.drawPts has cognitive complexity 58 (threshold 15). Drivers by points: if/else 33, loops 18, error handling 7 (nesting depth added 41). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DecodeableRpcInvocation.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"397df793e3fa42340a5d87b333ae5400c9247fa686aae8dd3bfdb6a4761b70fb"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTypeConverter.createMap (cognitive 55): GeneralTypeConverter.createMap has cognitive complexity 55 (threshold 15). Drivers by points: if/else 41, match/switch 6, error handling 4, loops 4 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":933}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bcf9da1dfcc8808a5b70bc0605af8c127d6a18ee5f0c436c3815cd5bad879d6"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboCodec.decodeBody (cognitive 55): DubboCodec.decodeBody has cognitive complexity 55 (threshold 15). Drivers by points: if/else 51, error handling 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"468e0a0f8c77836bbf70574954fb6cd367bb7e18ad9b838216b85a20261e9929"}},{"ruleId":"D2","level":"warning","message":{"text":"ExporterChangeableWrapper.unregister (cognitive 53): ExporterChangeableWrapper.unregister has cognitive complexity 53 (threshold 15). Drivers by points: if/else 39, loops 6, error handling 5, boolean chains 3 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java"},"region":{"startLine":1088}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f91762789e0c6adea07d61c64caa07511b19af8e0b98b0f3c86f987b79374bf"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTypeConverter.createCollection (cognitive 53): GeneralTypeConverter.createCollection has cognitive complexity 53 (threshold 15). Drivers by points: if/else 38, match/switch 5, error handling 4, loops 4, boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":794}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d8a44d0db06406e3b3dde18910dbb1b7093bfb970e68ed20153c19a0eaf771d"}},{"ruleId":"D2","level":"warning","message":{"text":"PathParser.transformSegments (cognitive 53): PathParser.transformSegments has cognitive complexity 53 (threshold 15). Drivers by points: if/else 35, match/switch 17, loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/PathParser.java"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d31ceea2e9bc83789d7edf8b61ca61695e87c36d950ee7a91db58124594e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeUtils.createMap (cognitive 53): TypeUtils.createMap has cognitive complexity 53 (threshold 15). Drivers by points: if/else 39, match/switch 6, error handling 4, loops 4 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"97101174b59fc6e11dc7f25c0221fed62ddbc709892fc4ea0adb68eea66130ff"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonCompatibilityUtil.checkType (cognitive 53): JsonCompatibilityUtil.checkType has cognitive complexity 53 (threshold 15). Drivers by points: if/else 43, loops 9, boolean chains 1 (nesting depth added 37). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/JsonCompatibilityUtil.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"11310555db6de327ce98998dc1f5863d5671de85e39b4b5b5af3f2b3c93d2b4b"}},{"ruleId":"D2","level":"warning","message":{"text":"URLParam.doAddParameters (cognitive 52): URLParam.doAddParameters has cognitive complexity 52 (threshold 15). Drivers by points: if/else 48, boolean chains 3, loops 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e74023d80656b44c4f54866aae30cbaf24e7fb2f7c3af532f43cfbd1f071cd7"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTypeConverter.convertCollection (cognitive 51): GeneralTypeConverter.convertCollection has cognitive complexity 51 (threshold 15). Drivers by points: if/else 41, match/switch 4, boolean chains 2, error handling 2, loops 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"2773abe23db7f25ee8913bbe766530fbdf0e05e6b7d2d38c22f1a6f9782d841c"}},{"ruleId":"D2","level":"warning","message":{"text":"Matcher.isMatch (cognitive 51): Matcher.isMatch has cognitive complexity 51 (threshold 15). Drivers by points: if/else 39, loops 8, boolean chains 4 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/ServiceKey.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0f7cad240f94e397a48f4c82e226b61b7dba288245acae38fd03a6f00e55f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpCommandDecoder.decode (cognitive 51): HttpCommandDecoder.decode has cognitive complexity 51 (threshold 15). Drivers by points: if/else 34, loops 10, error handling 7 (nesting depth added 36). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/decoder/HttpCommandDecoder.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3710907b7281013a9ce3a336f2e0b1d998542079351720423efd95f827e1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"BeanArgumentBinder.bind (cognitive 50): BeanArgumentBinder.bind has cognitive complexity 50 (threshold 15). Drivers by points: if/else 32, error handling 7, loops 6, ternaries 3, boolean chains 2 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b65171463bd0c0595cc4e0a24e000572e6a59f3ce202bfa007e695600a611162"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultRequestMappingRegistry.lookup (cognitive 50): DefaultRequestMappingRegistry.lookup has cognitive complexity 50 (threshold 15). Drivers by points: if/else 45, loops 3, boolean chains 2 (nesting depth added 29). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4599420b5021479e8133353ea1e1d3c57534cd0622f6e17574f594dce3ad836"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeUtils.createCollection (cognitive 50): TypeUtils.createCollection has cognitive complexity 50 (threshold 15). Drivers by points: if/else 35, match/switch 5, error handling 4, loops 4, boolean chains 2 (nesting depth added 32). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"d631df18d8c82a7546a51e0002651caf90e4a04af522d88f94b7546ada43f637"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceDiscoveryRegistryDirectory.toInvokers (cognitive 46): ServiceDiscoveryRegistryDirectory.toInvokers has cognitive complexity 46 (threshold 15). Drivers by points: if/else 32, error handling 4, ternaries 4, boolean chains 3, loops 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2fef34ab9aeba4aadc0381087154d95eae38bb5bf92a71dd45a8a668b2209a"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeUtils.buildGenericTypeString (cognitive 46): TypeUtils.buildGenericTypeString has cognitive complexity 46 (threshold 15). Drivers by points: if/else 33, loops 10, boolean chains 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"546102a1f6a1826dc01176e99c502ceb77d9b9d8556f7058dfcdf1f7f0b40119"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivateComparator.compare (cognitive 46): ActivateComparator.compare has cognitive complexity 46 (threshold 15). Drivers by points: if/else 32, loops 6, ternaries 5, boolean chains 3 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/support/ActivateComparator.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"45db5d18a2017211119768af14e8ac57a5ca070c047a118842a3c80af6e7d6ed"}},{"ruleId":"D2","level":"warning","message":{"text":"PojoUtils.generalize (cognitive 46): PojoUtils.generalize has cognitive complexity 46 (threshold 15). Drivers by points: if/else 25, loops 10, error handling 6, boolean chains 3, ternaries 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1b39bfe1f2e832544c359a030bb56d55cb2834fc20a44d353a14aa83ec0b0b0"}},{"ruleId":"D2","level":"warning","message":{"text":"TagStateRouter.doRoute (cognitive 45): TagStateRouter.doRoute has cognitive complexity 45 (threshold 15). Drivers by points: if/else 41, boolean chains 3, ternaries 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/tag/TagStateRouter.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7fd0caf92c31be16956f9ffbc01c32380243e9b821cf1b75f193c9bd53d47a6"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.parseURL (cognitive 45): UrlUtils.parseURL has cognitive complexity 45 (threshold 15). Drivers by points: if/else 30, ternaries 6, loops 5, boolean chains 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"6264164c33dff1fe2dff416c4e010de28c97a845b3b53c7eedcc2706ff902738"}},{"ruleId":"D2","level":"warning","message":{"text":"Wrapper.makeWrapper (cognitive 44): Wrapper.makeWrapper has cognitive complexity 44 (threshold 15). Drivers by points: if/else 25, loops 14, error handling 3, boolean chains 1, ternaries 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Wrapper.java"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fc913e52cac4d5b42d7b529081e73dd08d896a3e91fdfbd78d3b7cd87abb3a"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectUtils.getEmptyObject (cognitive 44): ReflectUtils.getEmptyObject has cognitive complexity 44 (threshold 15). Drivers by points: if/else 27, boolean chains 9, error handling 5, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fb6c4ae54d2ce8b53d25efa09510cd84cfbc1f7eb287f86d1b9428caf76adb1"}},{"ruleId":"D2","level":"warning","message":{"text":"FallbackArgumentResolver.doResolveValue (cognitive 43): FallbackArgumentResolver.doResolveValue has cognitive complexity 43 (threshold 15). Drivers by points: if/else 31, ternaries 8, error handling 3, boolean chains 1 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/FallbackArgumentResolver.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"669d43790201b0a5920c12694cbd554ae724b73fd3be4529322afc6db53d3a7f"}},{"ruleId":"D2","level":"warning","message":{"text":"PathUtils.combine (cognitive 43): PathUtils.combine has cognitive complexity 43 (threshold 15). Drivers by points: if/else 29, ternaries 8, boolean chains 6 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/PathUtils.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a99e0fb47dd6ff804cc4e865d0e90a9d814b196834293c9e69e3b30102b9ac4a"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboMcpStreamableTransportProvider.handlePost (cognitive 43): DubboMcpStreamableTransportProvider.handlePost has cognitive complexity 43 (threshold 15). Drivers by points: if/else 36, error handling 4, boolean chains 3 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"0516e8f300da5fef0d5d078ea981c6e37e4b9fd04a8789fa11f2d5ccf786d12f"}},{"ruleId":"D2","level":"warning","message":{"text":"PojoUtils.createMap (cognitive 42): PojoUtils.createMap has cognitive complexity 42 (threshold 15). Drivers by points: error handling 21, if/else 21 (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"701eeb2ac8350437bf163b4a75aad66789f0dfe582f6d340fde707ff36fbace8"}},{"ruleId":"D2","level":"warning","message":{"text":"PortTelnet.execute (cognitive 42): PortTelnet.execute has cognitive complexity 42 (threshold 15). Drivers by points: if/else 33, loops 9 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/PortTelnet.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9704d4fd597033467d06806901b5cb3528e4829300b695ec327586cf719ed2c"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetUtils.toTable (cognitive 42): TelnetUtils.toTable has cognitive complexity 42 (threshold 15). Drivers by points: loops 27, if/else 12, ternaries 3 (nesting depth added 22). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"652658fe2f6d32487f621141bf551f0ef62bc9ab6356266430fa9cb74e28153a"}},{"ruleId":"D2","level":"warning","message":{"text":"InvokeTelnet.execute (cognitive 41): InvokeTelnet.execute has cognitive complexity 41 (threshold 15). Drivers by points: if/else 34, error handling 3, loops 2, boolean chains 1, ternaries 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/InvokeTelnet.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0665cee12aef1f2016dde077db23b37b70a5dc4afb82b0ad10905dd348a05b0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigValidationUtils.loadRegistries (cognitive 40): ConfigValidationUtils.loadRegistries has cognitive complexity 40 (threshold 15). Drivers by points: if/else 32, loops 6, boolean chains 2 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc31b526cf1910ab6e7fe5a0fecf8c530c6e10f7c933344c970ee336c95bb6c"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfig.overrideWithConfig (cognitive 40): AbstractConfig.overrideWithConfig has cognitive complexity 40 (threshold 15). Drivers by points: if/else 33, error handling 4, boolean chains 2, loops 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":634}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd38c447fc7469e5066316e9332b0631a8f6ac3fa0e7f084f0713131e0200d8a"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTest.readSPIUnexpectedResource (cognitive 40): FileTest.readSPIUnexpectedResource has cognitive complexity 40 (threshold 15). Drivers by points: if/else 37, loops 3 (nesting depth added 25). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-test/dubbo-test-modules/src/test/java/org/apache/dubbo/dependency/FileTest.java"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"01424cf3486d5ae544d885c17efd80aaf4f2fa35d470f1dbd4b9a345cdfc29e4"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTypeConverter.convertMap (cognitive 38): GeneralTypeConverter.convertMap has cognitive complexity 38 (threshold 15). Drivers by points: if/else 31, match/switch 3, error handling 2, loops 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7db5a2dab5ce82b158a29c524f099fb75d1600837d0d5246fd48b6b00bfa8ed"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceFilter.invoke (cognitive 38): TraceFilter.invoke has cognitive complexity 38 (threshold 15). Drivers by points: if/else 30, error handling 5, loops 3 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/TraceFilter.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1494cebd26b774b9efa3a353ac9dc4178a8762397904af0d9e9b455c14932bd"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericFilter.onResponse (cognitive 38): GenericFilter.onResponse has cognitive complexity 38 (threshold 15). Drivers by points: if/else 27, error handling 8, boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"98008dc4529d1f407a4fdd4badf78e2446ffb3a4be8cf70e38b4eb3ac403785e"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericImplFilter.invoke (cognitive 38): GenericImplFilter.invoke has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23, loops 14, boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericImplFilter.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab331b65d1aadf75b52a369bd85f579f62f5354e755fe37a13d5619b80ea1d9e"}},{"ruleId":"D2","level":"warning","message":{"text":"InvokeTelnet.isMatch (cognitive 38): InvokeTelnet.isMatch has cognitive complexity 38 (threshold 15). Drivers by points: if/else 35, boolean chains 2, loops 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/InvokeTelnet.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"a224e9e0eefa3e61d5879ca8ea3696094e245d7aaca130fb9d50780a86b26803"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataServiceNameMapping.map (cognitive 37): MetadataServiceNameMapping.map has cognitive complexity 37 (threshold 15). Drivers by points: if/else 26, loops 8, error handling 2, boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataServiceNameMapping.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f8cae7608860b76a6e862aa8b1a3b861e06b47841baaf30e365bc7e61ac39fe"}},{"ruleId":"D2","level":"warning","message":{"text":"MulticastRegistry.receive (cognitive 37): MulticastRegistry.receive has cognitive complexity 37 (threshold 15). Drivers by points: if/else 23, ternaries 7, loops 5, boolean chains 2 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-multicast/src/main/java/org/apache/dubbo/registry/multicast/MulticastRegistry.java"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"677ed5141fc90e138944b0fa58602e543146e87b7627ddaae5105801fdaef68f"}},{"ruleId":"D2","level":"warning","message":{"text":"JavadocOpenAPIDefinitionResolver.resolve (cognitive 37): JavadocOpenAPIDefinitionResolver.resolve has cognitive complexity 37 (threshold 15). Drivers by points: if/else 33, loops 3, boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/JavadocOpenAPIDefinitionResolver.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43134faa911dbc6674a004286ef791598f469d5f694f3e204f32618f31d6306"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.valueOf (cognitive 37): UrlUtils.valueOf has cognitive complexity 37 (threshold 15). Drivers by points: if/else 33, boolean chains 2, loops 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ef9a4229a9c6e620180bc62679d964e18d62773d7c7e539b8a63c110b09b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultApplicationDeployer.prepareEnvironment (cognitive 37): DefaultApplicationDeployer.prepareEnvironment has cognitive complexity 37 (threshold 15). Drivers by points: if/else 27, error handling 5, ternaries 5 (nesting depth added 24). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"a56b12b6dccbcf22414c2fced5f63cc7bc0d322f0f656b7d6b1a16981df48ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceAnnotationBeanPostProcessor.registerReferenceBean (cognitive 37): ReferenceAnnotationBeanPostProcessor.registerReferenceBean has cognitive complexity 37 (threshold 15). Drivers by points: if/else 29, loops 6, boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f290d0b0ff727bc1fbbaf634cab36fd1d21a8aa797eceb8de6f28ab7416ae54"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboProtocCompilerMojo.makeAllProtoPaths (cognitive 37): DubboProtocCompilerMojo.makeAllProtoPaths has cognitive complexity 37 (threshold 15). Drivers by points: if/else 18, error handling 14, loops 4, boolean chains 1 (nesting depth added 23). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-maven-plugin/src/main/java/org/apache/dubbo/maven/plugin/protoc/DubboProtocCompilerMojo.java"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"725f15b48981e7aedb8942732964f8e34f0fd97ab06f54ce3a344b2c004cf0e8"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.guessHttpMethod (cognitive 36): Helper.guessHttpMethod has cognitive complexity 36 (threshold 15). Drivers by points: if/else 21, loops 8, match/switch 7 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/Helper.java"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97db92ba072c88b7f711bb29d44c7a41eba41982d5fde2915c966096f8ce9e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Mixin.mixin (cognitive 36): Mixin.mixin has cognitive complexity 36 (threshold 15). Drivers by points: if/else 30, loops 4, error handling 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Mixin.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b693f2a506c4748afcdb5949c3cd9bea2b857e304b954cb8475e447ad04395"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceInfo.extractServiceParams (cognitive 36): ServiceInfo.extractServiceParams has cognitive complexity 36 (threshold 15). Drivers by points: if/else 23, loops 11, boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb2f1d1f2898cb36c9e318fa5e86b849fca0fef341f33d3f13bfb63dca542b06"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboMergingDigest.merge (cognitive 36): DubboMergingDigest.merge has cognitive complexity 36 (threshold 15). Drivers by points: if/else 25, loops 8, boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/DubboMergingDigest.java"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"942a5462e5e840501b014d81abc98a167a756318b2b1e89754e4f3eb2d2a7ea3"}},{"ruleId":"D2","level":"warning","message":{"text":"ExchangeCodec.encodeResponse (cognitive 36): ExchangeCodec.encodeResponse has cognitive complexity 36 (threshold 15). Drivers by points: if/else 26, error handling 9, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1c2504667a047082ec2818c7dec78cfd92ccea01b60f8712ef631af665415f"}},{"ruleId":"D2","level":"warning","message":{"text":"URLParam.removeParameters (cognitive 35): URLParam.removeParameters has cognitive complexity 35 (threshold 15). Drivers by points: if/else 32, boolean chains 2, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1789110cf0079c3ebfacdf4bfad0182790731ae7bf65fb71192e1bf4be0779e"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectUtils.name2class (cognitive 35): ReflectUtils.name2class has cognitive complexity 35 (threshold 15). Drivers by points: if/else 33, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":720}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fe091c30633f5312f41d0a3350c8cfe87c4b00d72f8f16b5b3778bff78a8ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"CountTelnet.execute (cognitive 35): CountTelnet.execute has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15, boolean chains 6, error handling 6, ternaries 6, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/CountTelnet.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eeb8338774bbb691c512cd8995d25557739bfadf3c6deb633e8982b630af6a1"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboShutdownHook.doDestroy (cognitive 34): DubboShutdownHook.doDestroy has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19, loops 10, error handling 4, boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cb2cf5eeac5930a2b373313cf456639452227f9b6a6e3324655e64eb1ce80e3"}},{"ruleId":"D2","level":"warning","message":{"text":"TraceTelnetHandler.telnet (cognitive 34): TraceTelnetHandler.telnet has cognitive complexity 34 (threshold 15). Drivers by points: if/else 18, ternaries 10, loops 4, boolean chains 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/TraceTelnetHandler.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"08143faab14ee91e3117096498f984845adc902228707d8766ffdab5e902040f"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataUtils.publishServiceDefinition (cognitive 33): MetadataUtils.publishServiceDefinition has cognitive complexity 33 (threshold 15). Drivers by points: ternaries 14, if/else 12, loops 5, boolean chains 1, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataUtils.java"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dab306ccdb630edd38da9eb49898fdeb98b944863b19093c7e13e8b0c5100d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionStateRouter.parseRule (cognitive 33): ConditionStateRouter.parseRule has cognitive complexity 33 (threshold 15). Drivers by points: if/else 31, boolean chains 1, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73e0ad6e0320bbbd0dc0e8cf5834c2c2453993b8463d276e9c05dda6d80d6d1"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDestConditionRouter.parseRule (cognitive 33): MultiDestConditionRouter.parseRule has cognitive complexity 33 (threshold 15). Drivers by points: if/else 31, boolean chains 1, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/MultiDestConditionRouter.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef69fbc92521e28cf607ec673e89a5c32f638a8815ac1d0ad463fd3aa5d3746"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboMethodMatch.isMatch (cognitive 33): DubboMethodMatch.isMatch has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19, boolean chains 10, loops 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mesh/rule/virtualservice/match/DubboMethodMatch.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fee5a4348d5d462dfe7886c67429229f00e35f728019b611b8921d8394ddff1"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestMapping.compareTo (cognitive 33): RequestMapping.compareTo has cognitive complexity 33 (threshold 15). Drivers by points: if/else 31, boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/RequestMapping.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"f75b523d55218b7d874cdfc6802ca6ece68bf22abae433f9355ca7858cc285cc"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassGenerator.toClass (cognitive 33): ClassGenerator.toClass has cognitive complexity 33 (threshold 15). Drivers by points: if/else 18, loops 8, error handling 3, ternaries 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1780f64d2d2ecfec01531b27c136eb9e823c3461b646e6043c00623fb936bcff"}},{"ruleId":"D2","level":"warning","message":{"text":"InternalServiceConfigBuilder.port (cognitive 33): InternalServiceConfigBuilder.port has cognitive complexity 33 (threshold 15). Drivers by points: if/else 27, boolean chains 4, error handling 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/InternalServiceConfigBuilder.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c96d03b3f85c3caef18b468c0f7f5c6549378a693c2e747cd34699eb552699"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryDirectory.toInvokers (cognitive 32): RegistryDirectory.toInvokers has cognitive complexity 32 (threshold 15). Drivers by points: if/else 23, error handling 3, ternaries 3, boolean chains 2, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"69285d7ed63960aa24d6b9afb903b336ce0c5783b854e3fb43437521692dac1b"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentNegotiator.negotiate (cognitive 32): ContentNegotiator.negotiate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 25, loops 4, boolean chains 3 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/ContentNegotiator.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c18e587d71cbb08e4af7099e0c60382bf25121fc747944d8200e97d8f3faaa"}},{"ruleId":"D2","level":"warning","message":{"text":"AdaptiveClassCodeGenerator.generateExtNameAssignment (cognitive 32): AdaptiveClassCodeGenerator.generateExtNameAssignment has cognitive complexity 32 (threshold 15). Drivers by points: if/else 31, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/AdaptiveClassCodeGenerator.java"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74444e9be16535b97bacbb4afb3fef905e9eb09430fb2255d5f79e3878b2c76"}},{"ruleId":"D2","level":"warning","message":{"text":"NetUtils.findNetworkInterface (cognitive 32): NetUtils.findNetworkInterface has cognitive complexity 32 (threshold 15). Drivers by points: if/else 20, error handling 6, loops 6 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9654edae7babb2f6da80e8aac1d2a9b85fb40871c2284feac7148c6aeab4931"}},{"ruleId":"D2","level":"warning","message":{"text":"Utf8Utils.decodeUtf8 (cognitive 32): Utf8Utils.decodeUtf8 has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26, loops 5, boolean chains 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/Utf8Utils.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5158e486c5b98991ded85b9063e14e756fc8fa77c72223d6f4421c94df2763e3"}},{"ruleId":"D2","level":"warning","message":{"text":"TTable.drawRow (cognitive 32): TTable.drawRow has cognitive complexity 32 (threshold 15). Drivers by points: if/else 26, loops 4, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/textui/TTable.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0adfe2e88a4f949c686ac4091dbd5872ac51c2e77acdaaa7c4c9d5b38d586a09"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDestConditionRouter.doRoute (cognitive 31): MultiDestConditionRouter.doRoute has cognitive complexity 31 (threshold 15). Drivers by points: if/else 23, loops 3, ternaries 3, boolean chains 1, error handling 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/MultiDestConditionRouter.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"e93ec24de8e9fd8690e5783f77d53ea21f44a3d73f9b11840a05c2c40afe062b"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractClusterInvoker.reselect (cognitive 31): AbstractClusterInvoker.reselect has cognitive complexity 31 (threshold 15). Drivers by points: if/else 20, loops 6, boolean chains 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/AbstractClusterInvoker.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8084d504385052ffe475de461c35be1b3b65ea87e6f6dcf00237ba5be1339d3e"}},{"ruleId":"D2","level":"warning","message":{"text":"JValidator.generateMethodParameterClass (cognitive 31): JValidator.generateMethodParameterClass has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19, loops 10, boolean chains 1, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"3303ae3ca77270ac5670edc0250f159df4a6837361681c98d1f7eebd0d196811"}},{"ruleId":"D2","level":"warning","message":{"text":"JValidatorNew.generateMethodParameterClass (cognitive 31): JValidatorNew.generateMethodParameterClass has cognitive complexity 31 (threshold 15). Drivers by points: if/else 19, loops 10, boolean chains 1, error handling 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"69488c9607158b51f348e03792add0194d1b4489310b73db44040ac9473eb086"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyClient.doConnect (cognitive 31): NettyClient.doConnect has cognitive complexity 31 (threshold 15). Drivers by points: if/else 29, boolean chains 1, loops 1 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyClient.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb224d9c62aad42e27c3965d0507b0d1131c053c2dbe5c51bc570f3419c752f"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.revertNotify (cognitive 30): UrlUtils.revertNotify has cognitive complexity 30 (threshold 15). Drivers by points: if/else 21, loops 7, boolean chains 2 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"8808f0bff06ed7fc7824afccdde41e782c87e2049871aefb88eee526f67acdb1"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractRegistry.destroy (cognitive 29): AbstractRegistry.destroy has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14, error handling 8, loops 7 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6ec64f9da0b1d18f04ab31817bb3ba7fad852bd2d6638d9e180618c54c8a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"BroadcastClusterInvoker.doInvoke (cognitive 29): BroadcastClusterInvoker.doInvoke has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22, boolean chains 2, error handling 2, ternaries 2, loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/BroadcastClusterInvoker.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1986bc28c2d816adc5ec72cd2b60d2ac410517aeb933e30f0f6641b6364076d"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionResolver.resolveRequestBody (cognitive 29): DefinitionResolver.resolveRequestBody has cognitive complexity 29 (threshold 15). Drivers by points: if/else 22, loops 7 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionResolver.java"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2a7e446a223d336b8c947eb5ac19add074f565caa2c1616b18b4f9036a6a6ad"}},{"ruleId":"D2","level":"warning","message":{"text":"NetUtils.setInterface (cognitive 29): NetUtils.setInterface has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15, error handling 9, loops 3, boolean chains 2 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"064befbdc0a2d1241000ae9eb14097ae1ea1ae08f7d477cf057a78ece547f732"}},{"ruleId":"D2","level":"warning","message":{"text":"SpringStatusChecker.check (cognitive 29): SpringStatusChecker.check has cognitive complexity 29 (threshold 15). Drivers by points: if/else 19, loops 4, boolean chains 3, error handling 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/status/SpringStatusChecker.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fda5ca6c82ed441b349f7fbd732b5dc51f46bbcca2a640fd7e759366494b9a8"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationRuleListener.process (cognitive 28): MigrationRuleListener.process has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12, error handling 11, loops 5 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationRuleListener.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bca88ebcc8db3a9beb76de7b860af2b6bd1c7733a8431c825efc79e2d10a51"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassUtils.searchMethod (cognitive 28): ClassUtils.searchMethod has cognitive complexity 28 (threshold 15). Drivers by points: if/else 19, loops 7, boolean chains 1, error handling 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/compiler/support/ClassUtils.java"},"region":{"startLine":345}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bc65c452ef09946ef163ecf24e71992bb004e4749cf30e3118bbdc358c3c31c"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceConfig.exportUrl (cognitive 28): ServiceConfig.exportUrl has cognitive complexity 28 (threshold 15). Drivers by points: if/else 23, loops 3, boolean chains 2 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4010f76ac78f74a035cf51bd6afb39ecb0b5d397fa00c38da0b85845e90bc8"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboMergingDigest.quantile (cognitive 28): DubboMergingDigest.quantile has cognitive complexity 28 (threshold 15). Drivers by points: if/else 24, boolean chains 3, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/DubboMergingDigest.java"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"62bbc56f7c1590bd842f9a3799355eb0345aa173c7328d5b8819c961c051887f"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetCodec.toString (cognitive 28): TelnetCodec.toString has cognitive complexity 28 (threshold 15). Drivers by points: if/else 22, boolean chains 5, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/codec/TelnetCodec.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b990460b36185bcd9f30227823dfd57ceeae3380c4b4b1a91eae52d4f76e61"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceInstancesChangedListener.doOnEvent (cognitive 27): ServiceInstancesChangedListener.doOnEvent has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17, loops 7, boolean chains 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/event/listener/ServiceInstancesChangedListener.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"28139e3d7f2744813510b0ad37003a940517f4107835c971335a901c4a382a15"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConditionMatcher.isMatch (cognitive 27): AbstractConditionMatcher.isMatch has cognitive complexity 27 (threshold 15). Drivers by points: if/else 16, loops 8, boolean chains 3 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/matcher/AbstractConditionMatcher.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"69139a64f69436a7f46ba0f95b31dfd16ab4b9cd7fba72fa777b7cc475bb3ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.getChild (cognitive 27): Node.getChild has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24, boolean chains 1, loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d070324ea2e5e2072c0c769cd6b5fca096087374158e6c775fb593026056c3"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionResolver.resolve (cognitive 27): DefinitionResolver.resolve has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19, loops 6, boolean chains 1, ternaries 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionResolver.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4a9288705a802f1923a9cb8d9770f43e590d99e157eb99e46ca215b1f41626b"}},{"ruleId":"D2","level":"warning","message":{"text":"StubProxyFactoryWrapper.getProxy (cognitive 27): StubProxyFactoryWrapper.getProxy has cognitive complexity 27 (threshold 15). Drivers by points: if/else 17, error handling 10 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/proxy/wrapper/StubProxyFactoryWrapper.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fde11b5a0dece52233efd587f6875eae5e45c1af40c8cdba6d518c9b38de50d"}},{"ruleId":"D2","level":"warning","message":{"text":"NetUtils.matchIpRange (cognitive 27): NetUtils.matchIpRange has cognitive complexity 27 (threshold 15). Drivers by points: if/else 19, boolean chains 7, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc557090b3afea3e2cd712a63eacf0e9238f0582bad8b9580de88de1c22de587"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractInterfaceConfig.processExtraRefresh (cognitive 27): AbstractInterfaceConfig.processExtraRefresh has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15, loops 6, error handling 4, boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db81b20567371a8e30295f1aff99612ecf1553d7af98b50c0c7b74c299036fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceConfig.exportRemote (cognitive 27): ServiceConfig.exportRemote has cognitive complexity 27 (threshold 15). Drivers by points: if/else 24, loops 2, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java"},"region":{"startLine":928}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a48b776c9d8cf3b341ae60cdcb53fc6647079093ef3e8043cf7f8791cf4f589"}},{"ruleId":"D2","level":"warning","message":{"text":"ExchangeCodec.decodeBody (cognitive 27): ExchangeCodec.decodeBody has cognitive complexity 27 (threshold 15). Drivers by points: if/else 23, error handling 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b8d6a8325c256adb425bef2a94cfe03a54895240fa7e6f66a19e2a40b26c6d8"}},{"ruleId":"D2","level":"warning","message":{"text":"StatusTelnetHandler.telnet (cognitive 27): StatusTelnetHandler.telnet has cognitive complexity 27 (threshold 15). Drivers by points: if/else 9, error handling 7, loops 5, ternaries 5, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/command/StatusTelnetHandler.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f852f2fbdea3e18cd8a12e05674216e1ff61b5856a655f974f67be8532819c2"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshRuleCache.build (cognitive 26): MeshRuleCache.build has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 9, boolean chains 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mesh/route/MeshRuleCache.java"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"765abebe9d77732af0ae0103e2e4459658bc025d5fa066b7c88e5ca64b6e542c"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshRuleDispatcher.post (cognitive 26): MeshRuleDispatcher.post has cognitive complexity 26 (threshold 15). Drivers by points: loops 17, if/else 9 (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mesh/util/MeshRuleDispatcher.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8b3114b6e3eb6ea67fe8f58c880c37ee56516043cff0b581ccb0a65041bbbd2"}},{"ruleId":"D2","level":"warning","message":{"text":"MockClusterInvoker.invoke (cognitive 26): MockClusterInvoker.invoke has cognitive complexity 26 (threshold 15). Drivers by points: if/else 22, error handling 3, boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/wrapper/MockClusterInvoker.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ee698598e840d67e6dacd7388ecebed9b1c3fcfcc855d50ddc252f19ac80b52"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigFactory.readConfigMap (cognitive 26): ConfigFactory.readConfigMap has cognitive complexity 26 (threshold 15). Drivers by points: if/else 17, loops 5, error handling 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/ConfigFactory.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"659a96d00f2c63680d67aca96d0cb46e8835a604657c5af6ba29b056fadb6445"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionResolver.resolveOperation (cognitive 26): DefinitionResolver.resolveOperation has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, loops 6, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionResolver.java"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f08a35bddd42747365cb015bfb00c20711bad3c305ebf907b2eff7c2cae2bd3"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestMapping.doMatch (cognitive 26): RequestMapping.doMatch has cognitive complexity 26 (threshold 15). Drivers by points: if/else 24, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/RequestMapping.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ffeb4dba61567c2fa98ec5e429770d85ad66d28ce04db298c881c797b709a1a"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProxyFactory.getProxy (cognitive 26): AbstractProxyFactory.getProxy has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, error handling 6, boolean chains 2, loops 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/proxy/AbstractProxyFactory.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b4908122243127717912f6e133db3fc77c0a60f7bf4ec0be299ec61b9038ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultSerializeClassChecker.loadClass0 (cognitive 26): DefaultSerializeClassChecker.loadClass0 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 23, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"0afed1d4fb0008cfac9cb984b582294dc26b485b0dedb45930e10868af498509"}},{"ruleId":"D2","level":"warning","message":{"text":"JVMUtil.getThreadDumpString (cognitive 26): JVMUtil.getThreadDumpString has cognitive complexity 26 (threshold 15). Drivers by points: if/else 16, loops 5, boolean chains 3, error handling 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/JVMUtil.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebb6d59f902aedcbe86be1ba3443ea5d20bf231173c727fda09633b1e6f16bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"McpServiceFilter.getMcpToolConfig (cognitive 26): McpServiceFilter.getMcpToolConfig has cognitive complexity 26 (threshold 15). Drivers by points: if/else 19, boolean chains 4, error handling 3 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4ed78deae65d74c88cbdf1e921e9e295e4247268b9b0221309497d87defd68"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboMcpGenericCaller.execute (cognitive 26): DubboMcpGenericCaller.execute has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11, ternaries 8, error handling 3, boolean chains 2, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/tool/DubboMcpGenericCaller.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"406b82222ff84e8688e10f2a9a845d0d7e8abd2e2b62268278b45466313e384a"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultFuture.closeChannel (cognitive 26): DefaultFuture.closeChannel has cognitive complexity 26 (threshold 15). Drivers by points: if/else 13, error handling 10, boolean chains 1, loops 1, ternaries 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/DefaultFuture.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"263555d34b984ff5137575b5072e380a060fd853ae4d0cec861a46301b2ba061"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryProtocol.destroy (cognitive 25): RegistryProtocol.destroy has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, loops 12 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java"},"region":{"startLine":697}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fba237d09c8409964716e10468915780abfc4e56dbbe2c8e25de7cb920b1969"}},{"ruleId":"D2","level":"warning","message":{"text":"RandomLoadBalance.doSelect (cognitive 25): RandomLoadBalance.doSelect has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15, loops 8, boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/RandomLoadBalance.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9a9afb1bc1e6f5680aa3166a336fb25ccb4fe710bd6d299547aa5416df1a0e"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsumesCondition.\u003Cinit\u003E (cognitive 25): ConsumesCondition.\u003Cinit\u003E has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, loops 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/ConsumesCondition.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d2280db43396737e6280a01ecdc0e4969cb915a8189ed9f3ee461e73e5147e"}},{"ruleId":"D2","level":"warning","message":{"text":"ProducesCondition.\u003Cinit\u003E (cognitive 25): ProducesCondition.\u003Cinit\u003E has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, loops 4 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/ProducesCondition.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e599d7281654fce9882d2235bba3ea96e59c6a550999eaa6f91d099e845c77fb"}},{"ruleId":"D2","level":"warning","message":{"text":"Http3ClientFrameCodec.write (cognitive 25): Http3ClientFrameCodec.write has cognitive complexity 25 (threshold 15). Drivers by points: if/else 25 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h3/Http3ClientFrameCodec.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f27c1598383d2465d86ef5124a289b53c203497914869bf94efad85ed341864"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeableRpcResult.decode (cognitive 25): DecodeableRpcResult.decode has cognitive complexity 25 (threshold 15). Drivers by points: if/else 18, error handling 5, boolean chains 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DecodeableRpcResult.java"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c3738d7cd5c8d5d6ca2c4238ede66f7ec9c0ab34b91f71cb89ee5150f99183"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericFilter.findMethodByMethodSignature (cognitive 25): GenericFilter.findMethodByMethodSignature has cognitive complexity 25 (threshold 15). Drivers by points: if/else 21, loops 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c57fa96a2460e922b3d665f97d720fddbd7444f44ddb9f4470ae1f346048d0c"}},{"ruleId":"D2","level":"warning","message":{"text":"DateUtils.parse (cognitive 25): DateUtils.parse has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12, error handling 4, match/switch 3, ternaries 3, loops 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/DateUtils.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7232e17f1585118c019d8d663aa277cbccf84a33f0c781a49578aa5b4db3871"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceAnnotationBeanPostProcessor.postProcessBeanFactory (cognitive 25): ReferenceAnnotationBeanPostProcessor.postProcessBeanFactory has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15, error handling 7, loops 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"4139769d6dc8b2c8f01f912d520e8419ee0ef24918d71af3853d4658c348b8aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceAnnotationPostProcessor.scanServiceBeans (cognitive 25): ServiceAnnotationPostProcessor.scanServiceBeans has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16, loops 9 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d2b59e8205ad413abe63b8ffb917fdd9eb352bdb20e5a8229811f855a929c5"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboBeanDefinitionParser.parseNested (cognitive 25): DubboBeanDefinitionParser.parseNested has cognitive complexity 25 (threshold 15). Drivers by points: if/else 23, boolean chains 1, loops 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e106cc4c68b4a196bec1b7854d1c79c2ab9c241e82577e32bf18c9e47ced9081"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfig.appendAnnotation (cognitive 25): AbstractConfig.appendAnnotation has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13, error handling 7, boolean chains 4, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"e843c118c579af383afae108d21f19573aba9aea269e22c49ddc6be2d28226c2"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceConfig.checkAndUpdateSubConfigs (cognitive 25): ServiceConfig.checkAndUpdateSubConfigs has cognitive complexity 25 (threshold 15). Drivers by points: if/else 19, error handling 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"19493d551bae8c62fb39e544667ab26024588328fd988f3074c81f0b39995849"}},{"ruleId":"D2","level":"warning","message":{"text":"JValidator.createMemberValue (cognitive 25): JValidator.createMemberValue has cognitive complexity 25 (threshold 15). Drivers by points: loops 13, if/else 12 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"5426a2ed018dc144161a7cbb2c8d15950bdf2cfb4768633d8c4d088284a60432"}},{"ruleId":"D2","level":"warning","message":{"text":"JValidatorNew.createMemberValue (cognitive 25): JValidatorNew.createMemberValue has cognitive complexity 25 (threshold 15). Drivers by points: loops 13, if/else 12 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcde2b810f8d3e353af6be23ada0f42294367b5b74f619fbbf35e4583cf32f3"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyHttp3FrameCodec.write (cognitive 25): NettyHttp3FrameCodec.write has cognitive complexity 25 (threshold 15). Drivers by points: if/else 24, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http3/src/main/java/org/apache/dubbo/remoting/http3/netty4/NettyHttp3FrameCodec.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"e43c52763f36d31337d3e90aa4f63c95bf620b13856380cf837f25d0e46fb2d8"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractRegistry.doSaveProperties (cognitive 24): AbstractRegistry.doSaveProperties has cognitive complexity 24 (threshold 15). Drivers by points: if/else 21, loops 2, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"146f0b7ea39bff128f7a13997c637802d345b08807eafa09ef39dcaaa3a1ac0c"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheableFailbackRegistry.stripOffVariableKeys (cognitive 24): CacheableFailbackRegistry.stripOffVariableKeys has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15, ternaries 4, boolean chains 3, loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/CacheableFailbackRegistry.java"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"845143d08ff21081eb7475b0f89f69bf27f62a5f0471ac2843f6edc808a3422e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionFilter.filterSchema (cognitive 24): DefinitionFilter.filterSchema has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12, loops 12 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionFilter.java"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f16dd4df5e87552902bf88e8f7409b0d0d5952f92e423e1dfee2e481d4e052"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionMerger.mergePath (cognitive 24): DefinitionMerger.mergePath has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, loops 5, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionMerger.java"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"f62857eb22d4d6eda0c82fb937a70410815df90680b98e71c7be44df8194119f"}},{"ruleId":"D2","level":"warning","message":{"text":"URL.buildParameters (cognitive 24): URL.buildParameters has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, ternaries 6, boolean chains 2, loops 2 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URL.java"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"965ee4fbc524d5828ac915a3c547c08301383dec9c7e8528e11e5c39069fd83a"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigValidationUtils.genCompatibleRegistries (cognitive 24): ConfigValidationUtils.genCompatibleRegistries has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, boolean chains 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"e295e5f37c09bb95170c0fa8677dcffad4ea5c20eaceb5546ea305e8cc923bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboBeanDefinitionParser.parseMetrics (cognitive 24): DubboBeanDefinitionParser.parseMetrics has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, boolean chains 4, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d2c141927064deb6e92a7e1798f8c0cb9c675f5765b9ec1d88bc357f19a27f4"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationUtils.findAnnotations (cognitive 24): AnnotationUtils.findAnnotations has cognitive complexity 24 (threshold 15). Drivers by points: if/else 14, loops 8, match/switch 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/AnnotationUtils.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb642b827b37269db82ad9d9e618e8e97e2a0c3723f2cbf9f6dd808410af6252"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboServiceToolRegistry.generateSchemaFromMethodSignature (cognitive 24): DubboServiceToolRegistry.generateSchemaFromMethodSignature has cognitive complexity 24 (threshold 15). Drivers by points: if/else 20, loops 3, boolean chains 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/tool/DubboServiceToolRegistry.java"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f715ffd108c3e6d0dc98718d077d12b6cc7f03a3457225a0c5a0d683e0086d"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetHandlerAdapter.telnet (cognitive 24): TelnetHandlerAdapter.telnet has cognitive complexity 24 (threshold 15). Drivers by points: if/else 19, error handling 4, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetHandlerAdapter.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3b4d7a6dee9b3a016eb014c24735ce8d61c98595eb6a9d67a96f078d6d137c"}},{"ruleId":"D2","level":"warning","message":{"text":"InternalDecoder.messageReceived (cognitive 24): InternalDecoder.messageReceived has cognitive complexity 24 (threshold 15). Drivers by points: if/else 18, ternaries 3, error handling 2, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyCodecAdapter.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f29aa658251a8d6dd2475313f8d67d9491de6423e9cfaa8278afed8d19db89"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryDirectory.refreshInvoker (cognitive 23): RegistryDirectory.refreshInvoker has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, error handling 2, ternaries 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d92f3b73d0deb288527d22b1029e40052de7cf2dd30dda2e63a71e6c63592b2"}},{"ruleId":"D2","level":"warning","message":{"text":"ZookeeperRegistry.doSubscribe (cognitive 23): ZookeeperRegistry.doSubscribe has cognitive complexity 23 (threshold 15). Drivers by points: if/else 14, loops 6, error handling 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"454b19d3b0a242617ff8ed007ded893e3f2d6eeaa921f9c8f16735ccadc43e13"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackRegistrationInvoker.invoke (cognitive 23): CallbackRegistrationInvoker.invoke has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, error handling 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/FilterChainBuilder.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc01bef55c3834c1b6c20d4648dc2ae80f8885632b770ee5ea6180027ca301c"}},{"ruleId":"D2","level":"warning","message":{"text":"BeanArgumentBinder.resolveArgument (cognitive 23): BeanArgumentBinder.resolveArgument has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, loops 7, ternaries 3, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/BeanArgumentBinder.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d794878954f8ef5618bf567d9843402bd1d147aa0556722d3175aa8ff7756808"}},{"ruleId":"D2","level":"warning","message":{"text":"RestExtensionExecutionFilter.matchFilters (cognitive 23): RestExtensionExecutionFilter.matchFilters has cognitive complexity 23 (threshold 15). Drivers by points: if/else 20, loops 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/filter/RestExtensionExecutionFilter.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6155b73583d571dd8789e1663f0f8e51e56379570f9bd81b503b087266b27d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"MediaTypeExpression.compatibleWithMediaType (cognitive 23): MediaTypeExpression.compatibleWithMediaType has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/MediaTypeExpression.java"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1698bb5d1c9f82fc4549578dff7736526466165fee4c2677f4d66f5232bbdad8"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationMeta.getRequiredAttribute (cognitive 23): AnnotationMeta.getRequiredAttribute has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, loops 4, ternaries 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/AnnotationMeta.java"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"432a0e7182a6044b6c699aea8de03cda5e57a1408674bfeb9c037e186b1deea9"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultRequestMappingRegistry.exists (cognitive 23): DefaultRequestMappingRegistry.exists has cognitive complexity 23 (threshold 15). Drivers by points: if/else 21, boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"718196230bb3fa44a1e5495a9fb20128d213d33df44c09485baa9c254bc932a7"}},{"ruleId":"D2","level":"warning","message":{"text":"InjvmInvoker.doInvoke (cognitive 23): InjvmInvoker.doInvoke has cognitive complexity 23 (threshold 15). Drivers by points: if/else 22, boolean chains 1 (nesting depth added 5). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-injvm/src/main/java/org/apache/dubbo/rpc/protocol/injvm/InjvmInvoker.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"f14f8a8fffaa569147d1bcc7c56735e47a8ceeee37c81c3b2dd4d5d197fdbecd"}},{"ruleId":"D2","level":"warning","message":{"text":"ReflectionUtils.getClassGenerics (cognitive 23): ReflectionUtils.getClassGenerics has cognitive complexity 23 (threshold 15). Drivers by points: if/else 15, loops 7, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectionUtils.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27f6196f1253fb2efca0bc918c92bd6ea8e18baade490068e19e04efac6b677"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializeSecurityConfigurator.checkType (cognitive 23): SerializeSecurityConfigurator.checkType has cognitive complexity 23 (threshold 15). Drivers by points: loops 16, if/else 7 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/SerializeSecurityConfigurator.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f7a34294dbf928affef8512e1d1f229a6f5717a39c5d2605e35d55913336f6"}},{"ruleId":"D2","level":"warning","message":{"text":"Matcher.isMatch (cognitive 23): Matcher.isMatch has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, loops 4, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/ProtocolServiceKey.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1d37e68f85e34cb73aa560bea239ba85f7f6cce110508f37e629e4cc8706fb5"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfigManager.checkUniqueConfig (cognitive 23): AbstractConfigManager.checkUniqueConfig has cognitive complexity 23 (threshold 15). Drivers by points: if/else 16, boolean chains 5, match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/context/AbstractConfigManager.java"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"66449fd2d4f98cc5a796b2b24e9d57e40475f3b9ad4b2d91ecb5566d1ea3b245"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigValidationUtils.loadMonitor (cognitive 23): ConfigValidationUtils.loadMonitor has cognitive complexity 23 (threshold 15). Drivers by points: if/else 18, boolean chains 4, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"5010a081fc73ab2bd36288252df0b3f32306c8a67a8422b8652bdd658540d18e"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetUtils.toList (cognitive 23): TelnetUtils.toList has cognitive complexity 23 (threshold 15). Drivers by points: if/else 12, loops 11 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8322a0eac103891df31d2bcaa9706bf489669ce46684dc1f34ab32236bc8ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"RegistryDirectory.getEffectiveProtocol (cognitive 22): RegistryDirectory.getEffectiveProtocol has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 5 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e26fca3547c7d672a486712150f57d5dbc70529d4244d0c82b5f7a3832ca8dc"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractDirectory.checkConnectivity (cognitive 22): AbstractDirectory.checkConnectivity has cognitive complexity 22 (threshold 15). Drivers by points: if/else 17, loops 4, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/directory/AbstractDirectory.java"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bce14a145da3cc46ab010d683671caf2a75798c8083f39599a5f9aee7d9c03"}},{"ruleId":"D2","level":"warning","message":{"text":"Node.createChild (cognitive 22): Node.createChild has cognitive complexity 22 (threshold 15). Drivers by points: if/else 22 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"1734ac6016c57c68137db795f0ddaa66d204b6ce3e48203d4181ff08e7e568cf"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionResolver.resolveParameter (cognitive 22): DefinitionResolver.resolveParameter has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, loops 2, boolean chains 1, error handling 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionResolver.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c9becce848ac8adb8fa5984ab74b66893e9eeb0011dd7cd84799c8b956949a"}},{"ruleId":"D2","level":"warning","message":{"text":"ExceptionFilter.onResponse (cognitive 22): ExceptionFilter.onResponse has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12, boolean chains 4, error handling 4, loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ExceptionFilter.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f4ee330e4803748f93a337729a66cf988d33614e138f26bf2c3f8516e21a90e"}},{"ruleId":"D2","level":"warning","message":{"text":"URLParam.equals (cognitive 22): URLParam.equals has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, boolean chains 3, loops 3 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"1423252c501aa5941e09d4e589e80b30590325ef114a7f03b6408182afafdd14"}},{"ruleId":"D2","level":"warning","message":{"text":"ToStringUtils.toString (cognitive 22): ToStringUtils.toString has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, loops 6 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ToStringUtils.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"527920465c22a5aa94b368d07886316c818e81c58147e0293bf94b56eac3c044"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceBeanSupport.convertReferenceProps (cognitive 22): ReferenceBeanSupport.convertReferenceProps has cognitive complexity 22 (threshold 15). Drivers by points: if/else 19, boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceBeanSupport.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"8998fdb2521d70642ad2309770003e532c4e2f0795c771f9e1821b79c98d3780"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboMcpStreamableTransportProvider.handleGet (cognitive 22): DubboMcpStreamableTransportProvider.handleGet has cognitive complexity 22 (threshold 15). Drivers by points: if/else 16, error handling 4, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9caa56fe9cbc43c48e12040d5337f788166118ccd05b3adf591b7a9395de99"}},{"ruleId":"D2","level":"warning","message":{"text":"ByteBufferBackedChannelBuffer.setBytes (cognitive 22): ByteBufferBackedChannelBuffer.setBytes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 18, loops 4 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/buffer/ByteBufferBackedChannelBuffer.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9972b978426732df465c89f6e8a86f20b34b6297ab60b72b8b3cf842339da3ef"}},{"ruleId":"D2","level":"warning","message":{"text":"FileTest.readSPI (cognitive 22): FileTest.readSPI has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14, error handling 4, loops 3, boolean chains 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-test/dubbo-test-modules/src/test/java/org/apache/dubbo/dependency/FileTest.java"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"daf1a4129c83f18de5ad2b41675532fbeb611e19dbd6bb06be422ad2cab16766"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrationRule.getValue (cognitive 21): MigrationRule.getValue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 18, loops 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/model/MigrationRule.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"399433331ea73b1102392953345253ab5c7429fc13afb1db593089c65cc349ff"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfigurator.configureIfMatch (cognitive 21): AbstractConfigurator.configureIfMatch has cognitive complexity 21 (threshold 15). Drivers by points: if/else 19, boolean chains 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/configurator/AbstractConfigurator.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"736580fa870d681f3c0aaa9c08ee6d0c32462c53f51069f735e24ffdae257eaf"}},{"ruleId":"D2","level":"warning","message":{"text":"ConditionStateRouter.doRoute (cognitive 21): ConditionStateRouter.doRoute has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"abbafa648596545fb7def49a15daa0f0eec3d239a0c950ac8dbf85381278b787"}},{"ruleId":"D2","level":"warning","message":{"text":"ZoneAwareClusterInvoker.doInvoke (cognitive 21): ZoneAwareClusterInvoker.doInvoke has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, boolean chains 5, loops 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/registry/ZoneAwareClusterInvoker.java"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfd41069c608d6b7f76c8b1dc5ed87ee8433d38ebb34657de84a1b3fd51f662"}},{"ruleId":"D2","level":"warning","message":{"text":"ForkingClusterInvoker.doInvoke (cognitive 21): ForkingClusterInvoker.doInvoke has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, ternaries 6, loops 2, boolean chains 1, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/ForkingClusterInvoker.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2542e220f4bbd1da13b320805f3ac7db3dff19145aaa5335a820366a3e13e27"}},{"ruleId":"D2","level":"warning","message":{"text":"MockInvoker.parseMockValue (cognitive 21): MockInvoker.parseMockValue has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, boolean chains 6, ternaries 4 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/support/MockInvoker.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd832be46a66106c896336bcf7104a75262c112f6a82adc2d6d32a5f2d1255a2"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultRequestMappingRegistry.register (cognitive 21): DefaultRequestMappingRegistry.register has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, boolean chains 3, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cce0bc6db7ef69f11de72eb37fe7d4c32d230912811d8a717f7e68b7ab26e27"}},{"ruleId":"D2","level":"warning","message":{"text":"RadixTree.addPath (cognitive 21): RadixTree.addPath has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, loops 6 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/RadixTree.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"453548f815b0de06f63d6980750f77adcbf9ef5b90954ef709adc04e07cf2bf1"}},{"ruleId":"D2","level":"warning","message":{"text":"TripleResponseWrapper.parseFrom (cognitive 21): TripleResponseWrapper.parseFrom has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d0531596b8af0133192874d6251a19de59d038553be7bcb69da4d5af6ff236"}},{"ruleId":"D2","level":"warning","message":{"text":"TripleRequestWrapper.parseFrom (cognitive 21): TripleRequestWrapper.parseFrom has cognitive complexity 21 (threshold 15). Drivers by points: if/else 17, loops 4 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java"},"region":{"startLine":401}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e006f2687f9784195af88db268d4e086963cd4bcf6141e2c6c4466427bf1dd"}},{"ruleId":"D2","level":"warning","message":{"text":"CompatibleFilter.onResponse (cognitive 21): CompatibleFilter.onResponse has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11, ternaries 5, error handling 3, boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/CompatibleFilter.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf4ce498b521be89d86fbf47756909a459805a022383596b824997cebf22205e"}},{"ruleId":"D2","level":"warning","message":{"text":"Proxy.buildProxyClass (cognitive 21): Proxy.buildProxyClass has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, loops 6, error handling 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Proxy.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"385fb9ee97a3651cfc3893191849e5a5b8d74da29adb3c271d0476b65e58393f"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.convert (cognitive 21): Configuration.convert has cognitive complexity 21 (threshold 15). Drivers by points: if/else 13, boolean chains 8 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/config/Configuration.java"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"29d9dbd6bf8b9618ea5c4b045f13073c851112dc35f5a26f764bef793a2a0621"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLoader.injectExtension (cognitive 21): ExtensionLoader.injectExtension has cognitive complexity 21 (threshold 15). Drivers by points: if/else 16, error handling 3, boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":856}}}],"partialFingerprints":{"codehealthFindingId/v1":"34435f5ca546dd7b92ea8e2928f4de9a80adbdd6413e8f7b93f1163bbf80d3f3"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.tokenizeToList (cognitive 21): StringUtils.tokenizeToList has cognitive complexity 21 (threshold 15). Drivers by points: if/else 15, loops 3, match/switch 2, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":1353}}}],"partialFingerprints":{"codehealthFindingId/v1":"b505ce7b5f238c55375303088dc61e19af9741668054184699d06652c3c73e3d"}},{"ruleId":"D2","level":"warning","message":{"text":"URLStrParser.parseURLBody (cognitive 21): URLStrParser.parseURLBody has cognitive complexity 21 (threshold 15). Drivers by points: if/else 20, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URLStrParser.java"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"1118ec4aeef966a9bbd743d581b3deb1337385fcb2a0ccaa7a7ade722c4aafee"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractInterfaceBuilder.build (cognitive 21): AbstractInterfaceBuilder.build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 21. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractInterfaceBuilder.java"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5b5c82edd3c341f47c8f3c27c808892d532cf8fe124a9451dd3dcc5e7f4639"}},{"ruleId":"D2","level":"warning","message":{"text":"MethodConfig.refreshArgument (cognitive 21): MethodConfig.refreshArgument has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12, error handling 4, boolean chains 3, loops 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/MethodConfig.java"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdc28aa7e5a225fcdc0f53cef9b4cc3143d39a0f14082e55731ffdfe6d62f71"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceConfig.unexport (cognitive 21): ServiceConfig.unexport has cognitive complexity 21 (threshold 15). Drivers by points: loops 10, error handling 8, if/else 3 (nesting depth added 12). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb5519b0e526c95367bdcacc0e4a9e11fdb68375090390531d217a77eec7ebba"}},{"ruleId":"D2","level":"warning","message":{"text":"LogTelnetHandler.telnet (cognitive 21): LogTelnetHandler.telnet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, error handling 4, boolean chains 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/LogTelnetHandler.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"33cf9cb47fb518d179d584ec54eb33cd66fa7aa52e78ec292507cbf4f2c3a2c8"}},{"ruleId":"D2","level":"warning","message":{"text":"LogTelnetHandler.telnet (cognitive 21): LogTelnetHandler.telnet has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14, error handling 4, boolean chains 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/command/LogTelnetHandler.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a9c0d7c821fd085dbbe220218f07dde578e4f75ab7623e316511cb54942217"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceInstanceHostPortCustomizer.customize (cognitive 20): ServiceInstanceHostPortCustomizer.customize has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, loops 3, boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/ServiceInstanceHostPortCustomizer.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"445f3dbe548302b327285239641b062b9fe21e2e2cebf1f95c7c2e6032dd0b35"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractServiceDiscovery.getRemoteMetadata (cognitive 20): AbstractServiceDiscovery.getRemoteMetadata has cognitive complexity 20 (threshold 15). Drivers by points: if/else 15, error handling 3, boolean chains 1, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/AbstractServiceDiscovery.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"794eb1cfc35f86e6148740ade6fd66627593a4600c369b33bee741975ff74401"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractRegistry.lookup (cognitive 20): AbstractRegistry.lookup has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, loops 8 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e0d99c083def58b5a6af003af477f1089c5bff2fe4f8330d2eff8b73595052"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultProviderURLMergeProcessor.mergeUrl (cognitive 20): DefaultProviderURLMergeProcessor.mergeUrl has cognitive complexity 20 (threshold 15). Drivers by points: if/else 16, boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/merger/DefaultProviderURLMergeProcessor.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b10777bc124d414ac1508e7aba9d4d565907af72b4240821e17f03830e13b8"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneralTypeConverter.toBoolean (cognitive 20): GeneralTypeConverter.toBoolean has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":1176}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e499f2956513eb888c5a35afefa33cf05d374a3f20a187978b2ccd2d0c443c"}},{"ruleId":"D2","level":"warning","message":{"text":"RadixTree.matchRecursive (cognitive 20): RadixTree.matchRecursive has cognitive complexity 20 (threshold 15). Drivers by points: if/else 19, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/RadixTree.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a50287004cba83912251cb562153ffbb5e94c7859876268897495c6339f43d0"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureFilter.fireThrowCallback (cognitive 20): FutureFilter.fireThrowCallback has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, boolean chains 3, error handling 2, ternaries 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"f09ef1c4de15779750d23aa300967d78a642dedf54ceacf47d6de43eadfc2e15"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLoader.loadDirectoryInternal (cognitive 20): ExtensionLoader.loadDirectoryInternal has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 4, error handling 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":1045}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce83c0b5b0afda8ad90f3ca232cc99af85dd276d6998c6914feb5ea5896c9bc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtils.mergeValues (cognitive 20): ConfigUtils.mergeValues has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13, loops 4, boolean chains 2, ternaries 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ConfigUtils.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39b2daf01704f963dfb94fd1ee07d46a1350446891b3b53ef6aaf8999804943"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.camelToSplitName (cognitive 20): StringUtils.camelToSplitName has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 1, loops 1, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78c25d579abdef3cb46b1d5dab18d04117f55cce1e5a169842ad16223755a85"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.delimitedListToStringArray (cognitive 20): StringUtils.delimitedListToStringArray has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, loops 8, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":1087}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ecfba214640cc89f4a15ecb860eafd83901f1e74d1379ad7feaa400463ae78"}},{"ruleId":"D2","level":"warning","message":{"text":"StringUtils.toBoolean (cognitive 20): StringUtils.toBoolean has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, boolean chains 2, match/switch 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":1404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bb2aa1ab990b5e10bf23dfb1f4bbc7ac9c5c7a6645dbd01973e084b1b6cba5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassUtils.getCanonicalNameForParameterizedType (cognitive 20): ClassUtils.getCanonicalNameForParameterizedType has cognitive complexity 20 (threshold 15). Drivers by points: if/else 17, loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/metadata/definition/util/ClassUtils.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"855efc09bf1fdec788f0fe6a7c098699a79b887b944f2bd1df9ff6d1e28434e4"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationUtils.getAttribute (cognitive 20): AnnotationUtils.getAttribute has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11, loops 5, error handling 4 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-processor/src/main/java/org/apache/dubbo/metadata/annotation/processing/util/AnnotationUtils.java"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4923282e5d284a7e34f15981702e82a13464a612aaf4379e48185cb6866492"}},{"ruleId":"D2","level":"warning","message":{"text":"ExchangeCodec.decode (cognitive 20): ExchangeCodec.decode has cognitive complexity 20 (threshold 15). Drivers by points: if/else 12, boolean chains 4, error handling 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"600932ea18c7cab62c44fa94de129e049985c73434e32987120b37a4403abaf3"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceInstancesChangedListener.getServiceUrlsCache (cognitive 19): ServiceInstancesChangedListener.getServiceUrlsCache has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 3, boolean chains 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/event/listener/ServiceInstancesChangedListener.java"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac68789501a23c666d1352466e8a2e282e32cbf8990d312ace4f6a00e441e50d"}},{"ruleId":"D2","level":"warning","message":{"text":"InstanceAddressURL.hasServiceMethodParameter (cognitive 19): InstanceAddressURL.hasServiceMethodParameter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ef4593fd5640a43c7762ec22a3a267fb758757bb311c5cc9463e76abb241650"}},{"ruleId":"D2","level":"warning","message":{"text":"MulticastRegistry.lookup (cognitive 19): MulticastRegistry.lookup has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, loops 6, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-multicast/src/main/java/org/apache/dubbo/registry/multicast/MulticastRegistry.java"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3b9fb99a914864d563598d855da71955200b73a426284d707af7d6bd9ab13e"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterChainNode.invoke (cognitive 19): FilterChainNode.invoke has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, error handling 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/FilterChainBuilder.java"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa63b85c34737a4e84624552d9e7941d6a1edfd1a5213739b305b1485c123b72"}},{"ruleId":"D2","level":"warning","message":{"text":"ShortestResponseLoadBalance.doSelect (cognitive 19): ShortestResponseLoadBalance.doSelect has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, boolean chains 3, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d1328a2f7315d5dcb03b8cda6991691a40e21c397b102faafde03bdb916f27"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboAttachmentMatch.isMatch (cognitive 19): DubboAttachmentMatch.isMatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, loops 7 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mesh/rule/virtualservice/match/DubboAttachmentMatch.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"31bf45d11c235556d6f2f5f696f96f6a8e1e396f1902e8d0cf9022cbb1ccb0e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamArgumentResolver.resolveCollectionValue (cognitive 19): ParamArgumentResolver.resolveCollectionValue has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, ternaries 4, error handling 3, loops 2, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e303d7203affc9d83ab3513c279b25da71523526e43f147a529401a2c992a899"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionMerger.addSchema (cognitive 19): DefinitionMerger.addSchema has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10, loops 8, boolean chains 1 (nesting depth added 6). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionMerger.java"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"70db4424fb1d9f14e537ff42c0ed2e11addb1b9a7514823aa3a4299e8ed5cf1c"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaResolver.doResolveBeanClass (cognitive 19): SchemaResolver.doResolveBeanClass has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 3, boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/SchemaResolver.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"3561ceb00cfc726445a34e7c98f1cc52ebd39d788d8ab1ea91922757c31ebfe0"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackServiceCodec.exportOrUnexportCallbackService (cognitive 19): CallbackServiceCodec.exportOrUnexportCallbackService has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 2, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6dfc0ecd85e728b8dfe9f3ddc2bce9f857bbf8aaea429f556684d0814d8e4be"}},{"ruleId":"D2","level":"warning","message":{"text":"1.reply (cognitive 19): 1.reply has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, loops 3, ternaries 3, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboProtocol.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3799aac70f6e40055a7ee98ed8e954d45c5b88a43febbae86e84505c60366f"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeBeanFactory.getBeanInternal (cognitive 19): ScopeBeanFactory.getBeanInternal has cognitive complexity 19 (threshold 15). Drivers by points: if/else 18, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beans/factory/ScopeBeanFactory.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"778e11c96612352ea0df404326d72ece2c532b7ea3ea26cb096e1afbfd49000a"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaFileManagerImpl.list (cognitive 19): JavaFileManagerImpl.list has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, loops 6, boolean chains 4 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/compiler/support/JdkCompiler.java"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13f5b7834c4b07a7af6ce5537aeb915bf81abbceebba207fbcfd0d413d4a195"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLoader.createExtension (cognitive 19): ExtensionLoader.createExtension has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, boolean chains 4, loops 3, error handling 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bfb03722ca4ce4aad529ce3177d513c7a2be39547ca0730988d89778373e8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ExtensionLoader.loadClass (cognitive 19): ExtensionLoader.loadClass has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, loops 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":1266}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8747b440283a29d09a421c4bafd1be6014eb46e0d0cee4cf57eb75f6d57545d"}},{"ruleId":"D2","level":"warning","message":{"text":"2.read (cognitive 19): 2.read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/StreamUtils.java"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"4958b1105d3f39123db32d195dc0cd3ffbdc2f6075e9a6e5c34abc88c5ef4f9e"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultExecutorRepository.updateThreadpool (cognitive 19): DefaultExecutorRepository.updateThreadpool has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, boolean chains 3, error handling 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/manager/DefaultExecutorRepository.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3e7b132679e31510f56c82a0a61f4e84e9cf1823bcdb804ddef922d4c856ff7"}},{"ruleId":"D2","level":"warning","message":{"text":"Log.equals (cognitive 19): Log.equals has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/Log.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ae511d82d7bd9dda4748bc4e668ec4b09366402d36bcf6a0a1176db2043f50"}},{"ruleId":"D2","level":"warning","message":{"text":"URL.valueOf (cognitive 19): URL.valueOf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9, loops 7, boolean chains 2, ternaries 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URL.java"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9bf2e90d8cb6edd1c7a16f91ad62294b9797b41b5a9bdb5147265157be0ece"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultApplicationDeployer.calculateState (cognitive 19): DefaultApplicationDeployer.calculateState has cognitive complexity 19 (threshold 15). Drivers by points: if/else 16, boolean chains 2, loops 1 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java"},"region":{"startLine":1229}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f1edfdbd00ed05aef88f4d39c924c2e76d49f48bc8960e2a2962b35b24d73b"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigValidationUtils.checkMultiExtension (cognitive 19): ConfigValidationUtils.checkMultiExtension has cognitive complexity 19 (threshold 15). Drivers by points: if/else 14, loops 5 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"7466604988151e1ceec9290491a9744d4ed1b8991ca0b5e3f3f3f281e23b9383"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceAnnotationWithAotBeanPostProcessor.postProcessBeanFactory (cognitive 19): ReferenceAnnotationWithAotBeanPostProcessor.postProcessBeanFactory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11, error handling 7, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring6/src/main/java/org/apache/dubbo/config/spring6/beans/factory/annotation/ReferenceAnnotationWithAotBeanPostProcessor.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a5dcc6774370d3f6cfb3a0f8100a271859fda8e1d5fde9c3bc969cacb15b176"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractInterfaceConfig.completeCompoundConfigs (cognitive 19): AbstractInterfaceConfig.completeCompoundConfigs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 19 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"644b9a725368db92960be75742df757c4030b577f035ad69d9b83c9e71bdf5be"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceConfigBase.resolveFile (cognitive 19): ReferenceConfigBase.resolveFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 15, error handling 3, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ReferenceConfigBase.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1f02c0ed6b08cbdb72893106e54924045f8529e585efe4668dbd130268f928"}},{"ruleId":"D2","level":"warning","message":{"text":"ApolloDynamicConfiguration.\u003Cinit\u003E (cognitive 19): ApolloDynamicConfiguration.\u003Cinit\u003E has cognitive complexity 19 (threshold 15). Drivers by points: if/else 8, ternaries 7, boolean chains 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-configcenter/dubbo-configcenter-apollo/src/main/java/org/apache/dubbo/configcenter/support/apollo/ApolloDynamicConfiguration.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"733559c98bc74ced7398826f0cc4ec10565abda77a847be24312a4cd45ab43a1"}},{"ruleId":"D2","level":"warning","message":{"text":"McpServiceFilter.getMcpToolConfig (cognitive 19): McpServiceFilter.getMcpToolConfig has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12, boolean chains 4, error handling 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"9573f731b779328aada19237b7068430b8ae6864e437611195080d6d68946410"}},{"ruleId":"D2","level":"warning","message":{"text":"JValidator.validate (cognitive 19): JValidator.validate has cognitive complexity 19 (threshold 15). Drivers by points: loops 12, if/else 6, boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"283f13c6992287ab12da6c84c4628e8acdb6116446b5cca37d670be531a9c7c5"}},{"ruleId":"D2","level":"warning","message":{"text":"JValidatorNew.validate (cognitive 19): JValidatorNew.validate has cognitive complexity 19 (threshold 15). Drivers by points: loops 12, if/else 6, boolean chains 1 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"103ef8007aa5b0b85a8a7ed8431a368644de366e40efa801204284b238835862"}},{"ruleId":"D2","level":"warning","message":{"text":"PageServlet.writeTable (cognitive 19): PageServlet.writeTable has cognitive complexity 19 (threshold 15). Drivers by points: loops 7, if/else 5, ternaries 4, boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/PageServlet.java"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c5eb5e0690a63521f0cd2f19cdeb8d73b20c7c68e3090f5c35a8c4a5f518ed"}},{"ruleId":"D2","level":"warning","message":{"text":"ServiceDiscoveryRegistryDirectory.refreshInvoker (cognitive 18): ServiceDiscoveryRegistryDirectory.refreshInvoker has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, error handling 3, ternaries 2, boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c71653a5589bd6589ad9f7cad4f9a7ed6bf185a980c169cf7a93ce53afdb058"}},{"ruleId":"D2","level":"warning","message":{"text":"LeastActiveLoadBalance.doSelect (cognitive 18): LeastActiveLoadBalance.doSelect has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, boolean chains 3, loops 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"81451f7100c3ccd643f989cb7e05105d4c9c10027eb202359ed3779da81aa750"}},{"ruleId":"D2","level":"warning","message":{"text":"MeshRuleRouter.doRoute (cognitive 18): MeshRuleRouter.doRoute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, loops 1, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mesh/route/MeshRuleRouter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfbc021fad39ac9ece734fe728ee443a97f7a71c2bdd36fb675efdd347b24e5"}},{"ruleId":"D2","level":"warning","message":{"text":"MockInvokersSelector.doRoute (cognitive 18): MockInvokersSelector.doRoute has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mock/MockInvokersSelector.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6b1f4981aac7da4384cf91382a7295b9e6b3267cf28d9a0030f89976ee4a6e"}},{"ruleId":"D2","level":"warning","message":{"text":"Helper.isVersionGreaterOrEqual (cognitive 18): Helper.isVersionGreaterOrEqual has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10, loops 5, boolean chains 3 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/Helper.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c9fa43d63ac4a50559eef333a19aacc4eee6f5cac43896692207df2051d4f36"}},{"ruleId":"D2","level":"warning","message":{"text":"CorsHeaderFilter.checkOrigin (cognitive 18): CorsHeaderFilter.checkOrigin has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, loops 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/cors/CorsHeaderFilter.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"7342d3f0c065e87bf51cb3f2a367ff67f23179e93f89b7d1825fc9d43c9c0261"}},{"ruleId":"D2","level":"warning","message":{"text":"PathParser.toRegex (cognitive 18): PathParser.toRegex has cognitive complexity 18 (threshold 15). Drivers by points: if/else 14, match/switch 2, boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/PathParser.java"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aef99b0cd5211b21c8bfcaaa495d5f0ed5aa735d6056ee3d1d76331ab1bdfee"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationMeta.getAttributes (cognitive 18): AnnotationMeta.getAttributes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9, loops 9 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/AnnotationMeta.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a034977c40015f854c9d34accd2d857ac010e49bb78f4730d8ffb585e9de5fbc"}},{"ruleId":"D2","level":"warning","message":{"text":"URLAddress.createPathURLAddress (cognitive 18): URLAddress.createPathURLAddress has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7f74c8da0dadcc0d97e968e28bff4700d2155d59a2437c551f798e840c51993"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractServiceBuilder.build (cognitive 18): AbstractServiceBuilder.build has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/AbstractServiceBuilder.java"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3903ccc9a76dac0c3a6abdd42ec2945fa67174af6bd3aa633b644fbf114a5c63"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultModuleDeployer.postDestroy (cognitive 18): DefaultModuleDeployer.postDestroy has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8, error handling 6, loops 4 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"e00170146f2a32fa5258593ee53d995759e5c679f27f7e941fe0f29bd57648de"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceConfig.appendConfig (cognitive 18): ReferenceConfig.appendConfig has cognitive complexity 18 (threshold 15). Drivers by points: if/else 16, loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cf16af3629e7b44929c6870889c9a5dd74a9dad171df87a11277cb46b2d9b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ProtobufTypeBuilder.buildProtobufTypeDefinition (cognitive 18): ProtobufTypeBuilder.buildProtobufTypeDefinition has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-definition-protobuf/src/main/java/org/apache/dubbo/metadata/definition/protobuf/ProtobufTypeBuilder.java"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdffda498734a5a6776a39f1700be56a48c78d3832eb76f19c776293dbdacb1"}},{"ruleId":"D2","level":"warning","message":{"text":"HeaderExchangeHandler.received (cognitive 18): HeaderExchangeHandler.received has cognitive complexity 18 (threshold 15). Drivers by points: if/else 18 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/header/HeaderExchangeHandler.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ccba822174dfe583d5f02f4e118f3ed2898872792c891b80f5e86e4273936f"}},{"ruleId":"D2","level":"warning","message":{"text":"ChannelEventRunnable.run (cognitive 18): ChannelEventRunnable.run has cognitive complexity 18 (threshold 15). Drivers by points: error handling 14, if/else 2, match/switch 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/ChannelEventRunnable.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60536c972cd04d9a3ec10af443d8fb3f81a685e6fc35a2cba9a71d9dfeec3fd"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageFormatter.arrayFormat (cognitive 18): MessageFormatter.arrayFormat has cognitive complexity 18 (threshold 15). Drivers by points: if/else 17, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf5a368aa8eef40955458d0ad26d36ee2cb1503fff1f344ba8517244800475b8"}},{"ruleId":"D2","level":"warning","message":{"text":"FindPidWindowsProcessor.findPid (cognitive 18): FindPidWindowsProcessor.findPid has cognitive complexity 18 (threshold 15). Drivers by points: if/else 12, loops 3, boolean chains 2, error handling 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-test/dubbo-test-check/src/main/java/org/apache/dubbo/test/check/registrycenter/processor/FindPidWindowsProcessor.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbcb177387416c50f23e4f6621d7ac684c1e3f8f072564307b3827d4901fa26"}},{"ruleId":"D2","level":"warning","message":{"text":"MulticastRegistry.unregistered (cognitive 17): MulticastRegistry.unregistered has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12, loops 4, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-multicast/src/main/java/org/apache/dubbo/registry/multicast/MulticastRegistry.java"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"293b6b648e8200588a7b30faf41109901c9cccd9849cdf4acadfd04f8e684887"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractLoadBalance.getWeight (cognitive 17): AbstractLoadBalance.getWeight has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/AbstractLoadBalance.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd7a1ac512f6785761dafe7b166028217579929591b00bc5661d9cd2af58d38"}},{"ruleId":"D2","level":"warning","message":{"text":"MatrixVariableArgumentResolver.resolveMapValue (cognitive 17): MatrixVariableArgumentResolver.resolveMapValue has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 5, ternaries 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/MatrixVariableArgumentResolver.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5f29c597097d4a648d7dd20b68ce0cd630515a3d54815db062a8fc9dfc5a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaResolver.doResolveClass (cognitive 17): SchemaResolver.doResolveClass has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, loops 3, boolean chains 1 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/SchemaResolver.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dca8ed9683817fbfeb107b714d413d0b59e5260ae8dfb576e42b3bd15504b4"}},{"ruleId":"D2","level":"warning","message":{"text":"ContentNegotiator.getMediaTypeByExtension (cognitive 17): ContentNegotiator.getMediaTypeByExtension has cognitive complexity 17 (threshold 15). Drivers by points: loops 12, if/else 4, ternaries 1 (nesting depth added 8). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/ContentNegotiator.java"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f9da2991f3cc287abe6fe0f25ac90164e5a6ff2093b768e5098c9b60f6ca42"}},{"ruleId":"D2","level":"warning","message":{"text":"RestUtils.hasPlaceholder (cognitive 17): RestUtils.hasPlaceholder has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"477173116194d7bd6408c7855eef3fb3fa6308ba57aecd52f94e53f58d5def3c"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractH2TransportListener.headersToMap (cognitive 17): AbstractH2TransportListener.headersToMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, error handling 3, loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/transport/AbstractH2TransportListener.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba75cda769f9c57ce113f1cb14ff75b999479f8cec27bb79f0d40295dfde7a2"}},{"ruleId":"D2","level":"warning","message":{"text":"CallbackServiceCodec.referOrDestroyCallbackService (cognitive 17): CallbackServiceCodec.referOrDestroyCallbackService has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, error handling 3 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3875bbd295a5e3fe68987fc72034d9f57fcd26174303be5dde5ec1095f170af"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractProxyInvoker.invoke (cognitive 17): AbstractProxyInvoker.invoke has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, error handling 2, boolean chains 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/proxy/AbstractProxyInvoker.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b9e34bb4774cd19083e9dc3e3b72a0b63997eb1e7cee0a328aabe5a57b4aab"}},{"ruleId":"D2","level":"warning","message":{"text":"Proxy.asArgument (cognitive 17): Proxy.asArgument has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Proxy.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"31ae405b1db3aa529d044ac1644f1f14a3f41945c97bd56118639bb1c52534c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Wrapper.arg (cognitive 17): Wrapper.arg has cognitive complexity 17 (threshold 15). Drivers by points: if/else 17 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Wrapper.java"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a59711da803b129a9bd5c8aaebe761ce76ca2fbed034659cfd113066cf5fee0"}},{"ruleId":"D2","level":"warning","message":{"text":"Bytes.base642bytes (cognitive 17): Bytes.base642bytes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":707}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edbdfdb273365acf40f07ab47aa2f2092c57c80e2af5306ba356278672a66b3"}},{"ruleId":"D2","level":"warning","message":{"text":"Bytes.base642bytes (cognitive 17): Bytes.base642bytes has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, loops 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e60faaa430b7ccea99ca10896debfc2b525a7696cdf8d43a12bdf01fc9c69e"}},{"ruleId":"D2","level":"warning","message":{"text":"URLParam.initMethodParameters (cognitive 17): URLParam.initMethodParameters has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 7 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ce1bee923cbc4583ec5ea81f7d1205d88768a3fac621d2e7789d03fdd6b877"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtils.loadProperties (cognitive 17): ConfigUtils.loadProperties has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, error handling 7, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ConfigUtils.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf34f0833ff00b10989137549b7db3e01d272f63e36fcbef469b8983b4892253"}},{"ruleId":"D2","level":"warning","message":{"text":"NetUtils.ignoreNetworkInterface (cognitive 17): NetUtils.ignoreNetworkInterface has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, boolean chains 3, error handling 3, loops 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eedc082191deec8f84773451ba18e1185c12606f08653817016dc5b78b3c32b"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.revertForbid (cognitive 17): UrlUtils.revertForbid has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, loops 6, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"cebe96c698d496661143a26d72007d136bd6ef97037be99f26fb5991034b1412"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleConfigManager.findDuplicatedInterfaceConfig (cognitive 17): ModuleConfigManager.findDuplicatedInterfaceConfig has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/context/ModuleConfigManager.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"33af9614b731119946cf4445b3e072a2c8e82c8f345d90ee01e0f9e52df17526"}},{"ruleId":"D2","level":"warning","message":{"text":"InternalServiceConfigBuilder.getRelatedOrDefaultProtocol (cognitive 17): InternalServiceConfigBuilder.getRelatedOrDefaultProtocol has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 3, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/InternalServiceConfigBuilder.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"06526695f946b2d5663ad6e94bda9d5dc5861eaae3e2ad0c200f255b2b28617c"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboBeanDefinitionParser.parseMethods (cognitive 17): DubboBeanDefinitionParser.parseMethods has cognitive complexity 17 (threshold 15). Drivers by points: if/else 15, boolean chains 1, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bafa87887f510b30ef3d19dee5f124d854963f36f4cecf62e694d5bee73d425"}},{"ruleId":"D2","level":"warning","message":{"text":"LazyTargetInvocationHandler.invoke (cognitive 17): LazyTargetInvocationHandler.invoke has cognitive complexity 17 (threshold 15). Drivers by points: if/else 14, error handling 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/LazyTargetInvocationHandler.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8f8a0774e4d3ddbd99261f934a4bafd89e4ce151c19c583fc0edece1411f8ab"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataInfo.extractInstanceParams (cognitive 17): MetadataInfo.extractInstanceParams has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11, loops 5, boolean chains 1 (nesting depth added 5). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e03a8b3f4f9caa077b3245f86ff3887477930bdb784897ceb6b4117d440198"}},{"ruleId":"D2","level":"warning","message":{"text":"SlidingWindow.currentPane (cognitive 17): SlidingWindow.currentPane has cognitive complexity 17 (threshold 15). Drivers by points: if/else 16, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/SlidingWindow.java"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"47a6026dbadf01d4ae46dc470dac614e4601564d339eb3b5ed80f0bcb4a87045"}},{"ruleId":"D2","level":"warning","message":{"text":"TelnetCodec.getCharset (cognitive 17): TelnetCodec.getCharset has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9, error handling 8 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/codec/TelnetCodec.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b6a2a99b46013f1f263cd416739cce99b40f1d738f3d657e0af338b227e9ac"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractRegistry.\u003Cinit\u003E (cognitive 16): AbstractRegistry.\u003Cinit\u003E has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b84a273f31f37912b03998a01e2b077f49ebb7e1274a526fcbdf6667ac46882"}},{"ruleId":"D2","level":"warning","message":{"text":"CacheableFailbackRegistry.toUrlsWithoutEmpty (cognitive 16): CacheableFailbackRegistry.toUrlsWithoutEmpty has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 4 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/CacheableFailbackRegistry.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"9629d1f023ddd4dcdb6bd751197d193521b592f1003f981557ea309feaa98b81"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeValuePattern.match (cognitive 16): RangeValuePattern.match has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, boolean chains 2, error handling 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/matcher/pattern/range/RangeValuePattern.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"639deacbb60fc97d839dac6f2726ed086be367e722615ba8403474c7a4385636"}},{"ruleId":"D2","level":"warning","message":{"text":"FailoverClusterInvoker.doInvoke (cognitive 16): FailoverClusterInvoker.doInvoke has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 4, boolean chains 1, loops 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/FailoverClusterInvoker.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"bde50017663120edb45d3357da45e7a268f945d724ee9f3d8952a4f5f6fa6da1"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigFactory.applyConfigValue (cognitive 16): ConfigFactory.applyConfigValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 2, boolean chains 1, error handling 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/ConfigFactory.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a35c77b0fafc1b60ded0835f74ea852a26889382ee79df41e221093f4d38af1"}},{"ruleId":"D2","level":"warning","message":{"text":"DefinitionResolver.resolveResponse (cognitive 16): DefinitionResolver.resolveResponse has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 1, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionResolver.java"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae44e5c7b9bbb51f9ff564bbfef11450d0301e80e1cc9c03c691601d762f0088"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestUtils.decodeBody (cognitive 16): RequestUtils.decodeBody has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, error handling 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RequestUtils.java"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"968b5e28cb903f4e22a12f50e765b63b79cbf71968a4c59a71ef6b1980b0003f"}},{"ruleId":"D2","level":"warning","message":{"text":"RestHttpMessageCodec.encode (cognitive 16): RestHttpMessageCodec.encode has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, error handling 4, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/RestHttpMessageCodec.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"913a8fac5d2ebb4696ea4d6a02a9e884b074f42afe0573958d3c8d91b7c3022f"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamUtils.toAttachments (cognitive 16): StreamUtils.toAttachments has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7, error handling 3, ternaries 3, loops 2, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/stream/StreamUtils.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"70822de133cf3626447268077712b2a8cc9ebec3c551d249abf0e0474a525f92"}},{"ruleId":"D2","level":"warning","message":{"text":"FutureFilter.fireReturnCallback (cognitive 16): FutureFilter.fireReturnCallback has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, boolean chains 3, error handling 2, ternaries 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf73ef0ff6641c5a9e95cddc9bbefeaf29db4711795fa45e02f0da82e52dd7f1"}},{"ruleId":"D2","level":"warning","message":{"text":"InjvmInvoker.recreateInvocation (cognitive 16): InjvmInvoker.recreateInvocation has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, ternaries 4, loops 3, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-injvm/src/main/java/org/apache/dubbo/rpc/protocol/injvm/InjvmInvoker.java"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"521ed92464e809fd2fb37d73906a1c28e714b016f803d03e31b4cd36927c2285"}},{"ruleId":"D2","level":"warning","message":{"text":"ContextFilter.invoke (cognitive 16): ContextFilter.invoke has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, loops 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ContextFilter.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa11f004d8bf6114c5116ddecb4d589e2e446cae4a60d8873b0f6818e06a7265"}},{"ruleId":"D2","level":"warning","message":{"text":"ScopeBeanFactory.initializeBeanDefinitions (cognitive 16): ScopeBeanFactory.initializeBeanDefinitions has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, error handling 6, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beans/factory/ScopeBeanFactory.java"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c280cf7f783187757bfc82043e9b5ddb3e0c552189c0a411cf2b6e059e0c89c"}},{"ruleId":"D2","level":"warning","message":{"text":"JavaBeanSerializeUtil.getConstructorArg (cognitive 16): JavaBeanSerializeUtil.getConstructorArg has cognitive complexity 16 (threshold 15). Drivers by points: boolean chains 8, if/else 8. To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea55fb5eee1ce8366a909ed61d1b09b5feb4b7068a988e471a86d207e2474e9"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageFormatter.arrayFormat (cognitive 16): MessageFormatter.arrayFormat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, loops 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d39f8c8012a1da492261efa2ca1f15fffde9c55ff98dca9e06f283af5f59d13"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.convertRegister (cognitive 16): UrlUtils.convertRegister has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 4, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"1693394a37e5d0122ab4b4ebe9d6d79c4d0e10a739245a35960b3240fe53ee17"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlUtils.revertRegister (cognitive 16): UrlUtils.revertRegister has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11, loops 4, boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee5f8fd9bfc3ec6c3ffeb263940b527edd5dddb3e0118075b7fd0729dc8beb6"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractConfigManager.loadConfigsOfTypeFromProps (cognitive 16): AbstractConfigManager.loadConfigsOfTypeFromProps has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, error handling 7, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/context/AbstractConfigManager.java"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"88fd71700d2b6c4f64505a7a8415b6a1db00adcbc0c1e804c4b0e8f5ee1f7819"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceBeanSupport.convertToString (cognitive 16): ReferenceBeanSupport.convertToString has cognitive complexity 16 (threshold 15). Drivers by points: loops 9, if/else 6, boolean chains 1 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceBeanSupport.java"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0994498e35ba907c9860f40f03666ba7b984ee356026b3e83f81f47646be1f2"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboBeanDefinitionParser.parseProperties (cognitive 16): DubboBeanDefinitionParser.parseProperties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 14, boolean chains 1, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf70fcf1009680e4acc433919a8851764686e85c346a8788187d12671c04d5ad"}},{"ruleId":"D2","level":"warning","message":{"text":"PropertySourcesUtils.getSubProperties (cognitive 16): PropertySourcesUtils.getSubProperties has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 3, boolean chains 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/PropertySourcesUtils.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43ec7887c53d409308545dcab689dd60584830ce221a23ab3fd31cdf49c25b6"}},{"ruleId":"D2","level":"warning","message":{"text":"AotContribution.registerHints (cognitive 16): AotContribution.registerHints has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, loops 8 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring6/src/main/java/org/apache/dubbo/config/spring6/beans/factory/annotation/ReferenceAnnotationWithAotBeanPostProcessor.java"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a9c4f5f3e305862c7ac4bef409fc3f82678a27d0ea6c3c00e96499f8a307e1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceConfig.checkAndUpdateSubConfigs (cognitive 16): ReferenceConfig.checkAndUpdateSubConfigs has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, error handling 2 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebfd39f66711489237d2492392767926772fd1e76256d77474d7ada84361be8"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceConfig.createInvoker (cognitive 16): ReferenceConfig.createInvoker has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13, loops 2, boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"b083f24e987453ee522be38ac793cd861cc309317e0251c9557f3d339fb14c35"}},{"ruleId":"D2","level":"warning","message":{"text":"DubboOpenApiToolConverter.convertOpenApiSchemaToMcpMap (cognitive 16): DubboOpenApiToolConverter.convertOpenApiSchemaToMcpMap has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 4, ternaries 2 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/tool/DubboOpenApiToolConverter.java"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"e170bc9d671f240374b81280acb62aee24ce081a1a88ad064801c0effee023cc"}},{"ruleId":"D2","level":"warning","message":{"text":"GetOpenAPI.execute (cognitive 16): GetOpenAPI.execute has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9, match/switch 4, loops 3 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetOpenAPI.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cadb35cd7b5902b1ebc74eef56848fb3de0491237236128c734fc3aa35c45d39"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyClient.doConnect (cognitive 16): NettyClient.doConnect has cognitive complexity 16 (threshold 15). Drivers by points: if/else 15, boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClient.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"8015eeae48e101fdd9f04b03c4cbb42fb07a28277b8e4288ef51a19bf5947c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URL: TooManyMethods \u2014 232 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URL.java"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"0179a8ae3e05171fd22f0dd0031408929d649df1239ca4e65f7c755c1a8acc2d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DelegateURL: TooManyMethods \u2014 202 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/common/DelegateURL.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d460f96bc84f618386cc4a8b3d01d3a372fe99180e7019f3b86c8ca6753a6a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URL: TooManyMethods \u2014 117 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/common/URL.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6099a48cd96de3c68e9ef9a8e35dc5d7df1340f457af4917cdfaf820ce2fc4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Http2HeadersAdapter: TooManyMethods \u2014 111 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http3/src/main/java/org/apache/dubbo/remoting/http3/netty4/Http2HeadersAdapter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"406e7df81a0ad8e8d725239c1998013ab701c42033f71119994a8aef1297cf25"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Http3HeadersAdapter: TooManyMethods \u2014 111 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http3/src/main/java/org/apache/dubbo/remoting/http3/netty4/Http3HeadersAdapter.java"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1182ac91e7a9e824883f1ba298b65749cf5e9f5963e8ea9857364f606734c378"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApplicationConfig: TooManyMethods \u2014 108 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ApplicationConfig.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d24f9da39cfd5eabce9470eecf8984d6c6a2fdc64b24ab852d7a058e4e2325e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RpcContext: TooManyMethods \u2014 102 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcContext.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"330c9402b8bd9bc514d6aad3b54238b1337c615f7766b3b1b515518ed73f0cba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Schema: TooManyMethods \u2014 98 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/model/Schema.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4b6b83668bab8bf0b1c5c04562940ef376f65423c5131ed9ac4ef28d87dd1b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractInterfaceConfig: TooManyMethods \u2014 97 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractInterfaceConfig.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b8b4ca4b8ff891f663dc2ab3d0ae3f1f7855b870f65a9cc67de3dd2e77cab5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtocolConfig: TooManyMethods \u2014 94 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ProtocolConfig.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf80382e690c1eaa74f6df0966c67f156058a52d0003ef6a24c4908f4327fbab"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DubboBootstrap: TooManyMethods \u2014 92 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/DubboBootstrap.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2865c098dc291ad725fd84d8e40aec924e8fa993c41528ba4466cfe3b854c03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StringUtils: TooManyMethods \u2014 78 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1755a93bf7e79d22be127f13fcfc9ae7813d9c617c32fdeee4687f2efc9ba3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RegistryConfig: TooManyMethods \u2014 74 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/RegistryConfig.java"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79749ff8c510c481bbed5247d91ef8695ac62f6b46dce195633d58af016ebcf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ExtensionLoader: TooManyMethods \u2014 72 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"07310cb56903d5e0562b777edf305610fd71c7edcc6418c3c294d26fb6d612de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultHttpRequest: TooManyMethods \u2014 72 methods. Most of these members implement http12.HttpRequest (58 of 69 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eb316bc239bfa63a23c815a35c68bc13b3c106c0ad2362ccc504ecdf9a8e3e4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultApplicationDeployer: TooManyMethods \u2014 70 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"028e75b724c357c30b2393f34e93a5c3916cdaaf4abd6e01c281fa8939a6f28b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServletHttpRequestAdapter: TooManyMethods \u2014 69 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-triple-servlet/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/servlet/ServletHttpRequestAdapter.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b1e296836a1ebeb5a4ac9d9e367c3bcc5c2387685dc4b3bd11b073b1207208"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RpcInvocation: TooManyMethods \u2014 69 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcInvocation.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2366decdcd0246fdef5839dc90ff6f821428549b66fe33a6d40064d1dc10750"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/URL.java: FileTooLong \u2014 1058 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URL.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b24f465bb08708accb32828058cf71a30ba6d1960ce02ed657d95fe44ef7b24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractConfig: TooManyMethods \u2014 63 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45436ddac6ea639d1573c2552688284d40eade2701d21f8239642d647a6c6f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyBackedChannelBuffer: TooManyMethods \u2014 63 methods. Most of these members implement buffer.ChannelBuffer (31 of 34 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyBackedChannelBuffer.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0576e11b04eb1dff79f7b258e5c89817bc83f0d1951033ac79b558f55ccacba9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NettyBackedChannelBuffer: TooManyMethods \u2014 63 methods. Most of these members implement buffer.ChannelBuffer (32 of 34 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyBackedChannelBuffer.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd4a2b07f87e82c5ee89df9444cf732fb6c862e935aaa9725ed2e5da0bfbd72"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RpcServiceContext: TooManyMethods \u2014 61 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcServiceContext.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ea49a2ad5b7f6d08351c671a5a800703ce5bdb407aeef02154e12c782d7ccb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RpcContext: TooManyMethods \u2014 60 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/rpc/RpcContext.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb0371e77fb17804ce15b9cbb5af9fecac261db91b01f7582e73fc2d943fb017"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DummyServletContext: TooManyMethods \u2014 60 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-triple-servlet/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/servlet/DummyServletContext.java"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"828b8f4732197aea239b5bfedba883b0a2aa766b684b687e6edc0096626ec72f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FluentLoggerImpl: TooManyMethods \u2014 59 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"de53dc2485f166bfe686ff5236b68446acbf216750bbbeae60559e913437c371"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReflectUtils: TooManyMethods \u2014 59 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8af9b046fb136f0b0fcfc191f71ea6a579fe8601c632528fbad231ce7fedf9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProviderConfig: TooManyMethods \u2014 59 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ProviderConfig.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce54ea72fc7d34f3bff730de7a698cd1baea2ee1ddbde84ccd69430755bb80f9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: argument/GeneralTypeConverter.java: FileTooLong \u2014 968 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: GeneralTypeConverter (107-1318). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baea4542cfd975d942a8b59c2939aa402d6bbd0ff4d2fa0ac5340ee3abd34443"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TripleConfig: TooManyMethods \u2014 58 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/nested/TripleConfig.java"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b6db423c97ecc53956342a552c3c22a517dc1d88bae0f8d55539e95d2c6bdaa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InstanceAddressURL: TooManyMethods \u2014 58 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a578dc233f4b5e638ac5a786ef7706b39efa0aa47da1a4c2ee9c5d996f3eec88"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: extension/ExtensionLoader.java: FileTooLong \u2014 909 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: ExtensionLoader (110-1522). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce345f65e3e91b719560049f7f34eeaf20b84fc96090501a7c735c2eea4a25e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: deploy/DefaultApplicationDeployer.java: FileTooLong \u2014 903 significant lines (blank, comment-only and punctuation-only lines excluded), about 90% of them inside a single declaration: DefaultApplicationDeployer (116-1458). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbaccabb7187dbdd1d9f43e7cb5e7fddbea2e2df9135db068f8e8aa4dcb65d0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Bytes: TooManyMethods \u2014 54 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"36eb58df87c6d2717cc490517cefbf27022105a69f2be54d552fd1fab021ecba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractServiceConfig: TooManyMethods \u2014 52 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractServiceConfig.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa810381d15460fdebd4214123d668a244d4a915ced3223b35a01bcdf6f4fe4b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServiceConfigURL: TooManyMethods \u2014 51 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/ServiceConfigURL.java"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddd799a168fb98c59a11dd1087c22b21edc042260ffd4ac49a9e3e08f83d82c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReferenceBeanBuilder: TooManyMethods \u2014 51 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceBeanBuilder.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"afafb9e947565387a5bbd1986afb1154889d737babdf33b398f688420f8b04a5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OverrideInstanceAddressURL: TooManyMethods \u2014 51 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/OverrideInstanceAddressURL.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f04095d87540672cdc9bff5b5ff03e33eebea5ff4a31d224937f5168c80504a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URLBuilder: TooManyMethods \u2014 50 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URLBuilder.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c14705206f5adf3758f6716e072e8357f5a96aaa873e0052c77374aa8878b1c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServiceConfigBase: TooManyMethods \u2014 50 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ServiceConfigBase.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ca92085e259a0f1622317d626bc73b2fb6e549c6ff444fe66258d2466e57767"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServiceConfig: TooManyMethods \u2014 50 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"e351496442758cf8d5e2aba410402041289ab1fe4cf56fceda0669afb7bba49e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModuleConfigManager: TooManyMethods \u2014 49 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/context/ModuleConfigManager.java"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"846ddae8baa83bbbcfc4f5ef9fd783bef89a8b7d065a22744612190331dc2ea5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FileSystemDynamicConfiguration: TooManyMethods \u2014 49 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-configcenter/dubbo-configcenter-file/src/main/java/org/apache/dubbo/common/config/configcenter/file/FileSystemDynamicConfiguration.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff891129f214b6d2049afdb4c7026c9c3b7d921b1ad58c5796d5eb5a855d3e10"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: integration/RegistryProtocol.java: FileTooLong \u2014 801 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: RegistryProtocol (145-1205). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26664fcc9620693df7d316ac84d5ad385aef7fc02b70db717f782c7ad4e98aa9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetUtils: TooManyMethods \u2014 48 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"82eb66b4f12d5544d21688de3621ac3dca5d0b8d530dc0cdc5467d065a7c3ae2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractChannelBuffer: TooManyMethods \u2014 48 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/buffer/AbstractChannelBuffer.java"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e812e8cc6b3a920b92703831fad753e033a0816f986e38455751dbc5b0cc113"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MethodConfig: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/MethodConfig.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8b5df7972ad2a303755dc7192d9b1aa848bad3506dde60ac8c6cea1f5496e4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAPIConfig: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/nested/OpenAPIConfig.java"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6fd15b6f569d70bcac10944c2918d3a58ba119f7d6df6046fb0e2c2fc13343"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ApplicationModel: TooManyMethods \u2014 47 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ApplicationModel.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeef3baa3213cb3e52030e4ef5a2d41d3edaf1a78a3ccc48bda2781478dd497"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/ReflectUtils.java: FileTooLong \u2014 769 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: ReflectUtils (59-1395). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"68fb85718680d4f619eaae579841fde859da598928006106fc48ce956676b9d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/ServiceConfig.java: FileTooLong \u2014 768 significant lines (blank, comment-only and punctuation-only lines excluded), about 86% of them inside a single declaration: ServiceConfig (126-1202). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"697cd9b1e3be4b6175f768e453e773bc31780164ca43a418ec9a9c423c7e657a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Operation: TooManyMethods \u2014 46 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/model/Operation.java"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e082657ed93777eca113e00b212d40a7fb8759cb4a06ce49320d14edb450c6f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DubboConfigurationProperties: TooManyMethods \u2014 45 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/DubboConfigurationProperties.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2b16c25928065a136d978479faaf0bccb405c3dd7ff39b958e07512d6a275d9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MetadataReportConfig: TooManyMethods \u2014 43 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/MetadataReportConfig.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c309d9f97787bba9011f62cf0056d1dff989d446939059a1c394e6b1ab33bddb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServiceInfo: TooManyMethods \u2014 43 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd8608f6f1b8b9e84655b916c9bf24e69b79ebe48d12e10bb4135ec12609d97"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ProtocolBuilder: TooManyMethods \u2014 42 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/ProtocolBuilder.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"21e679c24be9719e5ac66e0b836899f876e62d1ccbf86ac1000323d9912fcbb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MetricsConfig: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/MetricsConfig.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed67bb3df647514ca20dec339227db28068187194b10881f626e03f6882bf91"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenAPI: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/model/OpenAPI.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ba4ef5093a96969d78af9207a9c60d01cdefec3edac40674983a9a24b0a32e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultServiceInstance: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/DefaultServiceInstance.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"3915ea8967179a4304c4c566802446818d22bc6ab30d6e5f37745214764063d5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MigrationInvoker: TooManyMethods \u2014 41 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6c04f3a758b1b9d09be70751f5a81426c2dc75408747e46cbf7bfed6011b072"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/AbstractConfig.java: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: AbstractConfig (81-1187). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9082bd2cf72cc437da51ec3c15b1c376582f15ab759c0ad01c29220cdd6c3231"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractReferenceConfig: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractReferenceConfig.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8aece475eb5b2a949cb6ac41c21137fa222e7effd346df534d451a4375c5849"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigCenterConfig: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73af26209c84f64874eed937ba7cc387bedfecafc0f359627c8600abbfab342"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigManager: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/context/ConfigManager.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c07c8ce9abd592f4a4760341cb2ce9df14dd701b618051ff4f0afd9f73ca982"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigValidationUtils: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"4609be94fb86f454f91b6221548075a1a800702b86d6c68a759c03974d52cc32"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MetadataInfo: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"445cc7ce549edb99a69f9b313bbb9fe19f455fceb6b1469e82faa5969af7e763"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RegistryProtocol: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryProtocol.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dff968bcb053ef47a983bccc1f82e197d85577505e6af691be7ca42dac011c2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultHttpResponse: TooManyMethods \u2014 40 methods. Most of these members implement http12.HttpResponse (32 of 36 members), so moving them onto a smaller type would remove them from that contract rather than reduce it. To reduce it, split the contract instead: give each cohesive group of operations its own smaller interface and its own implementing type. Where the contract has to stay whole, move the work behind these members into collaborator types, so what is left here is a forward per member rather than a responsibility per member."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpResponse.java"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f92589a85c3e7515d028c9150292899d70ab46e674f6da62c88d77621102e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractZookeeperClient: TooManyMethods \u2014 40 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/AbstractZookeeperClient.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4ffb8ee3c53ba2b7823cbf1be13bb9124b5c512868ed7b16eef5dd01398544"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/StringUtils.java: FileTooLong \u2014 663 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: StringUtils (51-1453). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51c084110f747a4ebf941050a886ee9c0f39765b173557fa1b1e4c18b4761ef"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractConfigManager: TooManyMethods \u2014 39 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/context/AbstractConfigManager.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb61d422ccf640b11ce6f48558261a4ddbcab3a5ac452142f15b263904aad2a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ScopeModel: TooManyMethods \u2014 39 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ScopeModel.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc19c6ed318eed51b0e28c387b1f19444e447c602ce1ed2bdba48bb96609875"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClassUtils: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/compiler/support/ClassUtils.java"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b512c8481f49dec65289181c84720087254da32b8f09f607f91670a244df93ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultExecutorRepository: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/manager/DefaultExecutorRepository.java"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"82558f91e9fcfbc956fe8704ad42471222af1b31eeadd5d6e0e4b6fdb05c0b4e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SslConfig: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/SslConfig.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"936f92cec99987f8836a361bce1ef33f333336fef632859c100be8561131968a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultModuleDeployer: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cdd869288cd9253e0c7274f351529eb1b2d1d05a936c883315daaeb5eed04c8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NacosRegistry: TooManyMethods \u2014 38 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistry.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d99be0367f5141e2f7d7fac35500e2d45ec50381b88cc00a62e83ce7a33715"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: common/DelegateURL.java: FileTooLong \u2014 631 significant lines (blank, comment-only and punctuation-only lines excluded), about 98% of them inside a single declaration: DelegateURL (35-1055). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/common/DelegateURL.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"991fba3d6796171db4a65ddcb821ac1c378ab4adcfafd1d49bce970d1fea2ec2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractDirectory: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/directory/AbstractDirectory.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39e9f511e40fe02a656955a9b9287566db5abb5c9fe62849e430fc513cdfa1d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Http3Config: TooManyMethods \u2014 37 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/nested/Http3Config.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6505186d1f0b2899a139d1fcfab1764e08a9c944d02f9e2a6e2c9cab548198"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: rpc/RpcInvocation.java: FileTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), about 95% of them inside a single declaration: RpcInvocation (58-898). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcInvocation.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d0b63565d5dc7cb20fb57f7720c77fdc08688ec9892c4f45c5dc7d877e713d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URLParam: TooManyMethods \u2014 36 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0215ff051debbedf5ac96667f690a4217f08cea57d5ec9a433ae417c6805db6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RegistryBuilder: TooManyMethods \u2014 36 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/bootstrap/builders/RegistryBuilder.java"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd3ab27e2c20a2da7962d2259e2f0077a3a237dd40bcc860fb89b1a24a33aeb1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/PojoUtils.java: FileTooLong \u2014 599 significant lines (blank, comment-only and punctuation-only lines excluded), about 92% of them inside a single declaration: PojoUtils (80-908). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2fe7745f4f3cebf1b10a0040d8cf28c287b4db28b2bdfbf0c77febf5f9cb449"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/ServiceDiscoveryRegistryDirectory.java: FileTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: ServiceDiscoveryRegistryDirectory (91-859). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a879198dd21484327db63baec7166f8cfa0ae9852a17897ec73a46fa765ed09a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ModuleConfig: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ModuleConfig.java"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbe92a2ac7ccb293f4832e8ed9681852e6efa1a5cd53840625cc7c2e12f91cd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Parameter: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/model/Parameter.java"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dadba604148d82ee6a3ff41bd6fd17dc64d276b4e08c4bb8217adfed5549ca4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AsyncRpcResult: TooManyMethods \u2014 35 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/AsyncRpcResult.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"4869020af0fd4f91d864dfb4ac26d2dde44a3482deebcc60145991aa18963633"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: component/URLParam.java: FileTooLong \u2014 579 significant lines (blank, comment-only and punctuation-only lines excluded). To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b76b229109f2cea721bf088a1514bce1c4693fd80eda3dd9a3a55d69b22073"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConfigurationUtils: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/config/ConfigurationUtils.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"61db7da1818c0ebd3a39c5f6c7409602a0483f17233549428f4148fb700093a7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClassUtils: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ClassUtils.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcccf2f173181e6a48283c2e57d140adffad13b4c6b1c697a1962be8e395a1a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractMetadataReport: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f244ef61820e69668bc40dd50bafdb820ac552acaed69f18e334a28fa52ac5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NacosMetadataReport: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c25a5b8eb439db9684bb60178fb27b93ac9ee98dcc6804f8cbfa7e75feac4a2c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractServerHttpChannelObserver: TooManyMethods \u2014 34 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/AbstractServerHttpChannelObserver.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"433741d3bec04af286f16a6088e0d371c6c31938f4c1031980a9da84ef849854"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitList: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/state/BitList.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"792264b1487a396ee37e7fd36600843114a3ff25b3f0b1ba5c57e144ccdab032"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClassGenerator: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6391dc39f41da2bcc0a4b88f5bf228e637ae8d59218ef1660b2f7007696caa30"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CollectionUtils: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/CollectionUtils.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5dd27f21fca891e2c9c4c23541af2d8a58c78fe1169394d1d63e0a283c5c35b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReferenceConfigBase: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ReferenceConfigBase.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2facbb2e69a0d2219d5ed2584acf774a2b7fdb47cb302547c62672b70a6290a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FailbackRegistry: TooManyMethods \u2014 33 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b10cd09164dcfb278c8a333b654fdb12299bab779f915df4effb939192ed9db"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: metadata/MetadataInfo.java: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: MetadataInfo (58-896). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da8456b4f39e7fbc9316f1e2775428234e085baab5a3267b3da2eea551bb7717"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: config/ReferenceConfig.java: FileTooLong \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), about 84% of them inside a single declaration: ReferenceConfig (111-910). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"530df09ea1f6ca3ab3af65d152afcb9a8d9c71466294258bca4a3619d53416b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: integration/RegistryDirectory.java: FileTooLong \u2014 539 significant lines (blank, comment-only and punctuation-only lines excluded), about 85% of them inside a single declaration: RegistryDirectory (104-855). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9072d7788bf66197a021bb607c8a044d268126b318dacea8bb95609cc76d4b23"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/ConfigValidationUtils.java: FileTooLong \u2014 538 significant lines (blank, comment-only and punctuation-only lines excluded), about 75% of them inside a single declaration: ConfigValidationUtils (153-787). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/ConfigValidationUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"93f75dfb3e670003610a03aef03f7078e74bf7eb40ebb8c734cece7893434b46"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ServletHttpResponseAdapter: TooManyMethods \u2014 32 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-triple-servlet/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/servlet/ServletHttpResponseAdapter.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1198adc2e50931c8bad0a0abe7187558fa829b99908d4ee381e22a063084ddb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: utils/NetUtils.java: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), about 93% of them inside a single declaration: NetUtils (58-931). Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2efedde14e088ba300ccec7c38a695f99b38c66aaf508db6a3a3e17165190649"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Environment: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/config/Environment.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"086581acb7cf0bbe057ab58f8d7b7c33735b053aea7bead43e059a7c54ee59d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FailsafeLogger: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/support/FailsafeLogger.java"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"18771f3bd5cfa79a3b697240ae6723f31c163172f4d1a9f0414214793a16807d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AbstractMethodConfig: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractMethodConfig.java"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"711222b485f7c8cf80c572659ff2f571069ed90661560015141a3117006f484f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReferenceConfig: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"23396b885f2b158a599c1d1a871f710166f5951cf0369259f84456d2e532f847"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ContainerResponseContextImpl: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/filter/ContainerResponseContextImpl.java"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7bf0fb094e3d29f51935ee0a1045ed323fc2b227cd9dfc6b413ebb03e60658b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MigrationRule: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/model/MigrationRule.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd420a605a40f814d7ddde114d6493145136750585ab3b0f79dcfc95b4d0c85e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HeaderExchangeClient: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/support/header/HeaderExchangeClient.java"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"c15d53e96de8814c8a3ef2de64b3ebb5cb698b0d1b4cbcbe72ead86bfca6c68f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AppResponse: TooManyMethods \u2014 31 methods. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/AppResponse.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac135bdec1365c5247307633d8b5f02ef6a498fab290bc116047f5501957f60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:474-492 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:496-514 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:474\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"891269a84d6448ca87f3ca87aa74f90c70493c92d2aa0f986bac2040b0f16814"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosNamingServiceWrapper.java:466-483 | dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosNamingServiceWrapper.java:512-529 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosNamingServiceWrapper.java:466\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosNamingServiceWrapper.java"},"region":{"startLine":466}}}],"partialFingerprints":{"codehealthFindingId/v1":"181b7a8b514de89d54b367a86c5dffd1007f637453ef0ec0d9425dee8cc7b118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/config/AffinityProviderAppStateRouter.java:51-67 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ProviderAppStateRouter.java:50-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/config/AffinityProviderAppStateRouter.java:51\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/config/AffinityProviderAppStateRouter.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"05bfa837e4c75f45420bfdb21eb68c2230048b8050f2c7c44777c73db78d02fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:1203-1219 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java:1431-1447 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:1203\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"869bfa0c0351d190f2096ab65b10630b42008c2f5e2bb24511e5252d6db21368"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/AffinityStateRouter.java:156-171 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java:264-279 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/AffinityStateRouter.java:156\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/AffinityStateRouter.java"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff74b30b1041afa1aace417ffa59063eae3a0474a5fb694046483675fd69fbb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:520-535 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:542-557 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:520\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f8bea8688158c93237eae609138de03af17cc30ace4e74f80520072b04c249"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:587-602 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:609-624 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java:587\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/FluentLoggerImpl.java"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"754e516e0d4f0ecc6936fd6205a7cfbbfe03ceed27af224026f8deaf12e9c0b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:134-149 | dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java:137-152 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:134\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e4a959f4c69cdc1b1f30bd57564dff92cd14156b79f220c67d0c21ce071d25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:243-258 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyServer.java:291-306 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:243\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"39e8b98686ce7350ba578db587c29905b27f4dd2924529b53e7a0e54beb220ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:631-645 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:654-668 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:631\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc67cf44649d0cc070e5c67b344f3751c8e7e9f41df5dcebd4cc313b93a51e3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java:47-61 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java:111-125 \u2014 before extracting anything, compare \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java\u0060 and \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d872ee363e9893d06644123459c256d7066bf15213bd0eae57e9d3d39e0c45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java:213-227 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/MultiDestConditionRouter.java:193-208 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java:213\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"623effe42f4e881f872c57ceccd7408d36c67de6a8071185907fb7fa3761480f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:219-233 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:418-432 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:219\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc0174f715ba9002d7f2d166c40ccbc39c11664926a111af77dc90ebe214f217"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2ObjectInput.java:122-136 | dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2ObjectInput.java:161-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2ObjectInput.java:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2ObjectInput.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76e6b9beebeb0d21f27e177c71668a517faf6236d41414d6930104cef9820e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java:302-316 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/AnnotatedBeanDefinitionRegistryUtils.java:196-210 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java:302\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ServiceAnnotationPostProcessor.java"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5d571e517e8b8defa854e40593ba86e296984d4ecc105db7738b37479cd933e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClientHandler.java:125-139 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyServerHandler.java:155-169 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClientHandler.java:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClientHandler.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7491cb5949d32f25cee6152fd8fdbc46fec4d6c30ca0850b5b34c34a1eb90dbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/script/config/AppScriptStateRouter.java:129-142 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/tag/TagStateRouter.java:306-319 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/script/config/AppScriptStateRouter.java:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/script/config/AppScriptStateRouter.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e494faadbadd88bc827832b361d3b831efc55de8d71214f5959f66a936ba9d14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/ClusterUtils.java:40-53 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/ClusterUtils.java:57-70 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/support/ClusterUtils.java"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffaa25c3b39c785bf5174f8514508e1b31392706f1061c0d3ddad88ea58b7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/http1/Http1SseServerChannelObserver.java:64-77 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/http2/Http2SseServerChannelObserver.java:55-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/http1/Http1SseServerChannelObserver.java:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/http1/Http1SseServerChannelObserver.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1bc05f24fa79da86acd8eee8f7685ca4ad82b2205a7227ee323c9bd9080946"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:651-664 | dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:742-755 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:651\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"234e3dc340e27ee2b4d0a2a552ae4d962c87c617343bc772651057973799c1fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java:148-161 | dubbo-config/dubbo-config-spring6/src/main/java/org/apache/dubbo/config/spring6/beans/factory/annotation/ReferenceAnnotationWithAotBeanPostProcessor.java:105-118 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java:148\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/beans/factory/annotation/ReferenceAnnotationBeanPostProcessor.java"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a396bd33223534d1ffacdc78b597fe89e395da7a4ff7ff52577e6890fbf568"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java:64-77 | dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java:102-115 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"82fadff400ae3b1a4ad061dc1613ac349d6c1730b1366baa471930b5598dad46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClient.java:197-210 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyClient.java:106-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClient.java:197\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClient.java"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2aebe847f1be597e45cf4dd8e0d657f29ba80a4c056f09e817e55eb46ea33a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:256-268 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:688-700 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:256\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9816cd79b6c643c8adaa773f64a22315bea103e76448a8d8b67cc6a1d7fffd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:433-446 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:582-594 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:433\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eeb5d754e357e5604e64590c4798f9aff092e967338dcafc251e4b892387051"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:232-244 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:306-318 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a40c48958a10d76d23f71e043681409e4778115fc76ac9b8485051357c4ea80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:1119-1131 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java:215-227 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:1119\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcbe846aca6580d3e1d0194c8a9615eeb2ce6c6f13e26fe12e05c607cfc52518"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/ConsumesCondition.java:46-58 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/ProducesCondition.java:48-60 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/ConsumesCondition.java:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/condition/ConsumesCondition.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"aba3ab27e1a73581c353c40d8b8548d0d1618ae87e69fd473b93b06136bc5539"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dubbo-metrics/dubbo-tracing/src/main/java/org/apache/dubbo/tracing/tracer/otel/OpenTelemetryProvider.java:91-103 | dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/otel/OpenTelemetryAutoConfiguration.java:100-112 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-tracing/src/main/java/org/apache/dubbo/tracing/tracer/otel/OpenTelemetryProvider.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c858e484ed76372b749e2285afda70c5aeaf26ba231755d4507521457056860a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetConfig.java:174-186 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetConfig.java:195-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetConfig.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"e27dcfbd1c85647f84ee492ca6fd94effca98888deae1517569e58f14612fda2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:349-360 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:316-327 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"6029525b25ee91b81edfd2606ef8e9cc4ed882b11d4adb8a4a3d9e7407c5fe3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:273-284 | dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java:208-219 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:273\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46bbe1499d1b3f734d94a007756f363c6547b692421642ffbb6340b483e3e95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistry.java:187-205 | dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistry.java:226-237 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistry.java:187\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosRegistry.java"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"41798ee2171831d67876b4f9e037e9e0f797397bb6736c1726b7d584ddacd210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/util/CuratorFrameworkUtils.java:98-109 | dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/Curator5ZookeeperClient.java:84-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/util/CuratorFrameworkUtils.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/util/CuratorFrameworkUtils.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16512a2b0c527f583fe143fc9b768f2b8e22a1331febdc774977ab2260a7205"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/FilterChainBuilder.java:107-118 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/FilterChainBuilder.java:367-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/FilterChainBuilder.java:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/FilterChainBuilder.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"635b8ba37a98176fe9d64f175214522912c3f36afd8a9bd80a2c73dbaf7ef23a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java:130-141 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/MultiDestConditionRouter.java:104-115 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java:130\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"30271e0b39dfdc1b2ef4934b7a240783812ccb91df7432779b6374e546ce6cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:1106-1117 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java:206-217 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:1106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":1106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fdc7c794419ef11e5297843055f77b09fc56334783d57ae0cb7549c57a095c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/ExceptionUtils.java:107-118 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/ExceptionUtils.java:131-142 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/ExceptionUtils.java:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/ExceptionUtils.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"34c0981a23fa0e42aee310d0e6c26a14473cf5eef5006a3da5f161ef1a0698c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcInvocation.java:723-734 | dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcInvocation.java:738-749 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/RpcInvocation.java"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee1c3a70fa01d2efa7a801a9ce3002d69bb1622b7f99581a786548b7389a7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:184-195 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:197-208 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:184\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ec905e5e655d9a8384765d5b150fe6d3070feb9953010f4a26c4ce9e660cad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j/Log4jLoggerAdapter.java:42-53 | dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/pages/LogPageHandler.java:53-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j/Log4jLoggerAdapter.java:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/log4j/Log4jLoggerAdapter.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ed7ef78bc8e9f7e6e1573d55e8607ef0ebea3f70b31ed42f472aa2dbf16b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/cached/CachedThreadPool.java:59-70 | dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/limited/LimitedThreadPool.java:55-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/cached/CachedThreadPool.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/cached/CachedThreadPool.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"743ad15594202e976a1a284b5db4c4fa8a35d5ded363761c70186d5b335e15ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultParameterNameReader.java:41-52 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultParameterNameReader.java:58-69 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultParameterNameReader.java:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultParameterNameReader.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d48be3e90db09e25eafaebf788fee44c707dee307dd45f5d3321f280f32853c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/CompositeReferenceCache.java:54-65 | dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/SimpleReferenceCache.java:120-133 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/CompositeReferenceCache.java:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/utils/CompositeReferenceCache.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed29582ac9e530f4860f355fbc3abeb6ba1b5bb8a9b28b7721388b5774cc7700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java:441-452 | dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java:719-730 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java:441\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50a1086d3914f4580fd198ea51db5c573dc1d05bad442c4ed0b911485b61eaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:178-189 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:171-182 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaea6b4ed7fcf806b6d42187fbdf7ae33b40803aca6e58a79bdb452ea2ec0f71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/buffer/ChannelBuffers.java:100-111 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/buffer/ChannelBuffers.java:122-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/buffer/ChannelBuffers.java:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/buffer/ChannelBuffers.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"035f7d370ee59dd2f9a1e2c32d14f92e092abd49e5bf2ca4decaeaa3609b7356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): dubbo-remoting/dubbo-remoting-http3/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyHttp3Server.java:107-117 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyServer.java:194-204 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java:134-144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-http3/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyHttp3Server.java:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http3/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyHttp3Server.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4606813331639d49e8e279c0be762032a96de92f567b30b84c4b1b82b208700"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/DynamicDirectory.java:215-227 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/directory/StaticDirectory.java:129-139 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/DynamicDirectory.java:215\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/DynamicDirectory.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce78d8c9e6118be7aba5cab441eee9a3b2efac43d6671b5bf33524b7f5c35436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java:96-106 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java:156-166 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java:96\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b772492d9933e39f71b0384ddabc01db3b581dfe41c83b5767b025e8da0c59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java:150-160 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/exchange/codec/ExchangeCodec.java:192-202 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"88474ff85d167042dee1efbd3c94799606c3fab98b22d37128104034f6bbd5fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/extension/support/ActivateComparator.java:73-83 | dubbo-common/src/main/java/org/apache/dubbo/common/extension/support/ActivateComparator.java:92-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/extension/support/ActivateComparator.java:73\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/support/ActivateComparator.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42eaab462106b76187bccc81a8cdfe28e3f7cb7f9991f8bfd1edb9dac46fce4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java:650-660 | dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java:689-699 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java:650\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d81f7eec78d83e1a66d182c43deaa82c91d9259375eef3d2971029c86f1bb0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:620-630 | dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:711-721 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:620\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f482012736ec0da4fc831ae5db1c695183f11797f61aa523093cd7c1d881c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/io/StreamUtils.java:58-71 | dubbo-common/src/main/java/org/apache/dubbo/common/io/UnsafeByteArrayInputStream.java:55-65 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/io/StreamUtils.java:58\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/StreamUtils.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d40608fcce232c357c11c3ae3aa35f4350eb872f606d8a64dbbcf541e43299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:171-181 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:184-194 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"39d44ff6d9fb6227d764bd2dfc4c439396364432d3a7aa94f6ae897add483321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:235-245 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:243-253 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:235\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9a94b6e1233f400096a5b7b1c7cdff33369438be217d27ed9a7f31c49f30d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/manager/DefaultExecutorRepository.java:220-230 | dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/manager/DefaultExecutorRepository.java:255-265 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/manager/DefaultExecutorRepository.java:220\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/manager/DefaultExecutorRepository.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5242564e615f097889d755be39742670bcf037ee1bbe256bd26db42878aefc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java:241-251 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:674-684 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java:241\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e73041dfb18229b10d62decaf772b03e2f9c62eaa4724e853126949597398c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java:159-169 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java:180-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java:159\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dd0c1483628d043d9d3141f9194aafdc9b851ff3b2cd6faf6491586c99e966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:207-217 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:329-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b69573393af1879c85ae7300e6758f3687e841b5fa6d2366f8ad2b1fa7695d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java:316-326 | dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java:358-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java:316\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"6309ab9ad25ea6a1f3dc6fcfc65431790176c7130c5935b54d400a51b406adcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:207-217 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:200-210 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"85089cf529b2b5df44ce7725efc13b45c487bb7dea7131ec937c7fd0a1ca46ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Ls.java:61-71 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Ls.java:94-105 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Ls.java:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Ls.java"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c6da22c88f1cc3708b03c24815e5c9a8ca513dedc7093f810060a5ba5c81ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/AbstractNettyConnectionClient.java:161-171 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyConnectionClient.java:213-229 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/AbstractNettyConnectionClient.java:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/AbstractNettyConnectionClient.java"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c2f9ed12f6e26a3d58fc641eac9bb3a3c37c8606ff2b5e0cc358c13f2d81150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java:239-249 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyChannel.java:115-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java:239\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd6027f9aba60aee16dcd9d1139f827639aa7681c1b47b306bcdf049cb426b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java:189-198 | dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java:245-254 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:678-687 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java:189\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec68feb7887d49e5316d6f9c86946804c4a47c8f9cb3814aba3ba5a90fed6cbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:188-197 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:229-238 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:188\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7057aad84caafa2cee7fe035bd7fc5d4ef8dcd4e1366f1d99a200b6788e2d2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:175-184 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:189-198 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:175\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c222c895266f8993c8ee16711b8f8989796325bf138edd312be6e3d1b2dbadd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java:73-91 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java:137-146 \u2014 before extracting anything, compare \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java\u0060 and \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0380724b0df7530edb445b8b2c0cf4ad1cf4095666044dcd1c8d663e706a24b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/PathParamArgumentResolver.java:57-66 | dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/PathVariableArgumentResolver.java:57-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/PathParamArgumentResolver.java"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e26779c7208611c2a3ed2eac79dde98e3ef880f4b3574776093f87d975772d7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/RedocRequestHandler.java:86-95 | dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/SwaggerUIRequestHandler.java:98-107 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/RedocRequestHandler.java"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0becad3c829def6c1910dc9cebc450c252a5e77386be4d9156c70c7900129f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/SpringRestToolKit.java:141-150 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/AbstractRestToolKit.java:65-74 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/SpringRestToolKit.java:141\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/SpringRestToolKit.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"37fca418276b572c721e114aaf4cb24fa6d73490d15b2917a327d42d3575e4f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java:262-271 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:904-913 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java:262\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/GenericFilter.java"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c4f7dfa6e7ea30ebd6d82f37c3e82e5b5fd5126baf561418929da176ba074e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java:173-182 | dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java:190-199 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java:173\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f8e4879d3d7dbe3651255106135cf13f317210949b95cd01be93e7927e5f6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java:1210-1219 | dubbo-plugin/dubbo-native/src/main/java/org/apache/dubbo/aot/generate/ClassSourceScanner.java:172-181 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java:1210\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/extension/ExtensionLoader.java"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf39fba0a0dc66a685760bb5a3aace5da82fb664ccef9264ea56e86f58454609"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/resource/GlobalResourcesRepository.java:110-119 | dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/AbstractCacheManager.java:135-144 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/resource/GlobalResourcesRepository.java:110\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/resource/GlobalResourcesRepository.java"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"08d44098bb268c88da612c40793794425a5313ba4f73f6fc24cfbb048980be2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java:801-810 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java:822-831 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java:801\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ca3a5ea78d53196c72ae2efb08556885f1069f1ec760d72620af158d4ee5e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2Serialization.java:70-79 | dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2Serialization.java:86-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2Serialization.java:70\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-serialization/dubbo-serialization-fastjson2/src/main/java/org/apache/dubbo/common/serialize/fastjson2/FastJson2Serialization.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7111bb6ac1ec5abaec134ce248caecd07c290d1c5b6e7a175496dd1374cf96b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/URLStrParser.java:64-73 | dubbo-common/src/main/java/org/apache/dubbo/common/URLStrParser.java:226-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/URLStrParser.java:64\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URLStrParser.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd2c9bc30af198ed793b988db746e64d270a7a07bacc659215989ba6f2f46ef1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/DubboAnnotationUtils.java:54-63 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/DubboAnnotationUtils.java:124-133 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/DubboAnnotationUtils.java:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/util/DubboAnnotationUtils.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04a2e30de208bb2541c19fdfe0b52be68058a27c0da50106612fa244bced97c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-demo/dubbo-demo-api/dubbo-demo-api-consumer/src/main/java/org/apache/dubbo/demo/consumer/Application.java:47-56 | dubbo-demo/dubbo-demo-api/dubbo-demo-api-provider/src/main/java/org/apache/dubbo/demo/provider/Application.java:42-51 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-demo/dubbo-demo-api/dubbo-demo-api-consumer/src/main/java/org/apache/dubbo/demo/consumer/Application.java"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"263490b613cb29ad5497aea951755ec4127caebc4738076aad4d864ec8b0f067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java:220-229 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java:275-284 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c17ea43718807d85aa3959c37b35ff3fd872b088255391b3dc4533efc7e1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpSseTransportProvider.java:100-109 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:102-111 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpSseTransportProvider.java:100\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpSseTransportProvider.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6de1fe922393bc0813edaf90c850777f9ec2c444d3e37d1b818e4832d40ff65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:113-122 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:106-115 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"f256413dcec7fcfd04afbe5489812142d124b85e2855fddf628f3c342cd37904"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:290-299 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:283-292 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:290\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b6a3f5d0973a19ce8f7925935c42ee87a82b781b8ce177a31f9b2a1693e219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-plugin/dubbo-mutiny/src/main/java/org/apache/dubbo/mutiny/ServerTripleMutinySubscriber.java:54-63 | dubbo-plugin/dubbo-reactive/src/main/java/org/apache/dubbo/reactive/ServerTripleReactorSubscriber.java:53-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-mutiny/src/main/java/org/apache/dubbo/mutiny/ServerTripleMutinySubscriber.java:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mutiny/src/main/java/org/apache/dubbo/mutiny/ServerTripleMutinySubscriber.java"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"56cd42ff1936e56c92b6d2ff876a7f6ce24b73613a02e7c64f814ecafae544fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/ssl/SslClientTlsHandler.java:63-72 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/ssl/SslServerTlsHandler.java:79-89 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/ssl/SslClientTlsHandler.java:63\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/ssl/SslClientTlsHandler.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc1652c20e0a152309c9aba1f939d1ac1c5f923ce3cae04d163cb78186721d1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java:265-274 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyChannel.java:142-151 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java:265\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5004590ea464138661ef7b08b9e1593641c552939a21659a15773da9d9fecb71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/codec/HtmlCodec.java:48-57 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/codec/PlainTextCodec.java:48-57 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/codec/HtmlCodec.java:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/codec/HtmlCodec.java"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd72d6b250137ba1dfade7349413f9bfd1a1139ce951b3923f4615d5744c832"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleInvoker.java:312-320 | dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboInvoker.java:108-117 | dubbo-rpc/dubbo-rpc-injvm/src/main/java/org/apache/dubbo/rpc/protocol/injvm/InjvmInvoker.java:124-132 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleInvoker.java"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"8354eb713f9ff0c7b55c0cff2e673ef546f56f171467a668b3798044d160f426"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): dubbo-common/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java:225-233 | dubbo-common/src/main/java/org/apache/dubbo/config/MetadataReportConfig.java:208-216 | dubbo-common/src/main/java/org/apache/dubbo/config/RegistryConfig.java:272-280 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java:225\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/ConfigCenterConfig.java"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"11563123a4f70e0cfa5c163597d79d95b878c099c9a57f3da1ae2806c928d1da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:174-182 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:309-317 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:372-380 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f98eae9baea6fd47f5d3260391c549241d7fe8cd55d64ee59e1f5e3b264d2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:381-389 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:449-457 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:580-589 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:381\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"858caf5ed10af2162298c8d5f727dcdb564470e96b9f8efa433519e79c57f856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataUtils.java:182-190 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataUtils.java:194-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/metadata/MetadataUtils.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"44926db0bd837784b0255ba707acc4357d0c071e646b62343ce2218ac4c6ee03"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/model/MigrationRule.java:105-113 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/model/SubMigrationRule.java:41-49 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/model/MigrationRule.java:105\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/model/MigrationRule.java"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3193d72f6b025add078b96e799cf911ba1249bdcc3c0dbd54b77be2def04818c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:462-470 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:486-497 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:462\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abeb894dc35ffe6be30d27a839a95adb9302af0409ab6869864a463cf8ade98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:596-604 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:402-410 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:596\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b7ec0f9ee25440a167ce53bcbf1aee2281fcf05a09bf9eab233717559bdd35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java:106-115 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java:167-175 \u2014 before extracting anything, compare \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java\u0060 and \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/ShortestResponseLoadBalance.java\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/loadbalance/LeastActiveLoadBalance.java"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c884daa9d0826db56eac1fb17c4acb068a484f4497ee640d4dd87f65df2473"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java:130-138 | dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/RequestBodyArgumentResolver.java:64-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java:130\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5ce1d34f10948e7bc690bbe3743207d0b5795bfabd70724f4ae5cf4dd80708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/SwaggerOpenAPIDefinitionResolver.java:178-186 | dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/SwaggerOpenAPIDefinitionResolver.java:216-224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/SwaggerOpenAPIDefinitionResolver.java"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc4b89725ccc3f460a74a107979841139ef88946b8531b3a952c514dcab545c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/CompositeArgumentConverter.java:60-68 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/CompositeArgumentConverter.java:82-90 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/CompositeArgumentConverter.java"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0ffb4d319bb6fdaeb7b038e26236b0aee5256a1b2fd5c0f00506fb25386f272"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/KeyString.java:153-161 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/KeyString.java:192-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/KeyString.java:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/KeyString.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc80f0b39652644c25c85a58dcabe6085fd84e72bc790892d5e8483cf7e0f7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/compressor/Bzip2.java:95-103 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/compressor/Gzip.java:89-97 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/compressor/Bzip2.java:95\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/compressor/Bzip2.java"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fffaf856e9c4f6b9b0096eea9dcfc6f18ac3e32c221162b9a055d81d2aea98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:138-146 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:318-326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe6ce06688fde4de3435754f018a007c4b8ea08ef804eee123457b318216a7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java:82-90 | dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java:115-123 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java:82\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1eaefca0b677a1a2856713fa6b6697021c478bc35dadf6f6d5d9dae7d4ca512"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java:129-137 | dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java:178-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java:129\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/filter/FutureFilter.java"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2301902e8725b0a866a2189751a6914341ba71f35ac405c8488ccd6632e7da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/ProtocolSecurityWrapper.java:72-80 | dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/ProtocolSecurityWrapper.java:98-106 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/protocol/ProtocolSecurityWrapper.java"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a238daba4cbf184ef31885dd1af9d3ee05d99bc4f6acf115cdd4ce499c450cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ExceptionFilter.java:83-91 | dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ExceptionFilter.java:131-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ExceptionFilter.java:83\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/ExceptionFilter.java"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7fed5f5b32b558f1e665ae5321c2b4f9e0a186b54fd8c9f7bb9a31ac49c23f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java:211-219 | dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java:263-271 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fc7d1fce89fe43a73184791b54258c85e5229d71b7e77ba48ed22f30dbb20f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/fixed/FixedThreadPool.java:55-63 | dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/limited/LimitedThreadPool.java:52-60 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/fixed/FixedThreadPool.java:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/fixed/FixedThreadPool.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b5c7c78f4adb363a39c018ec3fd41fc818a5d89a3fcb958df302071d2140cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/ClassUtils.java:593-601 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ClassUtils.java:657-665 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/ClassUtils.java:593\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ClassUtils.java"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4494f0a1b1b23a510c9711579ed80a13e45b587456f059f30bdf1b5e7514768"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java:132-140 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java:157-165 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java:132\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/DefaultSerializeClassChecker.java"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ed3ae0a80ab10f78e2df1a5ef15d6c53ebb4d6701b538e6e41a5dc758169630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:390-398 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:516-524 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:390\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e79f41b2db843fc3bf8ff36c1288d27b60dfde11e4ab016f58b736c836894f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/URL.java:1064-1072 | dubbo-common/src/main/java/org/apache/dubbo/common/URLBuilder.java:380-388 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/URL.java:1064\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URL.java"},"region":{"startLine":1064}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f4af2701a3597b5eec7bd317c0bc6821517d5f700d5b894f9fdbe450a092f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java:1111-1119 | dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java:275-283 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java:1111\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultApplicationDeployer.java"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e5508319663a9c32aee0dd3c864be5f71b7de8176a38a8f7f91c4a23cd81c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java:192-200 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java:201-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java:192\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceCreator.java"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"c259dc58936bc239fd5f88523863a89cb4c9f1be356558dea664294a756fa09f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:551-559 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:602-610 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:551\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"09536c2f691e752b4428dd06c3deef48e3f683a2e15d104a3c8b36be04bacb7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:168-176 | dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java:171-180 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b79dbf63d9be2df2af85d2ec96d169451e4f35fca13be96bd695e8efed5635"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:470-478 | dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java:355-363 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ef306d7539e6814fa148c427c574db02aa62361549f60b7bb4ad600afa8b143"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java:252-260 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java:307-315 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java:252\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/core/McpServiceFilter.java"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9e35a45d3ea38f7cc0c605aa2a62c76127ee5d1eb28df88a59a58bbf48b2c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:267-275 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:462-470 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:267\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3c98fcaa33d983ce564e0cab2405c4c2d8c84ec8b9a19f11c33cd9439f45ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java:80-88 | dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java:99-107 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-demo/dubbo-demo-spring-boot/dubbo-demo-spring-boot-servlet/src/main/java/org/apache/dubbo/springboot/demo/servlet/ApiConsumer.java"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5e8725d54f0ff4adb99f3f723311dd10465ff5d89802f0822e4a49d4d60509f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/ServiceStatComposite.java:68-76 | dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/ServiceStatComposite.java:90-98 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/ServiceStatComposite.java"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"362a65b8510106f50273b875937069c08e147c6bc21abbaf86ac5350ac19f16c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:333-341 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:326-334 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:333\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84e0e0204bca2245e22b42bbeb002689bfc7f07cf00718fe1d4abc9989756a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/DisableRouterSnapshot.java:42-50 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/EnableRouterSnapshot.java:42-50 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/DisableRouterSnapshot.java:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/DisableRouterSnapshot.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffe2549ff6fb4cd844c2569541caf461b59db054f7da680ffcfa55e2349aa7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/LogTelnetHandler.java:62-70 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/command/LogTelnetHandler.java:63-71 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/LogTelnetHandler.java:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/LogTelnetHandler.java"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687d1c578a267cd4bf46f46e9e35b6e8fb475cbd4a423fa7739d10e518630d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-spring-boot-project/dubbo-spring-boot-3-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/DubboTriple3AutoConfiguration.java:73-81 | dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/DubboTripleAutoConfiguration.java:74-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-spring-boot-project/dubbo-spring-boot-3-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/DubboTriple3AutoConfiguration.java:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-spring-boot-project/dubbo-spring-boot-3-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/DubboTriple3AutoConfiguration.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ac459630ea4a8a4f1ac7282f9eb63555507ab79670858323ae62c9f08f653d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:193-202 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java:148-156 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"388d063776fae97cfab8416634ca45e3599fa6932512b1c4357bee6be2afe66d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:416-424 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:478-486 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:416\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"749b2f1076baa3c46d23c6dfbf26846a03fd15b0a9c59f7efa03ebaa15f2ab73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/PageServlet.java:133-141 | dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/PageServlet.java:174-182 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/PageServlet.java:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/container/page/PageServlet.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8f0992fa89110d92ca45c267b44ae22bd9ccd948b1aaa62f212265ea38eb79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:303-310 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:314-321 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:325-332 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:336-343 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:347-354 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:358-365 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:369-376 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:380-387 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfa7b92923740e80ff6f99a5d257d4eae7531594a04071c8a515078816f51dff"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:306-313 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:318-325 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:330-337 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:342-349 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:354-361 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:366-373 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:378-385 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:390-397 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fc448b11a1f1e295986231e76319cea3fa2ec9e6160c3d6f793c7bdbde7ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/CookieParamArgumentResolver.java:58-65 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java:117-124 | dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/CookieValueArgumentResolver.java:58-65 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/CookieParamArgumentResolver.java"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bbd20d1d2f7909f63a1afd07c7efa1b117f09a7fbcb788d76c075538c3e3703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/all/AllChannelHandler.java:63-70 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/connection/ConnectionOrderedChannelHandler.java:88-95 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/message/MessageOnlyChannelHandler.java:41-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/all/AllChannelHandler.java:63\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/dispatcher/all/AllChannelHandler.java"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f63e5d64afe2e49df5a70c7e0a2959274e9e85ae8c7878eee4002805e25721"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java:190-197 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java:211-218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java:190\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c201936ecc16bbc6b36539a2cafb2637b1a55c4c37b6a077c930f908fc11551"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ReflectionBasedServiceDiscovery.java:117-124 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ReflectionBasedServiceDiscovery.java:165-172 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ReflectionBasedServiceDiscovery.java:117\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ReflectionBasedServiceDiscovery.java"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"b34d1c21ac688a74f771566ee1772bbf6a806c8f73927c5461562f6bcf27cf8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:666-673 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:741-748 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:666\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc082f5d399b6fd6ddb84f80f7e98a64ff573e1b5e5b78449cac7693c4f25e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:367-374 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:401-408 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:367\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"430d3721897f21fcf3aee422bb37090824aad913c042880c0e57bdb201901f1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:472-480 | dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/ZookeeperRegistry.java:385-392 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:472\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2d646513f5f28749fad31de583b18bc2d1cf0f6c3b4bceb4c51094d4d27bc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java:323-330 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/MultiDestConditionRouter.java:292-300 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java:323\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/ConditionStateRouter.java"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"cee52b1012852e4ece4eeec91c82a830c841da96410ca0bccf34d1bb9bc1856e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/SingleRouterChain.java:283-290 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/SingleRouterChain.java:296-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/SingleRouterChain.java"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcffe96e50ec24d813f6e2ac717cb105dc934d29e1f53d52f8e533cc3eec1d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/BeanArgumentBinder.java:79-86 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java:62-69 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/BeanArgumentBinder.java:79\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/BeanArgumentBinder.java"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"99973fea94e4bb323228db1bfaade3f1df3a40adf54ff55797556b4bd9059cb2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java:175-182 | dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/RequestPartArgumentResolver.java:65-72 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af88adf26225ea36fd4fff5a3ac013c22430ffbb88d6314b4a010820638f644"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/HandlerInterceptorAdapter.java:100-107 | dubbo-plugin/dubbo-triple-servlet/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/servlet/FilterAdapter.java:100-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/HandlerInterceptorAdapter.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab773fe5ba48cc9e59ff6c1a6ad2295de0d0515a340a0cc066f7f17c0da02a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionFilter.java:356-363 | dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionFilter.java:364-371 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/DefinitionFilter.java"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"165f52e64406222cc6a8274e5754dafe72f7a75b88f1dc9a87e5d1140c15a5bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/Helper.java:307-314 | dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/Helper.java:319-326 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/Helper.java:307\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/Helper.java"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6b3fa4a7f56c83a9c909344d3efe734031a69b45284c5b88044cc14622517b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java:133-140 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java:171-178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java:133\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/RestUtils.java"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07a972c58235c05af379fd46a5737b08db591871ba6432c07b1396e36b2f98b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h3/Http3ClientFrameCodec.java:107-114 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h3/Http3ClientFrameCodec.java:124-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h3/Http3ClientFrameCodec.java:107\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h3/Http3ClientFrameCodec.java"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"e570fb14cc04814a781ed3cee5a42b850eafee297bf13038dacec3201c60bb21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:171-178 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java:351-358 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleCustomerProtocolWrapper.java"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"452aa605edd71868f44e08b519430819ac3d8fd02e564c3cddb2f8a3da0ee0d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java:73-80 | dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboInvoker.java:119-126 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/ChannelWrappedInvoker.java"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d47ebd34f3af55f0c82d6cdfbf5ebd8fabf2b623c257e1c010c6dd54d5f032"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Wrapper.java:281-288 | dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Wrapper.java:289-296 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Wrapper.java:281\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/Wrapper.java"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e5af9f4cb6ce6929c1c31a118fbddf8004aeabaf504d425c4b81ef6e2c10c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/url/component/ServiceAddressURL.java:98-105 | dubbo-common/src/main/java/org/apache/dubbo/common/url/component/ServiceAddressURL.java:115-122 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/url/component/ServiceAddressURL.java:98\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/ServiceAddressURL.java"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42717f5b8d8be2b384d24af1deccde2c39f6c851e56757ad06d41d1b1beedbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/MethodUtils.java:473-480 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/MethodUtils.java:489-496 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/MethodUtils.java"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"167ab067af358df2045919b6c77c3e5561966341a9c1d961a1ecb5107d6e96e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:310-317 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:348-355 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"caba6940fe645fe3ab650a879150971f42de3d17939f08ba470810a9707c7341"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:596-603 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:728-736 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:596\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":596}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7c9f5ec8ae5ffa523bcd57f35e0f983c73a79737fff54ba0fadaa00fc5ee88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:437-444 | dubbo-config/dubbo-config-spring6/src/main/java/org/apache/dubbo/config/spring6/utils/AotUtils.java:70-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"5829a9b98f7bc79c00ee501de6efb8f1e656cf3aac387317a59a43ee76302a0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-metadata/dubbo-metadata-processor/src/main/java/org/apache/dubbo/metadata/annotation/processing/builder/CollectionTypeDefinitionBuilder.java:55-62 | dubbo-metadata/dubbo-metadata-processor/src/main/java/org/apache/dubbo/metadata/annotation/processing/builder/MapTypeDefinitionBuilder.java:53-60 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metadata/dubbo-metadata-processor/src/main/java/org/apache/dubbo/metadata/annotation/processing/builder/CollectionTypeDefinitionBuilder.java:55\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-processor/src/main/java/org/apache/dubbo/metadata/annotation/processing/builder/CollectionTypeDefinitionBuilder.java"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3f6d76e972bfccd033ef4fab52d180bbde1ce4efefe08e70399dd39d41fd41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:361-368 | dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java:233-240 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:361\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91bf37b4e5be1d21307a6a7b052a47452102a96c06e1d45406542034bdc0c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:405-412 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:415-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:405\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"08aabff32cfc5576d2288c17d13da6f2e6c4f282b4721e2cd67fc75b8e1228b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/util/TypeSchemaUtils.java:109-116 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/util/TypeSchemaUtils.java:125-132 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/util/TypeSchemaUtils.java:109\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/util/TypeSchemaUtils.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"1339c700acc1d74d801820e9a4df476788f674d53c4b6d28e6d6d84a0e716d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:153-160 | dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:198-205 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d2de9e017e23bc04907047c45aa8c52d3166391e908797c2110c1136da0be2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-metrics/dubbo-metrics-default/src/main/java/org/apache/dubbo/metrics/report/AbstractMetricsReporter.java:215-222 | dubbo-metrics/dubbo-metrics-default/src/main/java/org/apache/dubbo/metrics/register/HistogramMetricRegister.java:43-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-default/src/main/java/org/apache/dubbo/metrics/report/AbstractMetricsReporter.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd41174663c5af2ffdc634fd996e75daf047a90aa694dc304fbee9a655887567"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:349-356 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:342-349 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:349\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4bef4b4cee659568d1328ebb2b347af6abf93b3167a4db733a52983100eee23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:145-152 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:159-166 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bacf746560cc82ff86504ed850db9e11c3edf993cb137fccb34fbab5628e46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:193-200 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:207-214 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a14fe3b9c0e578b05995ad682e4f7c0d242c8806329474ae6f274a7c2bf17a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyConnectionClient.java:180-187 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyConnectionClient.java:208-216 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyConnectionClient.java:180\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyConnectionClient.java"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac55fe98f1fedafbe4702706e9f6332ee18987883f5972239326cb64f15b645"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/Curator5ZookeeperClient.java:150-157 | dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/Curator5ZookeeperClient.java:195-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/Curator5ZookeeperClient.java:150\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/Curator5ZookeeperClient.java"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5777e60d24157168c3e973955e1c3629c11aba6934ddb7822f43d0624c8ad869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/CookieParamArgumentResolver.java:70-76 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/ParamArgumentResolver.java:161-167 | dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/CookieValueArgumentResolver.java:70-76 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/CookieParamArgumentResolver.java:70\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-jaxrs/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/jaxrs/CookieParamArgumentResolver.java"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b6029c1e85135482484ad210ee82285d114b6bcb5f7595d3913e66ad5bd5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:109-115 | dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:151-157 | dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:196-202 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd4c1da1c186c8acff33f290dc8cd90e5eb2ac62e7307165ac2a8893540cf32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java:82-88 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java:106-112 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java:147-153 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/TelnetUtils.java"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"b932d15ec7b5d30183e540e69b0be125da4ac018713aa5787f0fd46ca0d20ec7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:208-215 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:230-236 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"637efd15733ae3cd9c6ecf7961263256ed897155f968ec2697d8f1d91351f0ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:240-246 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:668-674 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:240\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2d4032f4103e9431efd557e3d72ce9c2243bb0909f76f5a065b9a3688a5af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:382-388 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:360-367 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:382\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"70652a75b31a4ce5902bbe8472749f1a8189bcd95be2adf7e1defe2a175e475a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java:403-409 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/RegistryDirectory.java:380-386 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/ServiceDiscoveryRegistryDirectory.java"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"0baa05666eeb78792499984dcad17cc50f97b0bae06beadae114fe310383efe5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:232-239 | dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java:180-186 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:232\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d2feaae8cfc04a998aa66b549195a4c41dcbe7443e43ab44ce84ae45fc680e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-registry/dubbo-registry-multiple/src/main/java/org/apache/dubbo/registry/multiple/MultipleRegistry.java:99-105 | dubbo-registry/dubbo-registry-multiple/src/main/java/org/apache/dubbo/registry/multiple/MultipleRegistry.java:118-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-multiple/src/main/java/org/apache/dubbo/registry/multiple/MultipleRegistry.java:99\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-multiple/src/main/java/org/apache/dubbo/registry/multiple/MultipleRegistry.java"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eefbe165d8f11248b576f4566273b9b3413c39dd52ac6620ea7bfb1c485ca7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosConnectionManager.java:211-217 | dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java:186-192 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosConnectionManager.java:211\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/NacosConnectionManager.java"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"793d7ce08007e37e531bee58994a0bd2083c50b622b3586b3af5e387ecf20137"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/config/AffinityListenableStateRouter.java:144-150 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ListenableStateRouter.java:184-190 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/config/AffinityListenableStateRouter.java:144\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/affinity/config/AffinityListenableStateRouter.java"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"779bee59275f40698c424dc91e446ded7143110602a41c1d516fb6aea0620bd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/rpc/model/UnPack.java:31-37 | dubbo-common/src/main/java/org/apache/dubbo/rpc/model/WrapperUnPack.java:41-47 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/rpc/model/UnPack.java"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fb7da2f5eba24c8ff536392b65ee2a91d6ee68fe129fda906afa055a24eafba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/model/Header.java:182-188 | dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/model/Parameter.java:264-270 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/openapi/model/Header.java"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c630543d8da997e7b6dbc1800e6f2c036b7d2223b173bb3a210db441ecb2ddd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:253-259 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/HttpUtils.java:176-182 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:253\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"b46895f13435adca1380a473574d34222954c28b213460b2e9837a323b8fa4d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:957-963 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java:373-379 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:957\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"12dc6917c455d56c1694f74ceec3e65305c085827649210846e36f44900be9b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/AnnotationSupport.java:101-107 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/AnnotationSupport.java:178-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/AnnotationSupport.java:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/meta/AnnotationSupport.java"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aa4d74b7d76212d1c367c8e8b62779f9071f31189b0a72967af785cbe68f3d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java:250-256 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java:413-419 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java:250\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/mapping/DefaultRequestMappingRegistry.java"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0c8395e98cbea2c929ceba1ccd0243b9ce93ffd0f9d05918806223c4418b92a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java:122-128 | dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java:131-137 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-dubbo/src/main/java/org/apache/dubbo/rpc/protocol/dubbo/DubboCodec.java"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fc259b0fc269fb5cd7ff11eb29092e428f05839a08bd23a2f897983f1cb1316"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/config/ConfigurationUtils.java:282-288 | dubbo-common/src/main/java/org/apache/dubbo/common/config/ConfigurationUtils.java:364-370 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/config/ConfigurationUtils.java:282\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/config/ConfigurationUtils.java"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe62e392e425f572ce432f96dc30adab39a0228cde2bacd2b3d69490b3d1ff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:979-985 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:623-629 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:979\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"e99f1f3fde9d886941ad0ff3f8209e34756ea4bc2d40bb044523a0db5a800732"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:611-617 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:744-750 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:611\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a12e104165ef3274e5c8e81116f32cedd39c996fd625cef56501d1e6358b99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/SerializeSecurityConfigurator.java:140-146 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/SerializeSecurityConfigurator.java:164-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/SerializeSecurityConfigurator.java:140\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/SerializeSecurityConfigurator.java"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"c677658277bfbfb2bb00030ed3af6635e6a7624f18834b15063c2ce005d7f6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:123-129 | dubbo-common/src/main/java/org/apache/dubbo/common/URLBuilder.java:120-126 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8b7705410681ecf6f242fdafc1a81cfd7f08f521d3bd0566b00357e04cf44b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:266-272 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java:297-303 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/UrlUtils.java"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"28976f126d70eb97a43324c2cac758dddbc817340f2b3e6d16e31c0f756ef7f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/URL.java:194-200 | dubbo-common/src/main/java/org/apache/dubbo/common/URL.java:212-218 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URL.java"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafb837d62a69391964020c2c67b5f8e1a5af842e1b575bd3a6f68b4a5d1b2dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/Version.java:317-323 | dubbo-common/src/main/java/org/apache/dubbo/common/Version.java:354-360 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/Version.java:317\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/Version.java"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"f873144c95ccc76f9e930fba0a6653116915a53339b0b60015db5e3d89abd83a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java:153-159 | dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java:172-180 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java:153\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/DubboShutdownHook.java"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3abe55d4b12633e6de8f92d8b66c60a002ff99895805492fe428e4973a64a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java:476-482 | dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ServiceConfig.java:761-767 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/ReferenceConfig.java"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e8132d0429e955394bcdff1d48cde0f344aab2d0d8c2473fc0ae7223a7d7d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-maven-plugin/src/main/java/org/apache/dubbo/maven/plugin/protoc/DubboProtocCompilerMojo.java:314-320 | dubbo-maven-plugin/src/main/java/org/apache/dubbo/maven/plugin/protoc/DubboProtocCompilerMojo.java:391-397 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-maven-plugin/src/main/java/org/apache/dubbo/maven/plugin/protoc/DubboProtocCompilerMojo.java:314\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-maven-plugin/src/main/java/org/apache/dubbo/maven/plugin/protoc/DubboProtocCompilerMojo.java"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac77eee34770629e052a9ff037515a3be9a5e4c7fd443b34551ed262465e3fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/model/ThreadPoolMetric.java:89-95 | dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/model/ThreadPoolRejectMetric.java:77-83 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/model/ThreadPoolMetric.java:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/model/ThreadPoolMetric.java"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ab1c4f1d3acfa2b3f42b2783ae834ece436e7a6f471508782beb0f2ae6fae5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-metrics/dubbo-metrics-metadata/src/main/java/org/apache/dubbo/metrics/metadata/event/MetadataSubDispatcher.java:41-47 | dubbo-metrics/dubbo-metrics-registry/src/main/java/org/apache/dubbo/metrics/registry/event/RegistrySubDispatcher.java:43-49 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metrics/dubbo-metrics-metadata/src/main/java/org/apache/dubbo/metrics/metadata/event/MetadataSubDispatcher.java:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-metadata/src/main/java/org/apache/dubbo/metrics/metadata/event/MetadataSubDispatcher.java"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d6d3906008315cf98c5b26a8b0af376ccaa851db45f6fdd6e160fb97749deab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:94-100 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:91-97 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:94\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed12a1a590f53a50b6e91c5d1b8e66cbfe513cd1e3fc03281e07a7937b01a043"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:260-266 | dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidatorNew.java:253-259 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java:260\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17fa6e62fced652cf4c9562ed0f906beef092296277fcf44aa21a4ada04642f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/BaseOffline.java:76-82 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/BaseOnline.java:61-67 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/BaseOffline.java:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/BaseOffline.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b82cb18834321998fd4d4b7d199a413170e9b8f154d454af311bf78a209f37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:165-171 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:213-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/GetAddress.java"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"83921ed5cf1ca2f26e3deea69124afdb42ae94f5593a7c75b54a85d3d454ba11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/LogTelnetHandler.java:46-52 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/telnet/support/command/LogTelnetHandler.java:46-52 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/LogTelnetHandler.java:46\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/legacy/LogTelnetHandler.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83e543334e224e489e3af32b19f3748511765cb77759108924573d1f0ba9d64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java:365-371 | dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/transport/AbstractEndpoint.java:52-58 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java:365\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyChannel.java"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0025ff79d6a65d45a2d349bd8ff1ebb95833003793b981abf80cb83165f1f3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:158-164 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyServer.java:227-233 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:158\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d0f1a07851885b8fc8e966a09cfda949476ad3b000a4d1007bdc20f409abdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java:91-97 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyServer.java:72-78 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"de25002eccbd44916ed1c5371256a7271d4c364b050153290078f79f32ef4881"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java:103-109 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyServer.java:84-90 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"137ea1865a640a8c9f0ed0ae9730a208272ab1761d42089c0f190f2016e74816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): dubbo-compatible/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java:103-109 | dubbo-compatible/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java:118-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-compatible/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java:103\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-compatible/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0abd7377d5aa5d5c67910009e7191bfdc038dab7ca0408eda02474bbd4ad3e2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:289-295 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:527-532 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:555-560 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:606-611 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:289\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b02ec65525c5ec00003cc1498a335dc1f5e6c1760cb4af6b2bc782939e60537a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/aot/NacosReflectionTypeDescriberRegistrar.java:186-191 | dubbo-registry/dubbo-registry-zookeeper/src/main/java/org/apache/dubbo/registry/zookeeper/aot/ZookeeperReflectionTypeDescriberRegistrar.java:40-45 | dubbo-serialization/dubbo-serialization-hessian2/src/main/java/org/apache/dubbo/common/serialize/hessian2/aot/HessianReflectionTypeDescriberRegistrar.java:68-73 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/aot/NacosReflectionTypeDescriberRegistrar.java"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f422f0b684231f431b145fd6f3fbed08080171c6157c91413ca4d71d2152c0e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:435-440 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:480-485 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:575-580 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:435\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"55e653985143606e839991d043559226095913893fd00652a779c77b4a53ce43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): dubbo-common/src/main/java/org/apache/dubbo/common/Version.java:88-93 | dubbo-common/src/main/java/org/apache/dubbo/common/Version.java:316-321 | dubbo-common/src/main/java/org/apache/dubbo/common/Version.java:353-358 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/Version.java:88\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/Version.java"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e585299c0c1b80192cbf8604619b88ae03e074ff1bb34c1738a47520b53a1b01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:497-502 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:556-561 | dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:607-612 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java:497\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/schema/DubboBeanDefinitionParser.java"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"885ad295abd69b66b024b381b805dc9dc5be446cf2cc95f0ced789ff184ec9f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:233-238 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:504-512 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java:233\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/migration/MigrationInvoker.java"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ccffed5947d9502579614c5def5203b471004765500577c37ece58cee03583"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java:433-438 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java:456-461 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java:433\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/InstanceAddressURL.java"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"3212221098e9926e990fc50a6df142bbfc105a75c71d826f43b8c322b3ce86bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:493-498 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/FailbackRegistry.java:467-472 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:493\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"66f3e2b37e59d100e599a51db68335a05666289e4771b14e6b0759492f8e540e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/DefaultFilterChainBuilder.java:51-56 | dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/DefaultFilterChainBuilder.java:91-96 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/DefaultFilterChainBuilder.java:51\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/filter/DefaultFilterChainBuilder.java"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1cfb89084897f42959af8630d6772095bf57ab7ee29e9d57315f4014cd7eaaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/support/RpcUtils.java:59-64 | dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/support/RpcUtils.java:78-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/support/RpcUtils.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/support/RpcUtils.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b7c685668cb396d3faccaaedb0f63b75ee806ee290647f790a4637c4b33b94f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:805-810 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/util/TypeUtils.java:307-312 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java:805\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"43b6816d61e5a65286eb00200efac12dad03a815789e5be1b983fc0b7a7e6fc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/CompositeExceptionHandler.java:93-98 | dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/CompositeExceptionHandler.java:124-129 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/CompositeExceptionHandler.java:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/h12/CompositeExceptionHandler.java"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf55488beeed68935179006514f0b53863ff4455e2c7a7fc57a9c8e4a737083"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java:229-234 | dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java:240-245 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java:229\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/beanutil/JavaBeanSerializeUtil.java"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"c57c0fb87334e1c3217b9162c9c908d81ec95ed08b8d5acdb4305650bd63633b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java:201-206 | dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java:254-259 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java:201\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/bytecode/ClassGenerator.java"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"cafccf8d25a339d4faa6b6d83aad3d11997f2b6933eec4caa1abc1dc32e0162d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:670-675 | dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:761-766 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java:670\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/io/Bytes.java"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"605b5a38a1ae025c40c3264f8878b3598ffe567c9f741eb545a3ee85813fa5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:285-290 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/logging/MessageFormatter.java:287-292 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java:285\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/helpers/MessageFormatter.java"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba0e3d033b757e4ee0c5f4364dbd23ed023463be2f3b17288ae8f5974de3e9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/profiler/Profiler.java:100-105 | dubbo-common/src/main/java/org/apache/dubbo/common/profiler/Profiler.java:106-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/profiler/Profiler.java:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/profiler/Profiler.java"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9deb4607e3ebc742f5e92401a6a27e8539f0084075d3dc4603a1fc4753e11d9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/status/reporter/FrameworkStatusReportService.java:84-89 | dubbo-common/src/main/java/org/apache/dubbo/common/status/reporter/FrameworkStatusReportService.java:96-101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/status/reporter/FrameworkStatusReportService.java"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0fb65d36bb9fcaa7a6faead08c1d0c8f3fd9cd61e1ddf4b439f2013e8ee6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:139-145 | dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:157-162 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:139\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4179e86c57c287dd892aa2cd2aef27cff2df8189c6f185c24633d18d7a746655"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/MethodUtils.java:76-81 | dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java:358-363 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/MethodUtils.java"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1f07edc10e49630019e6ca47f42a91e1a5b2bc8595087829cb7581762de903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java:397-402 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java:574-579 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java:397\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/NetUtils.java"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e2df61e26e6afab2692a21270fbf31ff61419599e775b0ed1c5dc4b27b3d82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:462-467 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:557-562 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java:462\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/ReflectUtils.java"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c3671058e9cfb78b94b72622af9e5980a7c81a1d6d400931f46b4cf9b13773"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-config/dubbo-config-spring6/src/main/java/org/apache/dubbo/config/spring6/beans/factory/annotation/ReferenceAnnotationWithAotBeanPostProcessor.java:363-368 | dubbo-config/dubbo-config-spring6/src/main/java/org/apache/dubbo/config/spring6/beans/factory/annotation/ReferenceAnnotationWithAotBeanPostProcessor.java:372-377 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-config/dubbo-config-spring6/src/main/java/org/apache/dubbo/config/spring6/beans/factory/annotation/ReferenceAnnotationWithAotBeanPostProcessor.java"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"50ecee5168915f4e634c49db766bc13ac5a729a6e85c08144bd9b68782e1887d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:103-108 | dubbo-configcenter/dubbo-configcenter-nacos/src/main/java/org/apache/dubbo/configcenter/support/nacos/NacosDynamicConfiguration.java:103-108 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java:103\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8ebaf221145f2173000a4e74d594c239159c0452a6ffa261df7b1f43bcd3df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:347-352 | dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:458-463 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java:347\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-mcp/src/main/java/org/apache/dubbo/mcp/transport/DubboMcpStreamableTransportProvider.java"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ed38beddbbeb0f5937e48bd58fe7e4567e8286d53446a9a38b02c725445a6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/SlidingWindow.java:238-243 | dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/SlidingWindow.java:272-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/SlidingWindow.java:238\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/aggregate/SlidingWindow.java"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2511475906a35ee50c990613c5e0d56afe13eab1dfc346a1c83f33e5e3d776a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:125-130 | dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:171-176 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java:125\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/data/RtStatComposite.java"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dce13aeb5c5eba4363e29c18e28b50c4df6c4d9cd77785961c6fb44662ee6a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-metrics/dubbo-tracing/src/main/java/org/apache/dubbo/tracing/exporter/otlp/OTlpSpanExporter.java:46-51 | dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/otlp/OtlpAutoConfiguration.java:57-62 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-metrics/dubbo-tracing/src/main/java/org/apache/dubbo/tracing/exporter/otlp/OTlpSpanExporter.java:46\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-tracing/src/main/java/org/apache/dubbo/tracing/exporter/otlp/OTlpSpanExporter.java"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ad8e1673b10e878a3b53697d2f0c6401c7128e66e5962deb6f799635a3e823"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/AbstractServerHttpChannelObserver.java:193-198 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/AbstractServerHttpChannelObserver.java:354-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/AbstractServerHttpChannelObserver.java:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/AbstractServerHttpChannelObserver.java"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb287e9fadbc32e6d6145e05dfd52f485ebc6b74cf3bb718d16b0ac8a7399614"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/aot/TripleReflectionTypeDescriberRegistrar.java:64-68 | dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/aot/MetadataReflectionTypeDescriberRegistrar.java:45-49 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/aot/QosReflectionTypeDescriberRegistrar.java:45-49 | dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/aot/Netty4ReflectionTypeDescriberRegistrar.java:53-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/aot/TripleReflectionTypeDescriberRegistrar.java:64\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/aot/TripleReflectionTypeDescriberRegistrar.java"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d63b29648e425f055af87d74896f3c701c7e525ba8e164d8305d51e85359a8e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/aot/TripleReflectionTypeDescriberRegistrar.java:71-75 | dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/aot/MetadataReflectionTypeDescriberRegistrar.java:52-56 | dubbo-metrics/dubbo-metrics-default/src/main/java/org/apache/dubbo/metrics/aot/DefaultMetricsReflectionTypeDescriberRegistrar.java:39-43 | dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/aot/Curator5ZookeeperReflectionTypeDescriberRegistrar.java:50-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/aot/TripleReflectionTypeDescriberRegistrar.java:71\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/aot/TripleReflectionTypeDescriberRegistrar.java"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"26cb221f9abb5e6dab2d669bbb3629deb3e36095006c2e818de261b2ce8282b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/aot/NacosReflectionTypeDescriberRegistrar.java:215-219 | dubbo-serialization/dubbo-serialization-hessian2/src/main/java/org/apache/dubbo/common/serialize/hessian2/aot/HessianReflectionTypeDescriberRegistrar.java:77-81 | dubbo-remoting/dubbo-remoting-zookeeper-curator5/src/main/java/org/apache/dubbo/remoting/zookeeper/curator5/aot/Curator5ZookeeperReflectionTypeDescriberRegistrar.java:42-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-nacos/src/main/java/org/apache/dubbo/registry/nacos/aot/NacosReflectionTypeDescriberRegistrar.java"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd38d7e0044016b569e96f073b53a8ea4a351954cb41f9412b7de629820a7d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:477-481 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:500-504 | dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:546-550 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java:477\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-http12/src/main/java/org/apache/dubbo/remoting/http12/message/DefaultHttpRequest.java"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd84c1a1e061926bde76ea9f8075cbe969c591ed395d15c9ede2c2200baf04b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/OverrideInstanceAddressURL.java:169-173 | dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/OverrideInstanceAddressURL.java:179-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/OverrideInstanceAddressURL.java:169\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/client/OverrideInstanceAddressURL.java"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a6c6656ffd35ca1f8cf565a9f70acf97307ba2db460d0f3920f8e8e1b49df4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:141-145 | dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/report/support/AbstractMetadataReport.java:127-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java:141\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/support/AbstractRegistry.java"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"4baaac647a9abde13f41fde5d9d3a874f0224618c5261972599f74d05a8e9b92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java:69-73 | dubbo-plugin/dubbo-rest-spring/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/spring/BeanArgumentBinder.java:90-94 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/basic/BeanArgumentBinder.java"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd01800aa5d66dbe8d8c5ba7ba016c4d0ec0c1242f535f9467c862751f6d9cb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/RedocRequestHandler.java:97-101 | dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/SwaggerUIRequestHandler.java:126-130 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/RedocRequestHandler.java:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-rest-openapi/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/support/swagger/RedocRequestHandler.java"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a332d3ce7d14f9b01698748b6ded6f537e4f9434d71fbb5b1d100a68d7bcdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/TokenFilter.java:43-47 | dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/TokenHeaderFilter.java:35-39 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/TokenFilter.java:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-api/src/main/java/org/apache/dubbo/rpc/filter/TokenFilter.java"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41d0330a69480cb6febc67bae898a4005a42edad74fcc8bbdb34a3f4df812f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java:258-262 | dubbo-common/src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java:284-288 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/logger/LoggerFactory.java"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecbf869f3f10d2e37b024018b79adf4f62dccfb8440371e23276771a0614a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/cached/CachedThreadPool.java:52-56 | dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/eager/EagerThreadPool.java:46-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/threadpool/support/cached/CachedThreadPool.java"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1cc17bdaec508edf6786e687adba820fc42945a306ef9bd2c08b79b17a1178"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/url/component/PathURLAddress.java:131-135 | dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLAddress.java:138-142 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/PathURLAddress.java"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dada3d0664d5c394dcd00775b6d632cf8d2962aeec65e74fae7fa9f2827daff4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:393-397 | dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:410-414 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java:393\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/url/component/URLParam.java"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0b2e55059ed44b1d307b3b6e2e952b574cc98c8741e50ef1f50b378ebaabb17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/LogUtil.java:59-63 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/LogUtil.java:107-111 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/LogUtil.java:59\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/LogUtil.java"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ec394214e675dc45b856f0826f072cb8a9e9660c56a0c57f03739b542da698"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java:113-118 | dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java:126-130 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/PojoUtils.java"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5073a546ecc7330737c1a44730f16f51b9846e4f5f78f5189a6595b53880a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-plugin/dubbo-auth/src/main/java/org/apache/dubbo/auth/BasicAuthenticator.java:32-36 | dubbo-plugin/dubbo-auth/src/main/java/org/apache/dubbo/auth/BasicAuthenticator.java:43-47 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-auth/src/main/java/org/apache/dubbo/auth/BasicAuthenticator.java"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"493ab37fb1c04de3306c85c5f65a7040224f9f642770e07964bdeaea5d4d42c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-plugin/dubbo-native/src/main/java/org/apache/dubbo/aot/generate/ReflectConfigMetadataRepository.java:74-78 | dubbo-plugin/dubbo-native/src/main/java/org/apache/dubbo/aot/generate/ReflectConfigMetadataRepository.java:91-95 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-native/src/main/java/org/apache/dubbo/aot/generate/ReflectConfigMetadataRepository.java"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bba17897ad79ccf8532f9e8d6d4c79c130362896d927f75a6b1b4faba415e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:138-143 | dubbo-remoting/dubbo-remoting-netty/src/main/java/org/apache/dubbo/remoting/transport/netty/NettyPortUnificationServer.java:121-125 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java:138\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyPortUnificationServer.java"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7f16668540c0710cc8620ce6d9e2c2730711292d2223bcb0837560f171975e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Live.java:42-67 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Ready.java:42-68 | dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Startup.java:43-69 \u2014 the copies sit in sibling files of one directory: extract the block into a single shared function in that directory and call it from each site, so a change lands once. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-qos/src/main/java/org/apache/dubbo/qos/command/impl/Live.java"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"becf410b24a809080ad32e21ff8d779addf4a4615741bff5b66a09078859c392"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java: dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java changed 2 times in last 90 days, max complexity 17. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, cover the area it touches with tests, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/utils/StringUtils.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71531302003122c8f99650ae0d0fdc36ee1cb149e5b3b6c4fce995a69738b350"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/transport/TripleHttp2LocalFlowController.java, dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/transport/TripleHttp2RemoteFlowController.java, dubbo-common/src/main/java/org/apache/dubbo/rpc/model/PackableMethod.java, dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/command/InitOnReadyQueueCommand.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2888c10d958fada6bc0758d8277436d940f577fff31f178313c43151870a89bd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 4 significant file(s) lose their only recent owner: dubbo-metadata/dubbo-metadata-report-nacos/src/main/java/org/apache/dubbo/metadata/store/nacos/NacosMetadataReport.java, dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidator.java, dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/reference/ReferenceBeanManager.java, dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/http2/Http2ClientSettingsHandler.java. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6830e26daad2afa3ea9ffb053e486334e19afb81af68a09ff0edf7fd60d49eaa"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 9 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (20 single-owned of 1288 analysed files in total, counted over production source files of roughly 100 lines or more, excluding tests, vendored, generated and example/demo trees, largest first). They are anonymized user #3 (2 file(s)), anonymized user #4 (2 file(s)), anonymized user #5 (2 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)), anonymized user #8 (1 file(s)) (\u002B3 more) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18b19f247152b5c87af5bf97aaa161568436f75019f31efd50a5da36ae6eea4e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba17b2d1d339dcbcae446770650bb0ebb8f808795c1cb97ea72386b2e6782ed8"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"14a06fefeb1893bf42700abe274c2c7526191b3096ce3a9e1ad46f12a90636ad"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"75c644dfd4aa169f05fb71f369d0a2f6ee9790aa60e04531306abaf400d66d15"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bce48ac27544bf581167a4618dd75a9db5457b63c2a901aabe905e2325458b23"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"535a62eec7ac371c48203cf1127de889cbcbdfc0283d36facfdcd013febf1100"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5cf588c6d5d4730e30c4340ce4f90600a32f1f1fd1358c78a5d9b00b6a8dd47a"},"taxa":[{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e1faba0eb2b1371e2c419937d0cf84d90c56c026769a13baa6f3ba1047153a2"},"taxa":[{"id":"CWE-328","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5a137bd73451d5c7e17aaba15e5e1e064991a611875cda5431aa85a01ff8db2"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"da809be82ef399fe75706bf72eb8788cfa16856e04c63e9e3e9dcccc4dc81b7a"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e344765e251ffcd2e1a0e483d405c9b1db14e6cbc024d8e454857d414d3a834"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"138b710f3b74053fb84d04ed6257c5fa82fbd4bf68ab48b4f9b03fddd2135869"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b9ac270f401ed67c8b14edad4792c63ccaaab921f2e2f04d1637f02ddfdbc7c9"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4bbefcd8761973f879c2bff28ffd4d7fe9fca3e54476fe0dc14dd6423bd86e3"}},{"ruleId":"D32","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"99945d27aa881efc58418478dbc4c33caa5173e3343ee7456fe7d8d42e31f6dd"}},{"ruleId":"D34","level":"note","message":{"text":"Concentrated knowledge decay: 1183 of 1297 significant files have no living knowledge, while the repository is still being changed at a low rate (47 commit(s) in the last 90 days) \u2014 so this is one repo-wide knowledge-decay state, not 1183 separate risks. The code moved on without the people who understood these files: document them or schedule a read-through before the next change lands in them."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"008bd8d3156a7f5206da709f59f1f87af76671c6b9becea72c8c9cffbcbd4f8e"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/URL.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1f3c909acfb808ee69f15ab8dca95ce62a5dbbdcc55a66c7d3f04b6c5254538"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/rest/argument/GeneralTypeConverter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"934b82485bd9c27fb2de3a4801d036e14b3e5e36aac576d4069ad0b5349ab585"}},{"ruleId":"D34","level":"note","message":{"text":"Largest orphaned file: One of the largest files with no living knowledge remaining \u2014 a reasonable place to start a read-through before the aggregate risk above bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/config/AbstractConfig.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37548df1413b4f09459a01bfb7cde8ad2109b5124501b1d796bada45949e380"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: MetricsConstants.java \u2194 MetricsKey.java: \u0060dubbo-common/src/main/java/org/apache/dubbo/common/constants/MetricsConstants.java\u0060 (context dubbo-common) and \u0060dubbo-metrics/dubbo-metrics-event/src/main/java/org/apache/dubbo/metrics/model/key/MetricsKey.java\u0060 (context dubbo-metrics) sit in DIFFERENT parts of the tree yet change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-common/src/main/java/org/apache/dubbo/common/constants/MetricsConstants.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"981d2d2a2340d622ef8f93296ec057b73df26f794fbe5e93f3d1bc4047311e30"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DubboMicrometerTracingAutoConfiguration.java \u2194 ObservationHandlerGrouping.java: \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/DubboMicrometerTracingAutoConfiguration.java\u0060 and \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/ObservationHandlerGrouping.java\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/DubboMicrometerTracingAutoConfiguration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c274d2d138989be84228bf6933184421536646c7abf3900c96233a75b99da58b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MetricsCategory.java \u2194 MetricsKey.java: \u0060dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/model/MetricsCategory.java\u0060 and \u0060dubbo-metrics/dubbo-metrics-event/src/main/java/org/apache/dubbo/metrics/model/key/MetricsKey.java\u0060 change together 64% of the time (7 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-metrics/dubbo-metrics-api/src/main/java/org/apache/dubbo/metrics/model/MetricsCategory.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e34f850dce649fd32df89c875263b2d7dbf34afaa53e3a19763b98b74941a96a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ObservationHandlerGrouping.java \u2194 ConditionalOnDubboTracingEnable.java: \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/ObservationHandlerGrouping.java\u0060 and \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/annotation/ConditionalOnDubboTracingEnable.java\u0060 change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/ObservationHandlerGrouping.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e8b9638fae43f4ba3b6f378b97a1badedb077ce0d4bc05e99c162fbb1f5507"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: DubboObservationAutoConfiguration.java, BraveAutoConfiguration.java, OpenTelemetryAutoConfiguration.java: 3 files \u2014 \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/DubboObservationAutoConfiguration.java\u0060, \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/brave/BraveAutoConfiguration.java\u0060, \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/otel/OpenTelemetryAutoConfiguration.java\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/DubboObservationAutoConfiguration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba393a144d85364cb44dc1e9b814c129be865b5590cb66207b4858f41a53e623"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ValidationFilter.java \u2194 JValidation.java: \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/filter/ValidationFilter.java\u0060 and \u0060dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/support/jvalidation/JValidation.java\u0060 change together 50% of the time (7 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-plugin/dubbo-filter-validation/src/main/java/org/apache/dubbo/validation/filter/ValidationFilter.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a5b8f78303b895c3235361ec9e7dd993e2f35556623523ea139d8c52e3d481"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DubboMicrometerTracingAutoConfiguration.java \u2194 ZipkinAutoConfiguration.java: \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/DubboMicrometerTracingAutoConfiguration.java\u0060 and \u0060dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/zipkin/ZipkinAutoConfiguration.java\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-spring-boot-project/dubbo-spring-boot-autoconfigure/src/main/java/org/apache/dubbo/spring/boot/autoconfigure/observability/DubboMicrometerTracingAutoConfiguration.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03012103ea5346d9bdd0fc2a6016587d9228afd22cf192abe6e8aaf45e31fe47"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SslClientTlsHandler.java \u2194 SslServerTlsHandler.java: \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/ssl/SslClientTlsHandler.java\u0060 and \u0060dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/ssl/SslServerTlsHandler.java\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/ssl/SslClientTlsHandler.java"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"033f8da8f5c4ba4dd56f66819cc02d3f6d6f6a75815927dec7a340be9d39f387"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"CWE-319","shortDescription":{"text":"CWE-319"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-328","guid":"f0ffc869-97c3-dc5c-8825-be1159f1fc5f","name":"CWE-328","shortDescription":{"text":"CWE-328"},"helpUri":"https://cwe.mitre.org/data/definitions/328.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":18,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}